3
0
Fork 0
forked from mirrors/nixpkgs

alienarena: update to 7.65, fix build.

Close #1095.
This commit is contained in:
Evgeny Egorochkin 2013-10-24 12:10:43 +03:00
parent b66e1808ef
commit 23d3c30f55

View file

@ -2,11 +2,11 @@
, libvorbis, freetype, openal, mesa }:
stdenv.mkDerivation rec {
name = "alienarena-7.52";
name = "alienarena-7.65";
src = fetchurl {
url = "http://icculus.org/alienarena/Files/alienarena-7_52-linux20110929.tar.gz";
sha256 = "1s1l3apxsxnd8lyi568y38a1fcdr0gwmc3lkgq2nkc676k4gki3m";
url = "http://icculus.org/alienarena/Files/alienarena-7.65-linux20130207.tar.gz";
sha256 = "03nnv4m2xmswr0020hssajncdb8sy95jp5yccsm53sgxga4r8igg";
};
buildInputs = [ pkgconfig libjpeg libX11 curl libogg libvorbis
@ -14,7 +14,8 @@ stdenv.mkDerivation rec {
patchPhase = ''
substituteInPlace ./configure \
--replace libopenal.so.1 ${openal}/lib/libopenal.so.1
--replace libopenal.so.1 ${openal}/lib/libopenal.so.1 \
--replace libGL.so.1 ${mesa}/lib/libGL.so.1
'';
meta = {