mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: lilv: Enable python bindings.
* gnu/packages/audio.scm (lilv)[arguments]: Add #:configure-flags. Add phase to embed full path to liblilv-0.so. [native-inputs]: Add PYTHON. [home-page]: Follow redirect. Signed-off-by: Marius Bakke <mbakke@fastmail.com>
This commit is contained in:
parent
4e6568cedd
commit
6833c7a1b3
1 changed files with 12 additions and 3 deletions
|
@ -1825,6 +1825,7 @@ (define-public lilv
|
|||
(build-system waf-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f ; no check target
|
||||
#:configure-flags (list "--bindings")
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-before
|
||||
|
@ -1833,7 +1834,14 @@ (define-public lilv
|
|||
(setenv "LDFLAGS"
|
||||
(string-append "-Wl,-rpath="
|
||||
(assoc-ref outputs "out") "/lib"))
|
||||
#t)))))
|
||||
#t))
|
||||
(add-after 'unpack 'full-store-path-to-shared-library
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(with-directory-excursion "bindings/python"
|
||||
(substitute* "lilv.py"
|
||||
(("liblilv-0.so") (string-append (assoc-ref outputs "out")
|
||||
"/lib/liblilv-0.so"))))
|
||||
#t)))))
|
||||
;; Required by lilv-0.pc.
|
||||
(propagated-inputs
|
||||
`(("lv2" ,lv2)
|
||||
|
@ -1841,8 +1849,9 @@ (define-public lilv
|
|||
("sord" ,sord)
|
||||
("sratom" ,sratom)))
|
||||
(native-inputs
|
||||
`(("pkg-config" ,pkg-config)))
|
||||
(home-page "https://drobilla.net/software/lilv/")
|
||||
`(("python" ,python)
|
||||
("pkg-config" ,pkg-config)))
|
||||
(home-page "https://drobilla.net/software/lilv")
|
||||
(synopsis "Library to simplify use of LV2 plugins in applications")
|
||||
(description
|
||||
"Lilv is a C library to make the use of LV2 plugins as simple as possible
|
||||
|
|
Loading…
Reference in a new issue