2008-06-23 11:01:04 +02:00
|
|
|
{ stdenv, fetchurl, which, qt3, x11, xlibs
|
2006-10-17 10:00:50 +02:00
|
|
|
, lame, zlib, mesa
|
2008-06-23 11:01:04 +02:00
|
|
|
, freetype, perl
|
2006-10-17 10:00:50 +02:00
|
|
|
}:
|
2005-01-20 22:11:49 +01:00
|
|
|
|
2005-01-22 01:19:27 +01:00
|
|
|
assert qt3.mysqlSupport;
|
|
|
|
|
2005-01-20 22:11:49 +01:00
|
|
|
stdenv.mkDerivation {
|
2008-06-23 11:01:04 +02:00
|
|
|
name = "mythtv-0.21";
|
2005-01-20 22:11:49 +01:00
|
|
|
|
|
|
|
builder = ./builder.sh;
|
2008-06-23 11:01:04 +02:00
|
|
|
|
2005-01-20 22:11:49 +01:00
|
|
|
src = fetchurl {
|
2008-06-23 11:01:04 +02:00
|
|
|
url = http://ftp.osuosl.org/pub/mythtv/mythtv-0.21.tar.bz2;
|
|
|
|
sha256 = "1r654fvklpsf6h9iqckb8fhd7abgs71lx6xh352xgz9yzjl7ia1k";
|
2005-01-20 22:11:49 +01:00
|
|
|
};
|
|
|
|
|
2008-06-23 11:01:04 +02:00
|
|
|
#configureFlags = "--x11-path=/no-such-path --dvb-path=/no-such-path";
|
|
|
|
|
|
|
|
configureFlags = ''
|
|
|
|
--disable-joystick-menu --disable-dvb
|
|
|
|
'';
|
2005-01-20 23:07:08 +01:00
|
|
|
|
2006-09-14 15:24:06 +02:00
|
|
|
buildInputs = [
|
2008-06-23 11:01:04 +02:00
|
|
|
freetype qt3 lame zlib x11 mesa perl
|
|
|
|
xlibs.libXv xlibs.libXrandr xlibs.libXvMC xlibs.libXmu
|
2006-09-14 15:24:06 +02:00
|
|
|
];
|
|
|
|
|
2006-09-14 22:49:00 +02:00
|
|
|
patches = [
|
|
|
|
./settings.patch
|
|
|
|
./purity.patch # don't search in /usr/include etc.
|
|
|
|
];
|
2005-01-20 22:11:49 +01:00
|
|
|
}
|