From 6707d9e8c36ab832238bb965cc66e6cf0aedc0a9 Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Mon, 3 Nov 2014 15:50:43 +0300 Subject: Update Stunt Rally --- pkgs/games/stuntrally/default.nix | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) (limited to 'pkgs/games/stuntrally') diff --git a/pkgs/games/stuntrally/default.nix b/pkgs/games/stuntrally/default.nix index 7b258deef8a..e0d0e3a1ef3 100644 --- a/pkgs/games/stuntrally/default.nix +++ b/pkgs/games/stuntrally/default.nix @@ -1,31 +1,28 @@ -{ fetchgit, stdenv, cmake, boost, ogre, mygui, ois, SDL, libvorbis, pkgconfig +{ fetchgit, stdenv, cmake, boost, ogre, mygui, ois, SDL2, libvorbis, pkgconfig , makeWrapper, enet, libXcursor }: stdenv.mkDerivation rec { - name = "stunt-rally-1.8"; + name = "stunt-rally-2.4"; src = fetchgit { url = git://github.com/stuntrally/stuntrally.git; - rev = "refs/tags/1.8"; - sha256 = "0p8p83xx8q33kymsqnmxqca4jdfyg9rwrsac790z56gdbc7gnahm"; + rev = "refs/tags/2.4"; + sha256 = "0zyzkac11dv9c1rxknydkisg2iw1rmi72psidl7jmq8v3rrqxk4r"; }; tracks = fetchgit { url = git://github.com/stuntrally/tracks.git; - rev = "refs/tags/1.8"; - sha256 = "1gcrs21nn0v3hvhrw8dc0wh1knn5qh66cjx7a1igiciiadmi2s3l"; + rev = "refs/tags/2.4"; + sha256 = "1j237dbhd1ik5mj8whbvlff5da9vzzgiskcj5nzfpw1vb1jpdjvd"; }; - patchPhase = '' - sed -i 's/materials/materials material_templates/' data/CMakeLists.txt - ''; - preConfigure = '' - mkdir data/tracks - cp -R $tracks/* data/tracks + cp -R ${tracks} data/tracks + chmod u+rwX -R data ''; - buildInputs = [ cmake boost ogre mygui ois SDL libvorbis pkgconfig makeWrapper enet + buildInputs = [ cmake boost ogre mygui ois SDL2 libvorbis pkgconfig + makeWrapper enet libXcursor ]; -- cgit 1.4.1