2004-01-25 08:51:03 +00:00
|
|
|
{ teletextSupport ? true
|
|
|
|
, jpegSupport ? true
|
|
|
|
, pngSupport ? true
|
|
|
|
, stdenv, fetchurl, pkgconfig, perl, python, x11, libgnomeui
|
|
|
|
, libglade, scrollkeeper, esound, gettext
|
|
|
|
, zvbi ? null, libjpeg ? null, libpng ? null }:
|
2004-01-21 09:34:19 +00:00
|
|
|
|
2004-03-29 11:25:25 +01:00
|
|
|
assert pkgconfig != null && perl != null && python != null &&
|
|
|
|
x11 != null && libgnomeui != null && libglade != null &&
|
|
|
|
scrollkeeper != null && esound != null && gettext != null;
|
2004-01-21 09:34:19 +00:00
|
|
|
|
2004-03-29 11:25:25 +01:00
|
|
|
assert teletextSupport -> zvbi != null && zvbi.pngSupport
|
2004-04-01 20:11:59 +01:00
|
|
|
/* !!! && pngSupport && zvbi.libpng == libpng */;
|
2004-01-25 08:51:03 +00:00
|
|
|
|
2004-03-29 11:25:25 +01:00
|
|
|
assert jpegSupport -> libjpeg != null;
|
|
|
|
assert pngSupport -> libpng != null;
|
2004-01-21 09:34:19 +00:00
|
|
|
|
2004-03-29 18:23:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2004-01-21 13:17:18 +00:00
|
|
|
name = "zapping-0.7cvs6";
|
2004-01-21 09:34:19 +00:00
|
|
|
|
|
|
|
builder = ./builder.sh;
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://heanet.dl.sourceforge.net/sourceforge/zapping/zapping-0.7cvs6.tar.bz2;
|
|
|
|
md5 = "cdedc0088c70f4520c37066ec05cb996";
|
|
|
|
};
|
|
|
|
|
2004-04-01 20:11:59 +01:00
|
|
|
inherit teletextSupport jpegSupport pngSupport;
|
2004-01-25 08:51:03 +00:00
|
|
|
|
2004-04-01 20:11:59 +01:00
|
|
|
buildInputs = [
|
|
|
|
pkgconfig perl python x11 libgnomeui
|
|
|
|
libglade scrollkeeper esound gettext
|
|
|
|
(if teletextSupport then zvbi else null)
|
|
|
|
(if jpegSupport then libjpeg else null)
|
|
|
|
(if pngSupport then libpng else null)
|
|
|
|
];
|
2004-01-21 09:34:19 +00:00
|
|
|
}
|