2004-01-25 09:51:03 +01:00
|
|
|
{ teletextSupport ? true
|
|
|
|
, jpegSupport ? true
|
|
|
|
, pngSupport ? true
|
2004-06-21 22:41:32 +02:00
|
|
|
, recordingSupport ? true
|
2004-05-01 20:17:56 +02:00
|
|
|
# !!! libXext shouldn't be necessary (it's in x11); but the builder needs it.
|
2004-06-21 20:13:45 +02:00
|
|
|
, stdenv, fetchurl, pkgconfig, perl, python, x11, libXv, libXmu, libXext, libgnomeui
|
|
|
|
, libglade, scrollkeeper, esound, gettext, perlXMLParser
|
2004-06-21 22:41:32 +02:00
|
|
|
, zvbi ? null, libjpeg ? null, libpng ? null, rte ? null }:
|
2004-01-21 10:34:19 +01:00
|
|
|
|
2004-06-21 20:13:45 +02:00
|
|
|
assert pkgconfig != null && perl != null && python != null
|
|
|
|
&& x11 != null && libXv != null && libXmu != null && libgnomeui != null && libglade != null
|
|
|
|
&& scrollkeeper != null && esound != null && gettext != null
|
|
|
|
&& perlXMLParser != null;
|
2004-01-21 10:34:19 +01:00
|
|
|
|
2004-03-29 12:25:25 +02:00
|
|
|
assert teletextSupport -> zvbi != null && zvbi.pngSupport
|
2004-04-01 21:11:59 +02:00
|
|
|
/* !!! && pngSupport && zvbi.libpng == libpng */;
|
2004-01-25 09:51:03 +01:00
|
|
|
|
2004-03-29 12:25:25 +02:00
|
|
|
assert jpegSupport -> libjpeg != null;
|
|
|
|
assert pngSupport -> libpng != null;
|
2004-01-21 10:34:19 +01:00
|
|
|
|
2004-06-21 22:41:32 +02:00
|
|
|
assert recordingSupport -> rte != null;
|
|
|
|
|
2004-03-29 19:23:01 +02:00
|
|
|
stdenv.mkDerivation {
|
2004-06-21 20:13:45 +02:00
|
|
|
name = "zapping-0.7cvs8";
|
2004-01-21 10:34:19 +01:00
|
|
|
|
|
|
|
builder = ./builder.sh;
|
|
|
|
src = fetchurl {
|
2004-06-21 20:13:45 +02:00
|
|
|
url = http://heanet.dl.sourceforge.net/sourceforge/zapping/zapping-0.7cvs8.tar.bz2;
|
|
|
|
md5 = "90324a26025a49916c3c6ae5f1738dfa";
|
2004-01-21 10:34:19 +01:00
|
|
|
};
|
|
|
|
|
2004-06-21 20:56:26 +02:00
|
|
|
inherit teletextSupport jpegSupport pngSupport libXext perlXMLParser;
|
2004-01-25 09:51:03 +01:00
|
|
|
|
2004-04-01 21:11:59 +02:00
|
|
|
buildInputs = [
|
2004-06-21 20:13:45 +02:00
|
|
|
pkgconfig perl python x11 libXv libXmu libgnomeui
|
2004-04-01 21:11:59 +02:00
|
|
|
libglade scrollkeeper esound gettext
|
|
|
|
(if teletextSupport then zvbi else null)
|
|
|
|
(if jpegSupport then libjpeg else null)
|
|
|
|
(if pngSupport then libpng else null)
|
2004-06-21 22:41:32 +02:00
|
|
|
(if recordingSupport then rte else null)
|
2004-04-01 21:11:59 +02:00
|
|
|
];
|
2004-01-21 10:34:19 +01:00
|
|
|
}
|