mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
gnu: extempore: Add rtmidi@4 to package inputs.
Some extempore code (libs/contrib/rtmidi.xtm specifically) depend on rtmidi, this patch adds it to package inputs and hardcodes the soname path. * gnu/packages/music.scm (extempore)[inputs]: Add rtmidi-4.0. [arguments]<hardcode-contrib-lib-paths>: New phase. Change-Id: I16e055a68d48c813fb54dd55f686be102a0850af Signed-off-by: Hilton Chain <hako@ultrarare.space> Modified-by: Hilton Chain <hako@ultrarare.space>
This commit is contained in:
committed by
Hilton Chain
parent
53662cbc59
commit
2113852273
@@ -1209,6 +1209,11 @@ MusePack, Monkey's Audio, and WavPack files.")
|
||||
("gl/glcore-directbind" "libGL.so" "mesa")
|
||||
("gl/glcompat-directbind" "libGL.so" "mesa")))
|
||||
#t))
|
||||
(add-after 'hardcode-external-lib-paths 'hardcode-contrib-lib-paths
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(substitute* "libs/contrib/rtmidi.xtm"
|
||||
(("librtmidic.so")
|
||||
(search-input-file inputs "lib/librtmidi.so")))))
|
||||
(add-after 'unpack 'use-own-llvm
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(setenv "EXT_LLVM_DIR" (assoc-ref inputs "llvm"))
|
||||
@@ -1261,6 +1266,7 @@ MusePack, Monkey's Audio, and WavPack files.")
|
||||
("libffi" ,libffi)
|
||||
("jack" ,jack-1)
|
||||
("libsndfile" ,libsndfile)
|
||||
("rtmidi" ,rtmidi-4.0)
|
||||
("glfw" ,glfw)
|
||||
("apr" ,apr)
|
||||
("stb-image"
|
||||
|
||||
Reference in New Issue
Block a user