clementine: wrap for GST_PLUGINS_PATH

This commit is contained in:
Thomas Tuegel 2015-01-19 11:04:23 -06:00
parent 3fb7fab03f
commit 537008118a

View File

@ -1,7 +1,8 @@
{ stdenv, fetchurl, boost, cmake, gettext, gstreamer, gst_plugins_base { 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 , liblastfm, qt4, taglib, fftw, glew, qjson, sqlite, libgpod, libplist
, usbmuxd, libmtp, gvfs, libcdio, protobuf, libspotify, qca2, pkgconfig , usbmuxd, libmtp, gvfs, libcdio, protobuf, libspotify, qca2, pkgconfig
, sparsehash, config }: , sparsehash, config, makeWrapper }:
let withSpotify = config.clementine.spotify or false; let withSpotify = config.clementine.spotify or false;
in in
@ -22,6 +23,9 @@ stdenv.mkDerivation {
gettext gettext
glew glew
gst_plugins_base gst_plugins_base
gst_plugins_good
gst_plugins_ugly
gst_ffmpeg
gstreamer gstreamer
gvfs gvfs
libcdio libcdio
@ -29,6 +33,7 @@ stdenv.mkDerivation {
liblastfm liblastfm
libmtp libmtp
libplist libplist
makeWrapper
pkgconfig pkgconfig
protobuf protobuf
qca2 qca2
@ -42,6 +47,11 @@ stdenv.mkDerivation {
enableParallelBuilding = true; enableParallelBuilding = true;
postInstall = ''
wrapProgram $out/bin/clementine \
--set GST_PLUGIN_SYSTEM_PATH "$GST_PLUGIN_SYSTEM_PATH"
'';
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = "http://www.clementine-player.org"; homepage = "http://www.clementine-player.org";
description = "A multiplatform music player"; description = "A multiplatform music player";