8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
16 lines
477 B
Nix
16 lines
477 B
Nix
{ qtModule, stdenv, qtbase, qtdeclarative, pkgconfig
|
|
, alsaLib, gstreamer, gst-plugins-base, libpulseaudio
|
|
}:
|
|
|
|
with stdenv.lib;
|
|
|
|
qtModule {
|
|
name = "qtmultimedia";
|
|
qtInputs = [ qtbase qtdeclarative ];
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
buildInputs = [ gstreamer gst-plugins-base libpulseaudio]
|
|
++ optional (stdenv.isLinux) alsaLib;
|
|
outputs = [ "bin" "dev" "out" ];
|
|
qmakeFlags = [ "GST_VERSION=1.0" ];
|
|
NIX_LDFLAGS = optionalString (stdenv.isDarwin) "-lobjc";
|
|
}
|