2008-02-06 21:17:42 +00:00
|
|
|
args: with args;
|
2009-03-03 13:27:40 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2008-02-06 21:17:42 +00:00
|
|
|
pname = "SDL_mixer";
|
|
|
|
version = "1.2.8";
|
|
|
|
|
|
|
|
name = "${pname}-${version}";
|
2006-09-12 01:15:05 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2008-02-06 21:17:42 +00:00
|
|
|
url = "http://www.libsdl.org/projects/${pname}/release/${name}.tar.gz";
|
|
|
|
sha256 = "a8222a274778ff16d0e3ee49a30db27a48a4d357169a915fc599a764e405e0b6";
|
2006-09-12 01:15:05 +01:00
|
|
|
};
|
2008-02-06 21:17:42 +00:00
|
|
|
|
2006-09-12 16:23:28 +01:00
|
|
|
buildInputs = [SDL libogg libvorbis];
|
2008-02-06 21:17:42 +00:00
|
|
|
|
2006-09-12 16:23:28 +01:00
|
|
|
configureFlags = "--disable-music-ogg-shared";
|
2008-02-06 21:17:42 +00:00
|
|
|
|
2009-03-03 13:27:40 +00:00
|
|
|
postInstall = "ln -s $out/include/SDL/SDL_mixer.h $out/include/";
|
2008-02-06 21:17:42 +00:00
|
|
|
|
|
|
|
meta = {
|
2009-03-03 13:27:40 +00:00
|
|
|
description = "SDL multi-channel audio mixer library";
|
2008-02-06 21:17:42 +00:00
|
|
|
};
|
2009-03-03 13:27:40 +00:00
|
|
|
}
|