2004-01-25 00:51:03 -08:00
|
|
|
{ teletextSupport ? true
|
|
|
|
, jpegSupport ? true
|
|
|
|
, pngSupport ? true
|
2004-05-01 11:17:56 -07:00
|
|
|
# !!! libXext shouldn't be necessary (it's in x11); but the builder needs it.
|
|
|
|
, stdenv, fetchurl, pkgconfig, perl, python, x11, libXv, libXext, libgnomeui
|
2004-01-25 00:51:03 -08:00
|
|
|
, libglade, scrollkeeper, esound, gettext
|
|
|
|
, zvbi ? null, libjpeg ? null, libpng ? null }:
|
2004-01-21 01:34:19 -08:00
|
|
|
|
2004-03-29 02:25:25 -08:00
|
|
|
assert pkgconfig != null && perl != null && python != null &&
|
2004-05-01 11:17:56 -07:00
|
|
|
x11 != null && libXv != null && libgnomeui != null && libglade != null &&
|
2004-03-29 02:25:25 -08:00
|
|
|
scrollkeeper != null && esound != null && gettext != null;
|
2004-01-21 01:34:19 -08:00
|
|
|
|
2004-03-29 02:25:25 -08:00
|
|
|
assert teletextSupport -> zvbi != null && zvbi.pngSupport
|
2004-04-01 11:11:59 -08:00
|
|
|
/* !!! && pngSupport && zvbi.libpng == libpng */;
|
2004-01-25 00:51:03 -08:00
|
|
|
|
2004-03-29 02:25:25 -08:00
|
|
|
assert jpegSupport -> libjpeg != null;
|
|
|
|
assert pngSupport -> libpng != null;
|
2004-01-21 01:34:19 -08:00
|
|
|
|
2004-03-29 09:23:01 -08:00
|
|
|
stdenv.mkDerivation {
|
2004-01-21 05:17:18 -08:00
|
|
|
name = "zapping-0.7cvs6";
|
2004-01-21 01:34:19 -08:00
|
|
|
|
|
|
|
builder = ./builder.sh;
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://heanet.dl.sourceforge.net/sourceforge/zapping/zapping-0.7cvs6.tar.bz2;
|
|
|
|
md5 = "cdedc0088c70f4520c37066ec05cb996";
|
|
|
|
};
|
|
|
|
|
2004-05-01 11:17:56 -07:00
|
|
|
inherit teletextSupport jpegSupport pngSupport libXext;
|
2004-01-25 00:51:03 -08:00
|
|
|
|
2004-04-01 11:11:59 -08:00
|
|
|
buildInputs = [
|
2004-05-01 11:17:56 -07:00
|
|
|
pkgconfig perl python x11 libXv libgnomeui
|
2004-04-01 11:11:59 -08:00
|
|
|
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 01:34:19 -08:00
|
|
|
}
|