Skip to content
This repository has been archived by the owner on Apr 12, 2021. It is now read-only.

Commit

Permalink
clementine: each output should hav a wrapped `GST_PLUGIN_SYSTEM_PATH_…
Browse files Browse the repository at this point in the history
  • Loading branch information
Ma27 committed Apr 24, 2018
1 parent f54a999 commit a4ba8c6
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions pkgs/applications/audio/clementine/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,21 @@ let

free = stdenv.mkDerivation {
name = "clementine-free-${version}";
inherit src patches nativeBuildInputs buildInputs postPatch;
inherit src patches nativeBuildInputs postPatch;

buildInputs = buildInputs ++ [ makeWrapper ];

cmakeFlags = [ "-DUSE_SYSTEM_PROJECTM=ON" ];

enableParallelBuilding = true;

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; {
homepage = http://www.clementine-player.org;
description = "A multiplatform music player";
Expand Down Expand Up @@ -108,8 +115,7 @@ let
rmdir $out/bin
makeWrapper ${free}/bin/clementine $out/bin/clementine \
--set CLEMENTINE_SPOTIFYBLOB $out/libexec/clementine \
--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0"
--set CLEMENTINE_SPOTIFYBLOB $out/libexec/clementine
mkdir -p $out/share
for dir in applications icons kde4; do
Expand Down

0 comments on commit a4ba8c6

Please sign in to comment.