treewide: Get rid of libGLU_combined

This commit is contained in:
adisbladis
2019-11-18 20:10:43 +00:00
parent e6963bc983
commit c9d8624ccd
241 changed files with 518 additions and 516 deletions
+3 -3
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, unzip, SDL, libGLU_combined, openal, curl, libXxf86vm }:
{ stdenv, fetchurl, unzip, SDL, libGLU, libGL, openal, curl, libXxf86vm }:
stdenv.mkDerivation rec {
pname = "urbanterror";
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
})
];
buildInputs = [ unzip SDL libGLU_combined openal curl libXxf86vm ];
buildInputs = [ unzip SDL libGL libGLU openal curl libXxf86vm ];
sourceRoot = "ioq3-for-UrbanTerror-4-release-${version}";
configurePhase = ''
@@ -51,7 +51,7 @@ stdenv.mkDerivation rec {
postFixup = ''
p=$out/opt/urbanterror/Quake3-UrT
cur_rpath=$(patchelf --print-rpath $p)
patchelf --set-rpath $cur_rpath:${libGLU_combined}/lib $p
patchelf --set-rpath $cur_rpath:${libGL}/lib:${libGLU}/lib $p
'';
hardeningDisable = [ "format" ];