2003-11-11 16:57:15 +01:00
|
|
|
{ alsaSupport ? false
|
|
|
|
, stdenv, fetchurl, x11, freetype, alsa ? null}:
|
2003-11-11 16:01:07 +01:00
|
|
|
|
|
|
|
assert !isNull x11 && !isNull freetype;
|
2003-11-11 16:57:15 +01:00
|
|
|
assert alsaSupport -> !isNull alsa;
|
2003-11-11 16:01:07 +01:00
|
|
|
|
|
|
|
derivation {
|
2003-12-14 21:36:29 +01:00
|
|
|
name = "MPlayer-1.0pre3";
|
2003-11-11 16:01:07 +01:00
|
|
|
system = stdenv.system;
|
|
|
|
|
|
|
|
builder = ./builder.sh;
|
|
|
|
src = fetchurl {
|
2003-12-14 21:36:29 +01:00
|
|
|
url = http://www2.mplayerhq.hu/MPlayer/releases/MPlayer-1.0pre3.tar.bz2;
|
|
|
|
md5 = "998becb79417c6a14d15c07e85188b82";
|
2003-11-11 16:01:07 +01:00
|
|
|
};
|
|
|
|
fonts = fetchurl {
|
|
|
|
url = http://www2.mplayerhq.hu/MPlayer/releases/fonts/font-arial-iso-8859-1.tar.bz2;
|
|
|
|
md5 = "1ecd31d17b51f16332b1fcc7da36b312";
|
|
|
|
};
|
|
|
|
|
2003-11-11 16:57:15 +01:00
|
|
|
alsaSupport = alsaSupport;
|
|
|
|
|
2003-11-11 16:01:07 +01:00
|
|
|
stdenv = stdenv;
|
|
|
|
x11 = x11;
|
|
|
|
freetype = freetype;
|
2003-11-11 16:57:15 +01:00
|
|
|
alsa = if alsaSupport then alsa else null;
|
2003-11-11 16:01:07 +01:00
|
|
|
win32codecs = (import ./win32codecs) {
|
|
|
|
stdenv = stdenv;
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
};
|
|
|
|
}
|