summaryrefslogtreecommitdiff
path: root/wxgtk/Pkgfile
blob: 2159eda17933ae72eb778d23a98a4db70d2a2da8 (plain)
    1 # Description: GTK+2 implementation of wxWidgets API for GUI
    2 # URL: http://www.wxwidgets.org/
    3 # Maintainer: Danny Rawlins, crux at romster dot me
    4 # Depends on: wxgtk-common
    5 
    6 name=wxgtk
    7 version=3.2.0
    8 release=1
    9 source=(https://github.com/wxWidgets/wxWidgets/releases/download/v$version/wxWidgets-$version.tar.bz2
   10 	make-abicheck-non-fatal.patch)
   11 
   12 build() {
   13 	cd wxWidgets-$version
   14 
   15 	./configure \
   16 		--prefix=/usr \
   17 		--libdir=/usr/lib \
   18 		--with-gtk=2 \
   19 		--with-opengl \
   20 		--enable-unicode \
   21 		--enable-graphics_ctx \
   22 		--enable-mediactrl \
   23 		--enable-webview \
   24 		--with-regex=builtin \
   25 		--with-libpng=sys \
   26 		--with-libxpm=sys \
   27 		--with-libjpeg=sys \
   28 		--with-libtiff=sys \
   29 		--disable-precomp-headers
   30 
   31 	make
   32 	make DESTDIR=$PKG install
   33 
   34 	rm -r $PKG/usr/{include,share,lib/libwx_base*,bin/wxrc*}
   35 }

Generated by cgit