git.iko.soy/typeable/nixpkgs
on master help sign in
0ad: Alpha 17 -> Alpha 18
commit3455919cd01a4c278be0a345551aa0e71e9d348e authorAnders Papitto <anderspapitto@gmail.com> dateFri 28 Aug 2015, 14:34 (11 years ago) parent4bcde3f
2 files changed+10−6
pkgs/games/0ad/data.nix+1−1 pkgs/games/0ad/default.nix+9−5
pkgs/games/0ad/data.nix+1−1
@@ -5,7 +5,7 @@ stdenv.mkDerivation rec {
55
66 src = fetchurl {
77 url = "http://releases.wildfiregames.com/0ad-${version}-${releaseType}-unix-data.tar.xz";
8− sha256 = "6bf2234ef5043b14a3bbeda013fefed73ce2e564262f5e03b0801bfe671331d0";
8+ sha256 = "0i5cf4n9qhzbi6hvw5lxapind24qpqfq6p5lrhx8gb25p670g95i";
99 };
1010
1111 patchPhase = ''
pkgs/games/0ad/default.nix+9−5
@@ -1,5 +1,5 @@
11{ stdenv, callPackage, fetchurl, python27
2−, pkgconfig, spidermonkey_24, boost, icu, libxml2, libpng
2+, pkgconfig, spidermonkey_31, boost, icu, libxml2, libpng
33, libjpeg, zlib, curl, libogg, libvorbis, enet, miniupnpc
44, openal, mesa, xproto, libX11, libXcursor, nspr, SDL
55, gloox, nvidia-texture-tools
@@ -9,7 +9,7 @@
99assert withEditor -> wxGTK != null;
1010
1111let
12− version = "0.0.17";
12+ version = "0.0.18";
1313
1414 releaseType = "alpha";
1515
@@ -25,11 +25,11 @@ stdenv.mkDerivation rec {
2525
2626 src = fetchurl {
2727 url = "http://releases.wildfiregames.com/0ad-${version}-${releaseType}-unix-build.tar.xz";
28− sha256 = "ef144d44fe8a8abd29a4642999a58a596b8f0d0e1f310065f5ce1dfbe29c3aeb";
28+ sha256 = "15q3mv5k3lqzf0wrby2r93fs194ym13790i68q8azscs4v9h8bxx";
2929 };
3030
3131 buildInputs = [
32− zeroadData python27 pkgconfig spidermonkey_24 boost icu
32+ zeroadData python27 pkgconfig spidermonkey_31 boost icu
3333 libxml2 libpng libjpeg zlib curl libogg libvorbis enet
3434 miniupnpc openal mesa xproto libX11 libXcursor nspr
3535 SDL gloox nvidia-texture-tools
@@ -41,6 +41,10 @@ stdenv.mkDerivation rec {
4141 "-I${libXcursor}/include/X11"
4242 ];
4343
44+ patchPhase = ''
45+ sed -i 's/MOZJS_MINOR_VERSION/false \&\& MOZJS_MINOR_VERSION/' source/scriptinterface/ScriptTypes.h
46+ '';
47+
4448 configurePhase = ''
4549 # Delete shipped libraries which we don't need.
4650 rm -rf libraries/source/{enet,miniupnpc,nvtt,spidermonkey}
@@ -58,7 +62,7 @@ stdenv.mkDerivation rec {
5862 --with-system-nvtt \
5963 --with-system-enet \
6064 --with-system-miniupnpc \
61− --with-system-mozjs24 \
65+ --with-system-mozjs31 \
6266 ${ if withEditor then "--atlas" else "" } \
6367 --collada \
6468 --bindir="$out"/bin \