gnu: quodlibet: Correct wrappers.
* gnu/packages/music.scm (quodlibet)[#:phases]: Rename ‘wrap-gi-typelib’ to ‘wrap-extra-paths’. Use ‘=’ for GI_TYPELIB_PATH. Add ‘GST_PLUGIN_SYSTEM_PATH’ with suffix binding.
parent
fed51b2614
commit
df43e8d45c
|
@ -6919,14 +6919,17 @@ streaming audio server.")
|
||||||
(format #t "test suite not run~%"))))
|
(format #t "test suite not run~%"))))
|
||||||
(add-after 'install 'glib-or-gtk-wrap ; ensure icons loaded
|
(add-after 'install 'glib-or-gtk-wrap ; ensure icons loaded
|
||||||
(assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap))
|
(assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap))
|
||||||
(add-after 'install 'wrap-gi-typelib ; GObject Introspection
|
(add-after 'install 'wrap-extra-paths
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let ((out (assoc-ref outputs "out"))
|
(let ((out (assoc-ref outputs "out"))
|
||||||
(gi-typelib-path (getenv "GI_TYPELIB_PATH")))
|
(gi-typelib-path (getenv "GI_TYPELIB_PATH"))
|
||||||
(for-each (lambda (prog)
|
(gst-plugins-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
|
||||||
(wrap-program (string-append out "/bin/" prog)
|
(for-each
|
||||||
`("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
|
(lambda (prog)
|
||||||
'("exfalso" "quodlibet"))))))))
|
(wrap-program (string-append out "/bin/" prog)
|
||||||
|
`("GI_TYPELIB_PATH" ":" = (,gi-typelib-path))
|
||||||
|
`("GST_PLUGIN_SYSTEM_PATH" ":" suffix (,gst-plugins-path))))
|
||||||
|
'("exfalso" "quodlibet"))))))))
|
||||||
(native-inputs (list xvfb-run gettext-minimal))
|
(native-inputs (list xvfb-run gettext-minimal))
|
||||||
(inputs
|
(inputs
|
||||||
(list adwaita-icon-theme
|
(list adwaita-icon-theme
|
||||||
|
|
Reference in New Issue