* Added Exult.
svn path=/nixpkgs/trunk/; revision=6501
This commit is contained in:
@@ -11,12 +11,13 @@ stdenv.mkDerivation {
|
||||
url = http://www.libsdl.org/release/SDL-1.2.11.tar.gz;
|
||||
md5 = "418b42956b7cd103bfab1b9077ccc149";
|
||||
};
|
||||
buildInputs = [x11 libXrandr]
|
||||
++ (if openglSupport then [mesa] else [])
|
||||
++ (if alsaSupport then [alsaLib] else []);
|
||||
propagatedBuildInputs = [x11 libXrandr];
|
||||
buildInputs =
|
||||
(if openglSupport then [mesa] else []) ++
|
||||
(if alsaSupport then [alsaLib] else []);
|
||||
configureFlags = "
|
||||
--disable-x11-shared --disable-alsa-shared --enable-rpath
|
||||
${if alsaSupport then "--with-alsa-prefix=${alsaLib}" else ""}
|
||||
${if alsaSupport then "--with-alsa-prefix=${alsaLib}/lib" else ""}
|
||||
";
|
||||
# patches = [./no-cxx.patch];
|
||||
# NIX_CFLAGS_COMPILE = "-DBITS_PER_LONG=32"; /* !!! hack around kernel header bug */
|
||||
|
||||
10
pkgs/development/libraries/SDL_mixer/default.nix
Normal file
10
pkgs/development/libraries/SDL_mixer/default.nix
Normal file
@@ -0,0 +1,10 @@
|
||||
{stdenv, fetchurl, SDL}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "SDL_mixer-1.2.7";
|
||||
src = fetchurl {
|
||||
url = http://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-1.2.7.tar.gz;
|
||||
md5 = "7959b89c8f8f1564ca90968f6c88fa1e";
|
||||
};
|
||||
buildInputs = [SDL];
|
||||
}
|
||||
Reference in New Issue
Block a user