git.iko.soy/typeable/nixpkgs
on master help sign in
clementine: added switches for optional dependences (#23730)

Added switches for ipod, mtp, cd and cloud support. The switch for ipod support, specifically, allows users to build it without libplist, wich is currently marked as insecure.

commitb760bfd9f67cff5230fd2f952de8ff771f19176b authorMarti Serra <marti.serra.coscollano@gmail.com> dateFri 17 Mar 2017, 00:47 (10 years ago) parented7fb7a
1 file changed+9−7
pkgs/applications/audio/clementine/default.nix+9−7
pkgs/applications/audio/clementine/default.nix+9−7
@@ -5,6 +5,10 @@
55
66let
77 withSpotify = config.clementine.spotify or false;
8+ withIpod = config.clementine.ipod or false;
9+ withMTP = config.clementine.mtp or true;
10+ withCD = config.clementine.cd or true;
11+ withCloud = config.clementine.cloud or true;
812
913 version = "1.2.3";
1014
@@ -30,21 +34,19 @@ let
3034 gst-plugins-base
3135 gstreamer
3236 gvfs
33− libcdio
34− libgpod
3537 liblastfm
36− libmtp
37− libplist
3838 pkgconfig
3939 protobuf
4040 qca2
4141 qjson
4242 qt4
43− sparsehash
4443 sqlite
4544 taglib
46− usbmuxd
47− ];
45+ ]
46+ ++ stdenv.lib.optionals (withIpod) [libgpod libplist usbmuxd]
47+ ++ stdenv.lib.optionals (withMTP) [libmtp]
48+ ++ stdenv.lib.optionals (withCD) [libcdio]
49+ ++ stdenv.lib.optionals (withCloud) [sparsehash];
4850
4951 free = stdenv.mkDerivation {
5052 name = "clementine-free-${version}";