2004-01-25 08:51:03 +00:00
|
|
|
{ teletextSupport ? true
|
|
|
|
, jpegSupport ? true
|
|
|
|
, pngSupport ? true
|
2004-06-21 20:41:32 +00:00
|
|
|
, recordingSupport ? true
|
2004-05-01 18:17:56 +00:00
|
|
|
# !!! libXext shouldn't be necessary (it's in x11); but the builder needs it.
|
2005-10-02 15:48:06 +00:00
|
|
|
, stdenv, fetchurl, pkgconfig, perl, python, x11
|
|
|
|
, libXv, libXmu, libXext, libgnomeui
|
2004-06-21 18:13:45 +00:00
|
|
|
, libglade, scrollkeeper, esound, gettext, perlXMLParser
|
2004-06-21 20:41:32 +00:00
|
|
|
, zvbi ? null, libjpeg ? null, libpng ? null, rte ? null }:
|
2004-01-21 09:34:19 +00:00
|
|
|
|
2004-03-29 10:25:25 +00:00
|
|
|
assert teletextSupport -> zvbi != null && zvbi.pngSupport
|
2004-04-01 19:11:59 +00:00
|
|
|
/* !!! && pngSupport && zvbi.libpng == libpng */;
|
2004-01-25 08:51:03 +00:00
|
|
|
|
2004-03-29 10:25:25 +00:00
|
|
|
assert jpegSupport -> libjpeg != null;
|
|
|
|
assert pngSupport -> libpng != null;
|
2004-01-21 09:34:19 +00:00
|
|
|
|
2004-06-21 20:41:32 +00:00
|
|
|
assert recordingSupport -> rte != null;
|
|
|
|
|
2004-03-29 17:23:01 +00:00
|
|
|
stdenv.mkDerivation {
|
2007-08-08 22:34:50 +00:00
|
|
|
name = "zapping-0.9.6";
|
2004-01-21 09:34:19 +00:00
|
|
|
|
|
|
|
builder = ./builder.sh;
|
2007-08-27 12:44:01 +00:00
|
|
|
|
2004-01-21 09:34:19 +00:00
|
|
|
src = fetchurl {
|
2007-08-27 12:44:01 +00:00
|
|
|
url = mirror://sourceforge/zapping/zapping-0.9.6.tar.bz2;
|
2007-08-08 22:34:50 +00:00
|
|
|
md5 = "8306775c6a11de4d72345b5eee970ea6";
|
2004-01-21 09:34:19 +00:00
|
|
|
};
|
|
|
|
|
2005-03-10 12:49:37 +00:00
|
|
|
inherit teletextSupport jpegSupport pngSupport libXext;
|
2004-01-25 08:51:03 +00:00
|
|
|
|
2004-04-01 19:11:59 +00:00
|
|
|
buildInputs = [
|
2005-03-10 12:49:37 +00:00
|
|
|
pkgconfig perl perlXMLParser python x11 libXv libXmu libgnomeui
|
2004-04-01 19:11:59 +00: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 20:41:32 +00:00
|
|
|
(if recordingSupport then rte else null)
|
2004-04-01 19:11:59 +00:00
|
|
|
];
|
2004-01-21 09:34:19 +00:00
|
|
|
}
|