parent
5c04313451
commit
43cf5d3369
@ -9,13 +9,13 @@
|
|||||||
, libvdpau, libsamplerate, live555, fluidsynth
|
, libvdpau, libsamplerate, live555, fluidsynth
|
||||||
, onlyLibVLC ? false
|
, onlyLibVLC ? false
|
||||||
, qt4 ? null
|
, qt4 ? null
|
||||||
, withQt5 ? false, qtbase ? null
|
, withQt5 ? false, qtbase ? null, qtx11extras ? null
|
||||||
, jackSupport ? false
|
, jackSupport ? false
|
||||||
}:
|
}:
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
|
|
||||||
assert (withQt5 -> qtbase != null);
|
assert (withQt5 -> qtbase != null && qtx11extras != null);
|
||||||
assert (!withQt5 -> qt4 != null);
|
assert (!withQt5 -> qt4 != null);
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -43,6 +43,7 @@ stdenv.mkDerivation rec {
|
|||||||
fluidsynth
|
fluidsynth
|
||||||
]
|
]
|
||||||
++ [(if withQt5 then qtbase else qt4)]
|
++ [(if withQt5 then qtbase else qt4)]
|
||||||
|
++ optional withQt5 qtx11extras
|
||||||
++ optional jackSupport libjack2;
|
++ optional jackSupport libjack2;
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user