mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 20:03:16 +00:00
pipewire: disable ffado support when cross compiling
This commit is contained in:
parent
8ed29e7bfc
commit
07b09fa0af
@ -66,6 +66,7 @@
|
||||
, mysofaSupport ? true
|
||||
, libmysofa
|
||||
, tinycompress
|
||||
, ffadoSupport ? stdenv.buildPlatform.canExecute stdenv.hostPlatform
|
||||
, ffado
|
||||
}:
|
||||
|
||||
@ -127,7 +128,6 @@ let
|
||||
buildInputs = [
|
||||
alsa-lib
|
||||
dbus
|
||||
ffado
|
||||
glib
|
||||
libjack2
|
||||
libusb1
|
||||
@ -151,7 +151,8 @@ let
|
||||
++ lib.optional raopSupport openssl
|
||||
++ lib.optional rocSupport roc-toolkit
|
||||
++ lib.optionals x11Support [ libcanberra xorg.libX11 xorg.libXfixes ]
|
||||
++ lib.optional mysofaSupport libmysofa;
|
||||
++ lib.optional mysofaSupport libmysofa
|
||||
++ lib.optional ffadoSupport ffado;
|
||||
|
||||
# Valgrind binary is required for running one optional test.
|
||||
nativeCheckInputs = lib.optional withValgrind valgrind;
|
||||
@ -165,6 +166,7 @@ let
|
||||
"-Dlibjack-path=${placeholder "jack"}/lib"
|
||||
"-Dlibv4l2-path=${placeholder "out"}/lib"
|
||||
"-Dlibcamera=${mesonEnableFeature libcameraSupport}"
|
||||
"-Dlibffado=${mesonEnableFeature ffadoSupport}"
|
||||
"-Droc=${mesonEnableFeature rocSupport}"
|
||||
"-Dlibpulse=${mesonEnableFeature pulseTunnelSupport}"
|
||||
"-Davahi=${mesonEnableFeature zeroconfSupport}"
|
||||
|
Loading…
Reference in New Issue
Block a user