nixpkgs/pkgs/applications/video/mythtv/default.nix
Eelco Dolstra 9d48cb846b * MythTV 0.21.
svn path=/nixpkgs/trunk/; revision=12177
2008-06-23 09:01:04 +00:00

34 lines
711 B
Nix

{ stdenv, fetchurl, which, qt3, x11, xlibs
, lame, zlib, mesa
, freetype, perl
}:
assert qt3.mysqlSupport;
stdenv.mkDerivation {
name = "mythtv-0.21";
builder = ./builder.sh;
src = fetchurl {
url = http://ftp.osuosl.org/pub/mythtv/mythtv-0.21.tar.bz2;
sha256 = "1r654fvklpsf6h9iqckb8fhd7abgs71lx6xh352xgz9yzjl7ia1k";
};
#configureFlags = "--x11-path=/no-such-path --dvb-path=/no-such-path";
configureFlags = ''
--disable-joystick-menu --disable-dvb
'';
buildInputs = [
freetype qt3 lame zlib x11 mesa perl
xlibs.libXv xlibs.libXrandr xlibs.libXvMC xlibs.libXmu
];
patches = [
./settings.patch
./purity.patch # don't search in /usr/include etc.
];
}