3
0
Fork 0
forked from mirrors/nixpkgs

Updating neverball. That required adding physfs.

svn path=/nixpkgs/trunk/; revision=18220
This commit is contained in:
Lluís Batlle i Rossell 2009-11-06 19:25:45 +00:00
parent 1dce71822e
commit 005bf71e51
3 changed files with 30 additions and 7 deletions

View file

@ -0,0 +1,18 @@
{stdenv, fetchurl, cmake}:
stdenv.mkDerivation rec {
name = "physfs-2.0.0";
src = fetchurl {
url = "${meta.homepage}/downloads/${name}.tar.gz";
sha256 = "072hqprni4vf4ax6b659s2xxrbz0y6iziarsczawbhi69m4azpyb";
};
buildInputs = [ cmake ];
meta = {
homepage = http://icculus.org/physfs/;
description = "Library to provide abstract access to various archives";
license = "free";
};
}

View file

@ -1,13 +1,14 @@
{stdenv, fetchurl, SDL, mesa, libpng, libjpeg, SDL_ttf, libvorbis, gettext} :
{stdenv, fetchurl, SDL, mesa, libpng, libjpeg, SDL_ttf, libvorbis, gettext,
physfs} :
stdenv.mkDerivation {
name = "neverball-1.5.1";
stdenv.mkDerivation rec {
name = "neverball-1.5.4";
src = fetchurl {
url = http://neverball.org/neverball-1.5.1.tar.gz;
sha256 = "0cqi6q829p1wx4471ab74xd7hmcvjg4fvj40rdc3342rvfqpijv5";
url = "http://neverball.org/${name}.tar.gz";
sha256 = "19hdgdmv20y56xvbj4vk0zdmyaa8kv7df85advkchw7cdsgwlcga";
};
buildInputs = [ SDL mesa libpng libjpeg SDL_ttf libvorbis gettext ];
buildInputs = [ SDL mesa libpng libjpeg SDL_ttf libvorbis gettext physfs];
dontPatchElf = true;

View file

@ -4327,6 +4327,10 @@ let
cplusplusSupport = !stdenv ? isDietLibC;
};
physfs = import ../development/libraries/physfs {
inherit fetchurl stdenv cmake;
};
plib = import ../development/libraries/plib {
inherit fetchurl stdenv mesa freeglut SDL;
inherit (xlibs) libXi libSM libXmu libXext libX11;
@ -5816,7 +5820,7 @@ let
neverball = import ../games/neverball {
inherit stdenv fetchurl SDL mesa libpng libjpeg SDL_ttf libvorbis
gettext;
gettext physfs;
};
numactl = import ../os-specific/linux/numactl {