milis/talimatname/genel/wxgtk28/talimat

26 lines
890 B
Plaintext

# Description: GTK+ implementation of wxWidgets API for GUI
# URL: http://wxwidgets.org
# Packager: milisarge
# Depends on: gtk2 gstreamer-plugins-base xorg-mesa xorg-libsm xorg-libxxf86vm sdl
name=wxgtk28
version=2.8.12.1
release=1
source=(http://downloads.sourceforge.net/wxpython/wxPython-src-${version}.tar.bz2
make-abicheck-non-fatal.patch wxGTK-collision.patch configure_in.diff)
build() {
cd wx*-$version
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
}