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
|
, mysofaSupport ? true
|
||||||
, libmysofa
|
, libmysofa
|
||||||
, tinycompress
|
, tinycompress
|
||||||
|
, ffadoSupport ? stdenv.buildPlatform.canExecute stdenv.hostPlatform
|
||||||
, ffado
|
, ffado
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -127,7 +128,6 @@ let
|
|||||||
buildInputs = [
|
buildInputs = [
|
||||||
alsa-lib
|
alsa-lib
|
||||||
dbus
|
dbus
|
||||||
ffado
|
|
||||||
glib
|
glib
|
||||||
libjack2
|
libjack2
|
||||||
libusb1
|
libusb1
|
||||||
@ -151,7 +151,8 @@ let
|
|||||||
++ lib.optional raopSupport openssl
|
++ lib.optional raopSupport openssl
|
||||||
++ lib.optional rocSupport roc-toolkit
|
++ lib.optional rocSupport roc-toolkit
|
||||||
++ lib.optionals x11Support [ libcanberra xorg.libX11 xorg.libXfixes ]
|
++ 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.
|
# Valgrind binary is required for running one optional test.
|
||||||
nativeCheckInputs = lib.optional withValgrind valgrind;
|
nativeCheckInputs = lib.optional withValgrind valgrind;
|
||||||
@ -165,6 +166,7 @@ let
|
|||||||
"-Dlibjack-path=${placeholder "jack"}/lib"
|
"-Dlibjack-path=${placeholder "jack"}/lib"
|
||||||
"-Dlibv4l2-path=${placeholder "out"}/lib"
|
"-Dlibv4l2-path=${placeholder "out"}/lib"
|
||||||
"-Dlibcamera=${mesonEnableFeature libcameraSupport}"
|
"-Dlibcamera=${mesonEnableFeature libcameraSupport}"
|
||||||
|
"-Dlibffado=${mesonEnableFeature ffadoSupport}"
|
||||||
"-Droc=${mesonEnableFeature rocSupport}"
|
"-Droc=${mesonEnableFeature rocSupport}"
|
||||||
"-Dlibpulse=${mesonEnableFeature pulseTunnelSupport}"
|
"-Dlibpulse=${mesonEnableFeature pulseTunnelSupport}"
|
||||||
"-Davahi=${mesonEnableFeature zeroconfSupport}"
|
"-Davahi=${mesonEnableFeature zeroconfSupport}"
|
||||||
|
Loading…
Reference in New Issue
Block a user