Skip to content

Commit

Permalink
prismlauncher: support all openal binary backends
Browse files Browse the repository at this point in the history
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 #330154
  • Loading branch information
getchoo committed Aug 10, 2024
1 parent 6c7d7e4 commit ae25abb
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions pkgs/by-name/pr/prismlauncher/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
symlinkJoin,
prismlauncher-unwrapped,
addDriverRunpath,
alsa-lib,
flite,
gamemode,
glfw,
Expand All @@ -14,11 +15,13 @@
jdk21,
kdePackages,
libGL,
libjack2,
libpulseaudio,
libusb1,
makeWrapper,
openal,
pciutils,
pipewire,
udev,
vulkan-loader,
xorg,
Expand Down Expand Up @@ -102,21 +105,28 @@ symlinkJoin {
runtimeLibs =
[
# lwjgl
stdenv.cc.cc.lib
## native versions
glfw
libpulseaudio
libGL
openal
stdenv.cc.cc.lib

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
Expand Down

0 comments on commit ae25abb

Please sign in to comment.