From: Florian Paul Schmidt <florian_paul.schmidt@uni-bielefeld.de>
To: 38022@debbugs.gnu.org
Subject: [bug#38022] v2 - [Patch] gnu: lilv: Enable python bindings.
Date: Fri, 1 Nov 2019 14:44:18 +0100 [thread overview]
Message-ID: <20191101144418.5c05b942@uni-bielefeld.de> (raw)
[-- Attachment #1: Type: text/plain, Size: 99 bytes --]
Hi,
do please include me in replies since I'm not subscribed to
guix-patches..
Kind regards,
FPS
[-- Attachment #2: 0001-gnu-lilv-Enable-python-bindings.patch --]
[-- Type: text/x-patch, Size: 2146 bytes --]
From 096a799b91fa6db12caaf7ad433852daf3ca6529 Mon Sep 17 00:00:00 2001
From: FPS <mista.tapas@gmx.net>
Date: Fri, 1 Nov 2019 14:35:49 +0100
Subject: [PATCH] gnu: lilv: Enable python bindings.
---
gnu/packages/audio.scm | 17 ++++++++++++++---
1 file changed, 14 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 88b5696a9b..c7b88d9ecf 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -1825,6 +1825,7 @@ included are the command line utilities @code{send_osc} and @code{dump_osc}.")
(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,16 @@ included are the command line utilities @code{send_osc} and @code{dump_osc}.")
(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 +1851,9 @@ included are the command line utilities @code{send_osc} and @code{dump_osc}.")
("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
--
2.22.0
next reply other threads:[~2019-11-01 14:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-01 13:44 Florian Paul Schmidt [this message]
2019-11-03 16:58 ` bug#38022: v2 - [Patch] gnu: lilv: Enable python bindings Marius Bakke
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191101144418.5c05b942@uni-bielefeld.de \
--to=florian_paul.schmidt@uni-bielefeld.de \
--cc=38022@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).