22b10bac78
Qt 5.8 is immediately removed because its support window is ended. The qtlocation module is built with `enableParallelBuilding = false` so that the clipper library will be built before the components which link to it. kjs now depends directly on pcre. The dependency was previously propagated from qtbase, which now depends on pcre2.
21 lines
571 B
Nix
21 lines
571 B
Nix
{ stdenv, qtSubmodule, qtbase, qtdeclarative, pkgconfig
|
|
, alsaLib, gstreamer, gst-plugins-base, libpulseaudio
|
|
, darwin
|
|
}:
|
|
|
|
with stdenv.lib;
|
|
|
|
qtSubmodule {
|
|
name = "qtmultimedia";
|
|
qtInputs = [ qtbase qtdeclarative ];
|
|
buildInputs = [ pkgconfig gstreamer gst-plugins-base libpulseaudio]
|
|
++ optional (stdenv.isLinux) alsaLib;
|
|
outputs = [ "out" "dev" "bin" ];
|
|
qmakeFlags = [ "GST_VERSION=1.0" ];
|
|
NIX_LDFLAGS = optionalString (stdenv.isDarwin) "-lobjc";
|
|
postInstall = ''
|
|
moveToOutput "$qtPluginPrefix" "$bin"
|
|
moveToOutput "$qtQmlPrefix" "$bin"
|
|
'';
|
|
}
|