nixpkgs/pkgs/applications/video/MPlayer/default.nix
Eelco Dolstra 2b58d63ab6 * MPlayer had an undeclared dependency on zlib; found using the
improved purity enforcement in the gcc/ld-wrappers.

svn path=/nixpkgs/trunk/; revision=898
2004-04-01 18:06:09 +00:00

26 lines
705 B
Nix

{ alsaSupport ? false
, stdenv, fetchurl, x11, freetype, zlib, alsa ? null}:
assert x11 != null && freetype != null;
assert alsaSupport -> alsa != null;
stdenv.mkDerivation {
name = "MPlayer-1.0pre3";
builder = ./builder.sh;
src = fetchurl {
url = http://www2.mplayerhq.hu/MPlayer/releases/MPlayer-1.0pre3.tar.bz2;
md5 = "998becb79417c6a14d15c07e85188b82";
};
fonts = fetchurl {
url = http://www2.mplayerhq.hu/MPlayer/releases/fonts/font-arial-iso-8859-1.tar.bz2;
md5 = "1ecd31d17b51f16332b1fcc7da36b312";
};
win32codecs = (import ./win32codecs) {
inherit stdenv fetchurl;
};
alsa = if alsaSupport then alsa else null;
inherit alsaSupport x11 freetype zlib;
}