mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 15:11:35 +00:00
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.
This commit is contained in:
parent
ed7fb7a265
commit
b760bfd9f6
|
@ -5,6 +5,10 @@
|
|||
|
||||
let
|
||||
withSpotify = config.clementine.spotify or false;
|
||||
withIpod = config.clementine.ipod or false;
|
||||
withMTP = config.clementine.mtp or true;
|
||||
withCD = config.clementine.cd or true;
|
||||
withCloud = config.clementine.cloud or true;
|
||||
|
||||
version = "1.2.3";
|
||||
|
||||
|
@ -30,21 +34,19 @@ let
|
|||
gst-plugins-base
|
||||
gstreamer
|
||||
gvfs
|
||||
libcdio
|
||||
libgpod
|
||||
liblastfm
|
||||
libmtp
|
||||
libplist
|
||||
pkgconfig
|
||||
protobuf
|
||||
qca2
|
||||
qjson
|
||||
qt4
|
||||
sparsehash
|
||||
sqlite
|
||||
taglib
|
||||
usbmuxd
|
||||
];
|
||||
]
|
||||
++ stdenv.lib.optionals (withIpod) [libgpod libplist usbmuxd]
|
||||
++ stdenv.lib.optionals (withMTP) [libmtp]
|
||||
++ stdenv.lib.optionals (withCD) [libcdio]
|
||||
++ stdenv.lib.optionals (withCloud) [sparsehash];
|
||||
|
||||
free = stdenv.mkDerivation {
|
||||
name = "clementine-free-${version}";
|
||||
|
|
Loading…
Reference in a new issue