gnu: totem: Also wrap GI_TYPELIB_PATH.

* gnu/packages/gnome.scm (totem)[wrap-totem]: Add GI_TYPELIB_PATH with a
suffix capturing the build path.
This commit is contained in:
Liliana Marie Prikler 2022-07-08 21:10:08 +02:00
parent e47d0cfbb9
commit 7e0440255f
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87

View file

@ -6209,9 +6209,11 @@ (define-public totem
'install 'wrap-totem
(lambda* (#:key inputs outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out"))
(gi-typelib-path (getenv "GI_TYPELIB_PATH"))
(gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
(grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
(wrap-program (string-append out "/bin/totem")
`("GI_TYPELIB_PATH" ":" suffix (,gi-typelib-path))
`("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
`("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
(wrap-program (string-append out "/bin/totem-video-thumbnailer")