summary refs log tree commit diff
path: root/pkgs/applications/audio/clementine
diff options
context:
space:
mode:
authorThomas Tuegel <ttuegel@gmail.com>2015-01-19 11:04:23 -0600
committerThomas Tuegel <ttuegel@gmail.com>2015-01-26 20:59:49 -0600
commitd06b75b4212b4d33e385d75575ae6593dea3f02d (patch)
treeedb3adedf79d5d23efc1285c40a1dbb61c0f39ef /pkgs/applications/audio/clementine
parent8fb5401c5b9ad00d8efddabad511beeee646ab09 (diff)
downloadnixpkgs-d06b75b4212b4d33e385d75575ae6593dea3f02d.tar
nixpkgs-d06b75b4212b4d33e385d75575ae6593dea3f02d.tar.gz
nixpkgs-d06b75b4212b4d33e385d75575ae6593dea3f02d.tar.bz2
nixpkgs-d06b75b4212b4d33e385d75575ae6593dea3f02d.tar.lz
nixpkgs-d06b75b4212b4d33e385d75575ae6593dea3f02d.tar.xz
nixpkgs-d06b75b4212b4d33e385d75575ae6593dea3f02d.tar.zst
nixpkgs-d06b75b4212b4d33e385d75575ae6593dea3f02d.zip
clementine: wrap for GST_PLUGINS_PATH
Diffstat (limited to 'pkgs/applications/audio/clementine')
-rw-r--r--pkgs/applications/audio/clementine/default.nix12
1 files changed, 11 insertions, 1 deletions
diff --git a/pkgs/applications/audio/clementine/default.nix b/pkgs/applications/audio/clementine/default.nix
index 604c35f46ce..857aa2edaf5 100644
--- a/pkgs/applications/audio/clementine/default.nix
+++ b/pkgs/applications/audio/clementine/default.nix
@@ -1,7 +1,8 @@
 { stdenv, fetchurl, boost, cmake, gettext, gstreamer, gst_plugins_base
+, gst_plugins_good, gst_plugins_bad, gst_plugins_ugly, gst_ffmpeg
 , liblastfm, qt4, taglib, fftw, glew, qjson, sqlite, libgpod, libplist
 , usbmuxd, libmtp, gvfs, libcdio, protobuf, libspotify, qca2, pkgconfig
-, sparsehash, config }:
+, sparsehash, config, makeWrapper }:
 
 let withSpotify = config.clementine.spotify or false;
 in
@@ -22,6 +23,9 @@ stdenv.mkDerivation {
     gettext
     glew
     gst_plugins_base
+    gst_plugins_good
+    gst_plugins_ugly
+    gst_ffmpeg
     gstreamer
     gvfs
     libcdio
@@ -29,6 +33,7 @@ stdenv.mkDerivation {
     liblastfm
     libmtp
     libplist
+    makeWrapper
     pkgconfig
     protobuf
     qca2
@@ -42,6 +47,11 @@ stdenv.mkDerivation {
 
   enableParallelBuilding = true;
 
+  postInstall = ''
+    wrapProgram $out/bin/clementine \
+      --set GST_PLUGIN_SYSTEM_PATH "$GST_PLUGIN_SYSTEM_PATH"
+  '';
+
   meta = with stdenv.lib; {
     homepage = "http://www.clementine-player.org";
     description = "A multiplatform music player";