added SDL_net, some minor modifications to SDL_image and SDL_mixer
svn path=/nixpkgs/trunk/; revision=10528
This commit is contained in:
@@ -1,11 +1,24 @@
|
||||
{stdenv, fetchurl, SDL, libogg, libvorbis}:
|
||||
args: with args;
|
||||
stdenv.mkDerivation (rec {
|
||||
pname = "SDL_mixer";
|
||||
version = "1.2.8";
|
||||
|
||||
name = "${pname}-${version}";
|
||||
|
||||
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";
|
||||
url = "http://www.libsdl.org/projects/${pname}/release/${name}.tar.gz";
|
||||
sha256 = "a8222a274778ff16d0e3ee49a30db27a48a4d357169a915fc599a764e405e0b6";
|
||||
};
|
||||
|
||||
buildInputs = [SDL libogg libvorbis];
|
||||
|
||||
configureFlags = "--disable-music-ogg-shared";
|
||||
}
|
||||
|
||||
postInstall = "ln -s \${out}/include/SDL/SDL_mixer.h \${out}/include/";
|
||||
|
||||
meta = {
|
||||
description = "
|
||||
SDL multi-channel audio mixer library.
|
||||
";
|
||||
};
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user