mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 23:23:07 +00:00
16 lines
430 B
Nix
16 lines
430 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;
|
|
qmakeFlags = [ "GST_VERSION=1.0" ];
|
|
NIX_LDFLAGS = optionalString (stdenv.isDarwin) "-lobjc";
|
|
}
|