rpcs3: proper cubeb dependencies

This commit is contained in:
Martino Fontana 2022-11-08 19:37:58 +01:00
parent a4f1a02bab
commit a12628e25e

View File

@ -2,9 +2,8 @@
, qtbase, qtquickcontrols, qtmultimedia, openal, glew, vulkan-headers, vulkan-loader, libpng
, ffmpeg, libevdev, libusb1, zlib, curl, wolfssl, python3, pugixml, faudio, flatbuffers
, sdl2Support ? true, SDL2
, pulseaudioSupport ? true, libpulseaudio
, cubebSupport ? true, cubeb
, waylandSupport ? true, wayland
, alsaSupport ? true, alsa-lib
}:
let
@ -66,8 +65,7 @@ stdenv.mkDerivation {
qtbase qtquickcontrols qtmultimedia openal glew vulkan-headers vulkan-loader libpng ffmpeg
libevdev zlib libusb1 curl wolfssl python3 pugixml faudio flatbuffers
] ++ lib.optional sdl2Support SDL2
++ lib.optional pulseaudioSupport libpulseaudio
++ lib.optional alsaSupport alsa-lib
++ lib.optionals cubebSupport cubeb.passthru.backendLibs
++ lib.optional waylandSupport wayland;
postInstall = ''