1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 23:52:33 +00:00
nixpkgs/pkgs/applications/video/MPlayer/default.nix
Eelco Dolstra f1279496e5 * Upgrade to 1.0pre3.
svn path=/nixpkgs/trunk/; revision=582
2003-12-14 20:36:29 +00:00

32 lines
776 B
Nix

{ alsaSupport ? false
, stdenv, fetchurl, x11, freetype, alsa ? null}:
assert !isNull x11 && !isNull freetype;
assert alsaSupport -> !isNull alsa;
derivation {
name = "MPlayer-1.0pre3";
system = stdenv.system;
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";
};
alsaSupport = alsaSupport;
stdenv = stdenv;
x11 = x11;
freetype = freetype;
alsa = if alsaSupport then alsa else null;
win32codecs = (import ./win32codecs) {
stdenv = stdenv;
fetchurl = fetchurl;
};
}