mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-27 06:42:14 -05:00
gnu: cheese: Wrap GST_PRESET_PATH to find GstVP8Enc.prs.
Before this fix, cheese would complain like so: (cheese:15094): cheese-WARNING **: Can't find vp8enc preset: "Profile Realtime", using alternate preset: "Cheese Realtime". If you see this, make a bug report! If you've run cheese before, make sure to run "rm -rf ~/.local/share/gstreamer-1.0" to make the fix effective. * gnu/packages/gnome.scm (cheese) [phases]: Set the GST_PRESET_PATH environment variable in the wrap phase.
This commit is contained in:
parent
d10c8f5ef1
commit
201fb6c63b
1 changed files with 7 additions and 3 deletions
|
@ -11460,10 +11460,14 @@ (define-public cheese
|
||||||
(substitute* "meson_post_install.py"
|
(substitute* "meson_post_install.py"
|
||||||
(("gtk-update-icon-cache") (which "true")))))
|
(("gtk-update-icon-cache") (which "true")))))
|
||||||
(add-after 'install 'wrap-cheese
|
(add-after 'install 'wrap-cheese
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
(wrap-program (search-input-file outputs "bin/cheese")
|
(wrap-program (search-input-file outputs "bin/cheese")
|
||||||
`("GST_PLUGIN_SYSTEM_PATH" ":" prefix
|
`("GST_PLUGIN_SYSTEM_PATH" prefix
|
||||||
(,(getenv "GST_PLUGIN_SYSTEM_PATH")))))))))
|
(,(getenv "GST_PLUGIN_SYSTEM_PATH")))
|
||||||
|
`("GST_PRESET_PATH" prefix
|
||||||
|
(,(dirname (search-input-file inputs
|
||||||
|
"share/gstreamer-1.0\
|
||||||
|
/presets/GstVP8Enc.prs"))))))))))
|
||||||
(build-system meson-build-system)
|
(build-system meson-build-system)
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list docbook-xml-4.3
|
(list docbook-xml-4.3
|
||||||
|
|
Loading…
Reference in a new issue