2006-07-05 01:48:18 +02:00
|
|
|
{stdenv, fetchurl, pkgconfig, gtk, libXinerama, compat22 ? true, unicode ? true}:
|
2005-10-19 17:15:37 +02:00
|
|
|
|
|
|
|
assert pkgconfig != null && gtk != null;
|
|
|
|
assert gtk.libtiff != null;
|
|
|
|
assert gtk.libjpeg != null;
|
|
|
|
assert gtk.libpng != null;
|
|
|
|
assert gtk.libpng.zlib != null;
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2006-06-24 00:41:47 +02:00
|
|
|
name = "wxGTK-2.6.3";
|
2005-10-19 17:15:37 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2006-10-12 15:50:54 +02:00
|
|
|
url = http://nix.cs.uu.nl/dist/tarballs/wxGTK-2.6.3.tar.bz2;
|
2006-06-24 00:41:47 +02:00
|
|
|
md5 = "3cd76c3c47913e52a3175dd47239c6ec";
|
2005-10-19 17:15:37 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
pkgconfig gtk gtk.libtiff gtk.libjpeg gtk.libpng gtk.libpng.zlib
|
|
|
|
libXinerama
|
|
|
|
];
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--enable-gtk2"
|
|
|
|
(if compat22 then "--enable-compat22" else "--disable-compat22")
|
|
|
|
"--disable-precomp-headers"
|
2006-07-11 09:55:52 +02:00
|
|
|
(if unicode then "--enable-unicode" else "")
|
2005-10-19 17:15:37 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
inherit gtk compat22;
|
|
|
|
}
|