vlc: Don't depend on JACK by default

To reduce dependency bloat, packages should not depend on non-standard
audio systems by default.
This commit is contained in:
Eelco Dolstra 2015-06-24 12:19:37 +02:00
parent 4ad434e521
commit ab8a2b0c78

View File

@ -9,6 +9,7 @@
, libvdpau
, onlyLibVLC ? false
, qt4 ? null, qt5 ? null, withQt5 ? false
, jackSupport ? false
}:
with stdenv.lib;
@ -29,11 +30,13 @@ stdenv.mkDerivation rec {
[ xz bzip2 perl zlib a52dec libmad faad2 ffmpeg alsaLib libdvdnav libdvdnav.libdvdread
libbluray dbus fribidi libvorbis libtheora speex lua5 libgcrypt
libupnp libcaca libpulseaudio flac schroedinger libxml2 librsvg mpeg2dec
udev gnutls avahi libcddb jack2 SDL SDL_image libmtp unzip taglib
udev gnutls avahi libcddb SDL SDL_image libmtp unzip taglib
libkate libtiger libv4l samba liboggz libass libdvbpsi libva
xlibs.xlibs xlibs.libXv xlibs.libXvMC xlibs.libXpm xlibs.xcbutilkeysyms
libdc1394 libraw1394 libopus libebml libmatroska libvdpau
] ++ (if withQt5 then with qt5; [ base ] else [qt4]);
]
++ (if withQt5 then with qt5; [ base ] else [qt4])
++ optional jackSupport jack2;
nativeBuildInputs = [ pkgconfig ];