prismlauncher: support all openal binary backends

Previously we only included `libpulseaudio` in the wrapper, which
limited the binary version of OpenAL provided by the launcher from using
it's other backends. This also better documents what dependencies are
for what part of lwjgl

Fixes https://github.com/NixOS/nixpkgs/issues/330154
This commit is contained in:
seth 2024-07-27 07:57:09 -04:00
parent 6c7d7e4be4
commit ae25abbadf
No known key found for this signature in database
GPG Key ID: D31BD0D494BBEE86

View File

@ -4,6 +4,7 @@
symlinkJoin,
prismlauncher-unwrapped,
addDriverRunpath,
alsa-lib,
flite,
gamemode,
glfw,
@ -14,11 +15,13 @@
jdk21,
kdePackages,
libGL,
libjack2,
libpulseaudio,
libusb1,
makeWrapper,
openal,
pciutils,
pipewire,
udev,
vulkan-loader,
xorg,
@ -102,21 +105,28 @@ symlinkJoin {
runtimeLibs =
[
# lwjgl
glfw
libpulseaudio
libGL
openal
stdenv.cc.cc.lib
## native versions
glfw
openal
vulkan-loader # VulkanMod's lwjgl
udev # oshi
## openal
alsa-lib
libjack2
libpulseaudio
pipewire
## glfw
libGL
xorg.libX11
xorg.libXext
xorg.libXcursor
xorg.libXrandr
xorg.libXxf86vm
udev # oshi
vulkan-loader # VulkanMod's lwjgl
]
++ lib.optional textToSpeechSupport flite
++ lib.optional gamemodeSupport gamemode.lib