2003-11-11 15:57:15 +00:00
|
|
|
{ alsaSupport ? false
|
2004-04-01 19:06:09 +01:00
|
|
|
, stdenv, fetchurl, x11, freetype, zlib, alsa ? null}:
|
2003-11-11 15:01:07 +00:00
|
|
|
|
2004-03-29 11:25:25 +01:00
|
|
|
assert x11 != null && freetype != null;
|
|
|
|
assert alsaSupport -> alsa != null;
|
2003-11-11 15:01:07 +00:00
|
|
|
|
2004-03-29 18:23:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2003-12-14 20:36:29 +00:00
|
|
|
name = "MPlayer-1.0pre3";
|
2003-11-11 15:01:07 +00:00
|
|
|
|
|
|
|
builder = ./builder.sh;
|
|
|
|
src = fetchurl {
|
2003-12-14 20:36:29 +00:00
|
|
|
url = http://www2.mplayerhq.hu/MPlayer/releases/MPlayer-1.0pre3.tar.bz2;
|
|
|
|
md5 = "998becb79417c6a14d15c07e85188b82";
|
2003-11-11 15:01:07 +00:00
|
|
|
};
|
|
|
|
fonts = fetchurl {
|
|
|
|
url = http://www2.mplayerhq.hu/MPlayer/releases/fonts/font-arial-iso-8859-1.tar.bz2;
|
|
|
|
md5 = "1ecd31d17b51f16332b1fcc7da36b312";
|
|
|
|
};
|
|
|
|
|
|
|
|
win32codecs = (import ./win32codecs) {
|
2004-03-30 16:15:19 +01:00
|
|
|
inherit stdenv fetchurl;
|
2003-11-11 15:01:07 +00:00
|
|
|
};
|
2004-04-01 19:06:09 +01:00
|
|
|
|
|
|
|
alsa = if alsaSupport then alsa else null;
|
|
|
|
inherit alsaSupport x11 freetype zlib;
|
2003-11-11 15:01:07 +00:00
|
|
|
}
|