about summary refs log tree commit diff
path: root/pkgs/applications/networking/instant-messengers/gajim
diff options
context:
space:
mode:
authorMichael Raskin <7c6f434c@mail.ru>2012-09-23 21:39:26 +0400
committerMichael Raskin <7c6f434c@mail.ru>2012-09-23 21:39:26 +0400
commit37418b3f704e9f37a24175f4a3128e15310b414f (patch)
treedf49bc9001a60744adc74ce760694d22305b8293 /pkgs/applications/networking/instant-messengers/gajim
parent04cacaf628f7dc17a123730d63a58e84f24b58d5 (diff)
downloadnixlib-37418b3f704e9f37a24175f4a3128e15310b414f.tar
nixlib-37418b3f704e9f37a24175f4a3128e15310b414f.tar.gz
nixlib-37418b3f704e9f37a24175f4a3128e15310b414f.tar.bz2
nixlib-37418b3f704e9f37a24175f4a3128e15310b414f.tar.lz
nixlib-37418b3f704e9f37a24175f4a3128e15310b414f.tar.xz
nixlib-37418b3f704e9f37a24175f4a3128e15310b414f.tar.zst
nixlib-37418b3f704e9f37a24175f4a3128e15310b414f.zip
Add farstream support to gajim
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/gajim')
-rw-r--r--pkgs/applications/networking/instant-messengers/gajim/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/applications/networking/instant-messengers/gajim/default.nix b/pkgs/applications/networking/instant-messengers/gajim/default.nix
index cfd89874f492..1def7e2b1f01 100644
--- a/pkgs/applications/networking/instant-messengers/gajim/default.nix
+++ b/pkgs/applications/networking/instant-messengers/gajim/default.nix
@@ -8,7 +8,8 @@ let
     pkgconfig makeWrapper libglade pyopenssl libXScrnSaver
     libXt xproto libXext xextproto libX11 gtkspell aspell
     scrnsaverproto pycrypto pythonDBus pythonSexy 
-    docutils pyasn1
+    docutils pyasn1 farstream gst_plugins_bad gstreamer
+    gst_ffmpeg gst_python
   ];
 in
 rec {
@@ -37,6 +38,7 @@ rec {
       sed -e 's^'"$i"'^'"$out/bin-wrapped/$name"'^' -i "$out/bin/$name"
       sed -e "2aexport LD_LIBRARY_PATH=\"\$LD_LIBRARY_PATH\''${LD_LIBRARY_PATH:+:}${a.gtkspell}/lib:${a.gtkspell}/lib64\"" -i "$out/bin/gajim"
       sed -e "2aexport NIX_LDFLAGS=\"\$NIX_LDFLAGS -L${a.gtkspell}/lib -L${a.gtkspell}/lib64\"" -i "$out/bin/gajim"
+      sed -e "2aexport GST_PLUGIN_PATH=\"\$GST_PLUGIN_PATH''${GST_PLUGIN_PATH:+:}$(echo ${a.gst_plugins_bad}/lib/gstreamer-*):$(echo ${a.gst_ffmpeg}/lib/gstreamer-*):$(echo ${a.farstream}/lib/gstreamer-*)\"" -i "$out/bin/gajim"
     done
   '') ["wrapBinContentsPython"];