[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
54/66: gnu: ardour: Add library dirs to RUNPATH.
From: |
Manolis Fragkiskos Ragkousis |
Subject: |
54/66: gnu: ardour: Add library dirs to RUNPATH. |
Date: |
Thu, 21 May 2015 12:52:08 +0000 |
phant0mas pushed a commit to branch wip-hurd
in repository guix.
commit fd1b0b74d75d087ae92cfb45f6a746153e22aae5
Author: Ricardo Wurmus <address@hidden>
Date: Tue May 5 06:24:41 2015 +0200
gnu: ardour: Add library dirs to RUNPATH.
* gnu/packages/audio.scm (ardour)[arguments]: Add a build phase to add all
library output directories to the rpath using linker flags.
---
gnu/packages/audio.scm | 24 +++++++++++++++++++++++-
1 files changed, 23 insertions(+), 1 deletions(-)
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 6cba704..af7533b 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -151,7 +151,29 @@ namespace ARDOUR { const char* revision =
\"3.5-403-gec2cb31\" ; }"))))
(file-name (string-append name "-" version))))
(build-system waf-build-system)
(arguments
- `(#:tests? #f ; no check target
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after
+ 'unpack 'set-rpath-in-LDFLAGS
+ (lambda _
+ (substitute* "wscript"
+ (("linker_flags = \\[\\]")
+ (string-append "linker_flags = [\""
+ "-Wl,-rpath="
+ (assoc-ref %outputs "out")
+ "/lib/ardour3/" ":"
+ (assoc-ref %outputs "out")
+ "/lib/ardour3/backends" ":"
+ (assoc-ref %outputs "out")
+ "/lib/ardour3/engines" ":"
+ (assoc-ref %outputs "out")
+ "/lib/ardour3/panners" ":"
+ (assoc-ref %outputs "out")
+ "/lib/ardour3/surfaces" ":"
+ (assoc-ref %outputs "out")
+ "/lib/ardour3/vamp" "\"]")))
+ #t)))
+ #:tests? #f ; no check target
#:python ,python-2))
(inputs
`(("alsa-lib" ,alsa-lib)
- 41/66: guix: build: Fix indentation for --sources in help output., (continued)
- 41/66: guix: build: Fix indentation for --sources in help output., Manolis Fragkiskos Ragkousis, 2015/05/21
- 46/66: search-paths: Add 'evaluate-search-paths', from (guix scripts package)., Manolis Fragkiskos Ragkousis, 2015/05/21
- 45/66: Move search path specifications to (guix search-paths)., Manolis Fragkiskos Ragkousis, 2015/05/21
- 51/66: gnu: Add soil., Manolis Fragkiskos Ragkousis, 2015/05/21
- 50/66: records: Make 'make-syntactic-constructor' available at load/eval/expand., Manolis Fragkiskos Ragkousis, 2015/05/21
- 56/66: gnu: vcftools: Remove "-m64" from CFLAGS., Manolis Fragkiskos Ragkousis, 2015/05/21
- 53/66: gnu: Add bluez., Manolis Fragkiskos Ragkousis, 2015/05/21
- 55/66: gnu: fltk: Fix undefined symbol errors for shared libraries., Manolis Fragkiskos Ragkousis, 2015/05/21
- 60/66: gnu: bootstrap: Add the location of where ld.so is located on Hurd systems., Manolis Fragkiskos Ragkousis, 2015/05/21
- 61/66: gnu: cross-base: Make it aware of non-Linux (ie. Hurd) systems., Manolis Fragkiskos Ragkousis, 2015/05/21
- 54/66: gnu: ardour: Add library dirs to RUNPATH.,
Manolis Fragkiskos Ragkousis <=
- 57/66: environment: Use (guix search-paths)., Manolis Fragkiskos Ragkousis, 2015/05/21
- 64/66: gnu: hurd: Pass --build to gnumach-headers when not cross building., Manolis Fragkiskos Ragkousis, 2015/05/21
- 63/66: gnu: acl: Fix i686-gnu build., Manolis Fragkiskos Ragkousis, 2015/05/21
- 65/66: gnu: hurd: Pass --build to hurd-headers when not cross building., Manolis Fragkiskos Ragkousis, 2015/05/21
- 62/66: gnu: gcc: Also substitute the dynamic linker name for GNU (ie. Hurd) systems., Manolis Fragkiskos Ragkousis, 2015/05/21
- 58/66: gnu: base: Add glibc-hurd and hurd-minimal., Manolis Fragkiskos Ragkousis, 2015/05/21
- 52/66: gnu: Add libical., Manolis Fragkiskos Ragkousis, 2015/05/21
- 59/66: gnu: cross-base: Add support to cross-build libc for GNU/Hurd., Manolis Fragkiskos Ragkousis, 2015/05/21
- 66/66: gnu: hurd: Add flex as an input to mig., Manolis Fragkiskos Ragkousis, 2015/05/21