milis/talimatname/genel/wxgtk28/talimat

26 lines
890 B
Plaintext
Raw Normal View History

2016-02-24 01:27:23 +01:00
# Description: GTK+ implementation of wxWidgets API for GUI
# URL: http://wxwidgets.org
2016-04-28 23:44:57 +02:00
# Packager: milisarge
2016-02-24 01:27:23 +01:00
# 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
2016-04-28 23:44:57 +02:00
make-abicheck-non-fatal.patch wxGTK-collision.patch configure_in.diff)
2016-02-24 01:27:23 +01:00
build() {
cd wx*-$version
2016-04-28 23:44:57 +02:00
2016-02-24 01:27:23 +01:00
patch -p1 -i ../wxGTK-collision.patch
patch -Np1 -i ../make-abicheck-non-fatal.patch
2016-04-28 23:44:57 +02:00
sed -i '/^SEARCH_INCLUDE="\\/s|\\|/usr/lib \\|' configure
2016-02-24 01:27:23 +01:00
./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
}