obs-studio: fix build with alsa/pulseaudio/pipewire support disabled

This commit is contained in:
éclairevoyant 2023-12-11 10:29:54 -05:00
parent e4d7cf931c
commit 5113efa6a5
No known key found for this signature in database
GPG Key ID: E3813AEAA02DB54B

View File

@ -162,6 +162,9 @@ stdenv.mkDerivation (finalAttrs: {
"-DENABLE_JACK=ON"
(lib.cmakeBool "ENABLE_QSV11" stdenv.hostPlatform.isx86_64)
(lib.cmakeBool "ENABLE_LIBFDK" withFdk)
(lib.cmakeBool "ENABLE_ALSA" alsaSupport)
(lib.cmakeBool "ENABLE_PULSEAUDIO" pulseaudioSupport)
(lib.cmakeBool "ENABLE_PIPEWIRE" pipewireSupport)
];
dontWrapGApps = true;