forked from mirrors/nixpkgs
clementine: each output should hav a wrapped GST_PLUGIN_SYSTEM_PATH_1_0
see ef5e212d20 (r28723596)
/cc @jtojnar
This commit is contained in:
parent
f54a9994e3
commit
a4ba8c6544
|
@ -70,7 +70,9 @@ let
|
||||||
|
|
||||||
free = stdenv.mkDerivation {
|
free = stdenv.mkDerivation {
|
||||||
name = "clementine-free-${version}";
|
name = "clementine-free-${version}";
|
||||||
inherit src patches nativeBuildInputs buildInputs postPatch;
|
inherit src patches nativeBuildInputs postPatch;
|
||||||
|
|
||||||
|
buildInputs = buildInputs ++ [ makeWrapper ];
|
||||||
|
|
||||||
cmakeFlags = [ "-DUSE_SYSTEM_PROJECTM=ON" ];
|
cmakeFlags = [ "-DUSE_SYSTEM_PROJECTM=ON" ];
|
||||||
|
|
||||||
|
@ -78,6 +80,11 @@ let
|
||||||
|
|
||||||
passthru.unfree = unfree;
|
passthru.unfree = unfree;
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
wrapProgram $out/bin/clementine \
|
||||||
|
--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0"
|
||||||
|
'';
|
||||||
|
|
||||||
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";
|
||||||
|
@ -108,8 +115,7 @@ let
|
||||||
rmdir $out/bin
|
rmdir $out/bin
|
||||||
|
|
||||||
makeWrapper ${free}/bin/clementine $out/bin/clementine \
|
makeWrapper ${free}/bin/clementine $out/bin/clementine \
|
||||||
--set CLEMENTINE_SPOTIFYBLOB $out/libexec/clementine \
|
--set CLEMENTINE_SPOTIFYBLOB $out/libexec/clementine
|
||||||
--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0"
|
|
||||||
|
|
||||||
mkdir -p $out/share
|
mkdir -p $out/share
|
||||||
for dir in applications icons kde4; do
|
for dir in applications icons kde4; do
|
||||||
|
|
Loading…
Reference in a new issue