summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim@guixotic.coop>2026-03-28 22:12:25 +0900
committerMaxim Cournoyer <maxim@guixotic.coop>2026-03-29 00:34:29 +0900
commite4d9dfa643abf5f17082815616f18662eebb6159 (patch)
tree69c012a582cc7fa09dbad1c0548ecd278c7ba323
parent5deb680587313e5f2e3589cc1fd77b24cf9e9024 (diff)
gnu: showtime: Harden wrapper a bit.
* gnu/packages/gnome.scm (showtime) [#:phases] {gi-wrap}: Wrap libgstgtk4.so first in GST_PLUGIN_SYSTEM_PATH. [inputs]: Add gst-plugins-base and gst-plugins-good. Remove gst-plugins-rs. Change-Id: I190456ca08f3cdfd3128c1823364a646a67fd0cd
-rw-r--r--gnu/packages/gnome.scm17
1 files changed, 14 insertions, 3 deletions
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index f596875332b..de3846c571e 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -6543,12 +6543,22 @@ discovery protocols.")
6543 (add-after 'add-install-to-pythonpath 'wrap-python 6543 (add-after 'add-install-to-pythonpath 'wrap-python
6544 (assoc-ref py:%standard-phases 'wrap)) 6544 (assoc-ref py:%standard-phases 'wrap))
6545 (add-after 'wrap-python 'gi-wrap 6545 (add-after 'wrap-python 'gi-wrap
6546 (lambda _ 6546 (lambda* (#:key inputs #:allow-other-keys)
6547 (wrap-program (string-append #$output "/bin/showtime") 6547 (wrap-program (string-append #$output "/bin/showtime")
6548 `("GI_TYPELIB_PATH" prefix 6548 `("GI_TYPELIB_PATH" prefix
6549 (,(getenv "GI_TYPELIB_PATH"))) 6549 (,(getenv "GI_TYPELIB_PATH")))
6550 `("GST_PLUGIN_SYSTEM_PATH" prefix 6550 `("GST_PLUGIN_SYSTEM_PATH" prefix
6551 (,(getenv "GST_PLUGIN_SYSTEM_PATH"))))))))) 6551 ,(map (lambda (x)
6552 (dirname (search-input-file
6553 inputs
6554 (string-append "lib/gstreamer-1.0/" x))))
6555 ;; libgstgtk4.so appears to be sensitive to ordering;
6556 ;; ensure it comes first in the plugin path.
6557 (list "libgstgtk4.so" ;gst-plugins-rs:video
6558 "libgstopengl.so" ;gst-plugins-base
6559 "libgstmatroska.so" ;gst-plugins-good
6560 "libgstmpegpsdemux.so"))))))))) ;gst-plugins-bad
6561
6552 (native-inputs 6562 (native-inputs
6553 (list blueprint-compiler 6563 (list blueprint-compiler
6554 desktop-file-utils 6564 desktop-file-utils
@@ -6559,8 +6569,9 @@ discovery protocols.")
6559 (inputs 6569 (inputs
6560 (list bash-minimal 6570 (list bash-minimal
6561 gstreamer 6571 gstreamer
6572 gst-plugins-base
6562 gst-plugins-bad ;for GstPlay 6573 gst-plugins-bad ;for GstPlay
6563 gst-plugins-rs 6574 gst-plugins-good
6564 `(,gst-plugins-rs "video") 6575 `(,gst-plugins-rs "video")
6565 gobject-introspection ;for cairo-1.0.typelib 6576 gobject-introspection ;for cairo-1.0.typelib
6566 gtk 6577 gtk