2012-01-07 09:06:49 -08:00
|
|
|
a@{ stdenv, fetchurl, which, qt3, x11, xlibs
|
2008-06-25 15:01:33 -07:00
|
|
|
, lame, zlib, mesa, alsaLib
|
2008-06-23 02:01:04 -07:00
|
|
|
, freetype, perl
|
2006-10-17 01:00:50 -07:00
|
|
|
}:
|
2005-01-20 13:11:49 -08:00
|
|
|
|
2012-01-07 09:06:49 -08:00
|
|
|
let
|
|
|
|
qt3 = a.qt3.override { mysqlSupport = true; };
|
|
|
|
in
|
2005-01-21 16:19:27 -08:00
|
|
|
|
2005-01-20 13:11:49 -08:00
|
|
|
stdenv.mkDerivation {
|
2008-06-23 02:01:04 -07:00
|
|
|
name = "mythtv-0.21";
|
2005-01-20 13:11:49 -08:00
|
|
|
|
|
|
|
builder = ./builder.sh;
|
2008-06-23 02:01:04 -07:00
|
|
|
|
2005-01-20 13:11:49 -08:00
|
|
|
src = fetchurl {
|
2008-06-23 02:01:04 -07:00
|
|
|
url = http://ftp.osuosl.org/pub/mythtv/mythtv-0.21.tar.bz2;
|
|
|
|
sha256 = "1r654fvklpsf6h9iqckb8fhd7abgs71lx6xh352xgz9yzjl7ia1k";
|
2005-01-20 13:11:49 -08:00
|
|
|
};
|
|
|
|
|
2008-06-23 02:01:04 -07:00
|
|
|
#configureFlags = "--x11-path=/no-such-path --dvb-path=/no-such-path";
|
|
|
|
|
|
|
|
configureFlags = ''
|
|
|
|
--disable-joystick-menu --disable-dvb
|
|
|
|
'';
|
2005-01-20 14:07:08 -08:00
|
|
|
|
2006-09-14 06:24:06 -07:00
|
|
|
buildInputs = [
|
2008-06-25 15:01:33 -07: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 06:24:06 -07:00
|
|
|
];
|
|
|
|
|
2006-09-14 13:49:00 -07:00
|
|
|
patches = [
|
|
|
|
./settings.patch
|
|
|
|
./purity.patch # don't search in /usr/include etc.
|
|
|
|
];
|
2005-01-20 13:11:49 -08:00
|
|
|
}
|