pcsx2: proper cubeb dependencies

This commit is contained in:
Martino Fontana 2023-06-08 21:30:19 +02:00
parent a12628e25e
commit 9f33aeaa7f

View file

@ -2,6 +2,7 @@
, fetchFromGitHub , fetchFromGitHub
, lib , lib
, stdenv , stdenv
, cubeb
, curl , curl
, ffmpeg , ffmpeg
, fmt , fmt
@ -10,7 +11,6 @@
, libaio , libaio
, libbacktrace , libbacktrace
, libpcap , libpcap
, libpulseaudio
, libsamplerate , libsamplerate
, libXrandr , libXrandr
, libzip , libzip
@ -69,7 +69,6 @@ stdenv.mkDerivation rec {
libaio libaio
libbacktrace libbacktrace
libpcap libpcap
libpulseaudio
libsamplerate libsamplerate
libXrandr libXrandr
libzip libzip
@ -85,7 +84,8 @@ stdenv.mkDerivation rec {
vulkan-loader vulkan-loader
wayland wayland
xz xz
]; ]
++ cubeb.passthru.backendLibs;
installPhase = '' installPhase = ''
mkdir -p $out/bin mkdir -p $out/bin
@ -98,11 +98,10 @@ stdenv.mkDerivation rec {
''; '';
qtWrapperArgs = [ qtWrapperArgs = [
"--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ "--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath ([
ffmpeg # It's loaded with dlopen. They plan to change it https://github.com/PCSX2/pcsx2/issues/8624 ffmpeg # It's loaded with dlopen. They plan to change it https://github.com/PCSX2/pcsx2/issues/8624
libpulseaudio
vulkan-loader vulkan-loader
]}" ] ++ cubeb.passthru.backendLibs)}"
]; ];
meta = with lib; { meta = with lib; {