summaryrefslogtreecommitdiff
path: root/wxgtk/Pkgfile
blob: 9aba4c079dd77114e89143d3e6270ef90b6bf85e (plain)
    1 # Description: wxWidgets for GTK+.
    2 # URL: http://www.wxwidgets.org/
    3 # Maintainer: Danny Rawlins, crux at romster dot me
    4 # Depends on: gtk glu gst-plugins-base
    5 
    6 name=wxgtk
    7 version=3.0.3
    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 	# C++ ABI check is too strict and breaks with GCC 5.1
   16 	# https://bugzilla.redhat.com/show_bug.cgi?id=1200611
   17 	patch -p1 -i $SRC/make-abicheck-non-fatal.patch
   18 
   19 	./autogen.sh
   20 	./configure \
   21 		--prefix=/usr \
   22 		--libdir=/usr/lib \
   23 		--with-gtk=2 \
   24 		--with-opengl \
   25 		--enable-unicode \
   26 		--enable-graphics_ctx \
   27 		--enable-mediactrl \
   28 		--enable-webview \
   29 		--with-regex=builtin \
   30 		--with-libpng=sys \
   31 		--with-libxpm=sys \
   32 		--with-libjpeg=sys \
   33 		--with-libtiff=sys \
   34 		--disable-precomp-headers
   35 
   36 	make
   37 	make DESTDIR=$PKG install
   38 
   39 	rm -r \
   40 		$PKG/usr/share/locale \
   41 		$PKG/usr/share/bakefile
   42 }

Generated by cgit