2012-01-07 18:06:49 +01:00
|
|
|
a@{ stdenv, fetchurl, which, qt3, x11, xlibs
|
2008-06-26 00:01:33 +02:00
|
|
|
, lame, zlib, mesa, alsaLib
|
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
|
|
|
|
2012-01-07 18:06:49 +01:00
|
|
|
let
|
|
|
|
qt3 = a.qt3.override { mysqlSupport = true; };
|
|
|
|
in
|
2005-01-22 01:19:27 +01:00
|
|
|
|
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-26 00:01:33 +02:00
|
|
|
freetype qt3 lame zlib x11 mesa perl alsaLib
|
|
|
|
xlibs.libX11 xlibs.libXv xlibs.libXrandr xlibs.libXvMC xlibs.libXmu
|
|
|
|
xlibs.libXinerama xlibs.libXxf86vm 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
|
|
|
}
|