summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorRaghav Gururajan <raghavgururajan@disroot.org>2020-08-27 21:22:50 -0400
committerDanny Milosavljevic <dannym@scratchpost.org>2020-08-29 09:14:20 +0200
commit1a1c0904b849d13535acce6f841b48081e31a4e9 (patch)
tree64c7ab5ea54d1d49ccb65bfbc8a41f4d2f8f8f3f /gnu
parent38cc76824d99a641e0759105554adf3c7e443499 (diff)
downloadguix-1a1c0904b849d13535acce6f841b48081e31a4e9.tar.gz
gnu: rygel: Fix launching of the application and loading of gstreamer-plugins.
* gnu/packages/gnome.scm (rygel) [inputs]: Add gsettings-desktop-schemas.
[arguments]<#:phases>['wrap-rygel]: New phase.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/gnome.scm9
1 files changed, 8 insertions, 1 deletions
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index fcd023c25c..fdbfd01fea 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -1810,7 +1810,13 @@ preview files on the GNOME desktop.")
                (rename-file
                 (string-append out "/share/gtk-doc")
                 (string-append doc "/share/gtk-doc"))
-               #t))))))
+               #t)))
+         (add-after 'move-help 'wrap-rygel
+           (lambda* (#:key inputs outputs #:allow-other-keys)
+             (let* ((out (assoc-ref outputs "out")))
+               (wrap-program (string-append out "/bin/rygel")
+                 `("GST_PLUGIN_SYSTEM_PATH" = (,(getenv "GST_PLUGIN_SYSTEM_PATH")))))
+             #t)))))
     (native-inputs
      `(("docbook-xml" ,docbook-xml)
        ("docbook-xml-4.3" ,docbook-xml-4.3)
@@ -1825,6 +1831,7 @@ preview files on the GNOME desktop.")
        ("xsltproc" ,libxslt)))
     (inputs
      `(("gdk-pixbuf" ,gdk-pixbuf+svg)
+       ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
        ("gssdp" ,gssdp)
        ("gst-libav" ,gst-libav)
        ("gst-plugins-bad" ,gst-plugins-bad)