contrib/wxgtk/Pkgfile
2014-09-18 21:33:22 +10:00

41 lines
857 B
Plaintext

# Description: wxWidgets for GTK+.
# URL: http://www.wxwidgets.org/
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
# Packager: Antti Nykanen, aon at iki dot fi
# Depends on: gtk glu gst-plugins-base-compat
name=wxgtk
version=3.0.1
release=1
source=(http://downloads.sourceforge.net/wxwindows/wxWidgets-$version.tar.bz2
wxgtk-freeze.patch)
build() {
cd wxWidgets-$version
patch -p3 -i $SRC/wxgtk-freeze.patch
./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 DESTDIR=$PKG install
rm -r \
$PKG/usr/share/locale \
$PKG/usr/share/bakefile
}