openarena: add missing dependency - openal (#50903)
Without this change: ''' ------ Initializing Sound ------ Loading "libopenal.so.1"... Failed to load library: "libopenal.so.1". ''' when openal is selected. In addition, upcoming 0.19.1 openal supports 3d positioning audio via stereo (HTRF).
This commit is contained in:
parent
25e7f59516
commit
8719126517
|
@ -1,4 +1,4 @@
|
||||||
{ fetchurl, makeWrapper, patchelf, pkgs, stdenv, SDL, libglvnd, libogg, libvorbis, curl }:
|
{ fetchurl, makeWrapper, patchelf, pkgs, stdenv, SDL, libglvnd, libogg, libvorbis, curl, openal }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "openarena-${version}";
|
name = "openarena-${version}";
|
||||||
|
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
||||||
installPhase = let
|
installPhase = let
|
||||||
gameDir = "$out/openarena-$version";
|
gameDir = "$out/openarena-$version";
|
||||||
interpreter = "$(< \"$NIX_CC/nix-support/dynamic-linker\")";
|
interpreter = "$(< \"$NIX_CC/nix-support/dynamic-linker\")";
|
||||||
libPath = stdenv.lib.makeLibraryPath [ SDL libglvnd libogg libvorbis curl ];
|
libPath = stdenv.lib.makeLibraryPath [ SDL libglvnd libogg libvorbis curl openal ];
|
||||||
in ''
|
in ''
|
||||||
mkdir -pv $out/bin
|
mkdir -pv $out/bin
|
||||||
cd $out
|
cd $out
|
||||||
|
|
Loading…
Reference in a new issue