# Tanım: GUI için GTK+ wxWidgets API'sının uygulanması
# URL: http://wxwidgets.org
# Paketçi: milisarge
# Gerekler: gtk2 gstreamer-plugins-base xorg-mesa xorg-libsm xorg-libxxf86vm sdl
# Grup: geliştirme sistem

isim=wxgtk28
surum=2.8.12.1
devir=1

kaynak=(http://downloads.sourceforge.net/wxpython/wxPython-src-${surum}.tar.bz2
	make-abicheck-non-fatal.patch wxGTK-collision.patch configure_in.diff)
derle() {
cd wx*-$surum

patch -p1 -i ../wxGTK-collision.patch
patch -Np1 -i ../make-abicheck-non-fatal.patch
sed -i '/^SEARCH_INCLUDE="\\/s|\\|/usr/lib \\|' configure   
./configure --prefix=/usr --libdir=/usr/lib --with-gtk=2 --with-opengl --enable-unicode \
--enable-graphics_ctx  --enable-mediactrl --enable-webview --with-regex=builtin \
--with-libpng=sys --with-libxpm=sys --with-libjpeg=sys --with-libtiff=sys \
--disable-precomp-headers
make
make -C locale allmo
make DESTDIR=$PKG install
}
