diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2021-12-13 16:29:21 -0500 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2021-12-13 16:29:21 -0500 |
commit | 6dffced09ecda024e0884e352778c221ad066fd6 (patch) | |
tree | 1707e8d8df4d9c47317a39ab6abbfc2ca66a6c29 /gnu/packages/orpheus.scm | |
parent | b603554ed044638dd40b6863d5dada59eefe03b8 (diff) | |
parent | e3196755e60ba7f1ed9d432e73f26a85e0c8893c (diff) | |
download | guix-6dffced09ecda024e0884e352778c221ad066fd6.tar guix-6dffced09ecda024e0884e352778c221ad066fd6.tar.gz |
Merge branch 'core-updates-frozen' into 'master'.
At last!
Diffstat (limited to 'gnu/packages/orpheus.scm')
-rw-r--r-- | gnu/packages/orpheus.scm | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/gnu/packages/orpheus.scm b/gnu/packages/orpheus.scm index d981be279c..7a69d99954 100644 --- a/gnu/packages/orpheus.scm +++ b/gnu/packages/orpheus.scm @@ -45,13 +45,13 @@ (patches (search-patches "orpheus-cast-errors-and-includes.patch")))) (build-system gnu-build-system) (inputs - `(("ncurses" ,ncurses) - ("libvorbis" ,libvorbis) - ("vorbis-tools" ,vorbis-tools) - ("mpg321" ,mpg321) - ;; TODO: add ghttp - ("libxml2" ,libxml2) - ("which" ,which))) + (list ncurses + libvorbis + vorbis-tools + mpg321 + ;; TODO: add ghttp + libxml2 + which)) (arguments `(#:phases (modify-phases %standard-phases @@ -76,12 +76,9 @@ ;; To avoid propagating the mpg321 and vorbis-tools inputs, we can ;; make the orpheus application execute the needed players from the ;; store. - (let ((ogg123 (string-append (assoc-ref inputs "vorbis-tools") - "/bin/ogg123")) - (mpg321 (string-append (assoc-ref inputs "mpg321") - "/bin/mpg321")) - (which (string-append (assoc-ref inputs "which") - "/bin/which"))) + (let ((ogg123 (search-input-file inputs "/bin/ogg123")) + (mpg321 (search-input-file inputs "/bin/mpg321")) + (which (search-input-file inputs "/bin/which"))) (substitute* "src/orpheusconf.cc" (("ogg123") ogg123) (("which") which) |