summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2016-03-10 09:16:07 +0100
committerRicardo Wurmus <rekado@elephly.net>2016-03-17 08:25:21 +0100
commit8ba62f92eca276b6a4678540cd86b83ee23cc62d (patch)
tree2be22bd769772a743671108d28409afc46fbd96c /gnu
parented17465d3da60de180173a6788531aaab2379987 (diff)
gnu: Add AMB plugins.
* gnu/packages/audio.scm (amb-plugins): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/audio.scm40
1 files changed, 40 insertions, 0 deletions
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index fdec1ec0e5..441067c52b 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -406,6 +406,46 @@ language and software synthesizer.")
ALSA PCM devices.")
(license license:gpl2+)))
+(define-public amb-plugins
+ (package
+ (name "amb-plugins")
+ (version "0.8.1")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://kokkinizita.linuxaudio.org"
+ "/linuxaudio/downloads/AMB-plugins-"
+ version ".tar.bz2"))
+ (sha256
+ (base32
+ "0x4blm4visjqj0ndqr0cg776v3b7lvplpc8cgi9n51llhavn0jpl"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:tests? #f ; no "check" target
+ #:phases
+ (modify-phases %standard-phases
+ ;; no configure script
+ (delete 'configure)
+ (add-before 'install 'prepare-target-directory
+ (lambda* (#:key outputs #:allow-other-keys)
+ (mkdir-p (string-append (assoc-ref outputs "out") "/lib/ladspa"))
+ #t))
+ (add-after 'unpack 'override-target-directory-and-tool-paths
+ (lambda* (#:key outputs #:allow-other-keys)
+ (substitute* "Makefile"
+ (("/usr/lib/ladspa")
+ (string-append (assoc-ref outputs "out") "/lib/ladspa"))
+ (("/usr/bin/install") (which "install"))
+ (("/bin/rm") "#"))
+ #t)))))
+ (home-page "http://kokkinizita.linuxaudio.org")
+ (synopsis "LADSPA ambisonics plugins")
+ (description
+ "The AMB plugins are a set of LADSPA ambisonics plugins, mainly to be
+used within Ardour. Features include: mono and stereo to B-format panning,
+horizontal rotator, square, hexagon and cube decoders.")
+ (license license:gpl2+)))
+
(define-public mcp-plugins
(package
(name "mcp-plugins")