2004-01-25 09:51:03 +01: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 10:34:19 +01:00
|
|
|
|
|
|
|
assert !isNull pkgconfig && !isNull perl && !isNull python &&
|
|
|
|
!isNull x11 && !isNull libgnomeui && !isNull libglade &&
|
2004-01-21 14:17:18 +01:00
|
|
|
!isNull scrollkeeper && !isNull esound && !isNull gettext;
|
2004-01-21 10:34:19 +01:00
|
|
|
|
2004-01-25 09:51:03 +01:00
|
|
|
assert teletextSupport -> !isNull zvbi && zvbi.pngSupport
|
|
|
|
&& pngSupport && zvbi.libpng == libpng;
|
|
|
|
|
|
|
|
assert jpegSupport -> !isNull libjpeg;
|
|
|
|
assert pngSupport -> !isNull libpng;
|
2004-01-21 10:34:19 +01:00
|
|
|
|
|
|
|
derivation {
|
2004-01-21 14:17:18 +01:00
|
|
|
name = "zapping-0.7cvs6";
|
2004-01-21 10:34:19 +01:00
|
|
|
system = stdenv.system;
|
|
|
|
|
|
|
|
builder = ./builder.sh;
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://heanet.dl.sourceforge.net/sourceforge/zapping/zapping-0.7cvs6.tar.bz2;
|
|
|
|
md5 = "cdedc0088c70f4520c37066ec05cb996";
|
|
|
|
};
|
|
|
|
|
2004-01-25 09:51:03 +01:00
|
|
|
teletextSupport = teletextSupport;
|
|
|
|
jpegSupport = jpegSupport;
|
|
|
|
pngSupport = pngSupport;
|
|
|
|
|
2004-01-21 10:34:19 +01:00
|
|
|
stdenv = stdenv;
|
|
|
|
pkgconfig = pkgconfig;
|
|
|
|
perl = perl;
|
|
|
|
python = python;
|
|
|
|
x11 = x11;
|
|
|
|
libgnomeui = libgnomeui;
|
|
|
|
libglade = libglade;
|
|
|
|
scrollkeeper = scrollkeeper;
|
|
|
|
esound = esound;
|
2004-01-21 14:17:18 +01:00
|
|
|
gettext = gettext;
|
2004-01-25 09:51:03 +01:00
|
|
|
zvbi = if teletextSupport then zvbi else null;
|
|
|
|
libjpeg = if jpegSupport then libjpeg else null;
|
|
|
|
libpng = if pngSupport then libpng else null;
|
2004-01-21 10:34:19 +01:00
|
|
|
}
|