description="GTK+ implementation of wxWidgets API for GUI" url="http://wxwidgets.org" packager="spiky " contributors="Pierre,Greg,Rems,Tnut" makedepends=(gtk2 gtk3 gstreamer-plugins-base libnotify xorg-libsm xorg-libxxf86vm xorg-glu webkitgtk) name=wxgtk version=3.2.2.1 source=(https://github.com/wxWidgets/wxWidgets/releases/download/v$version/wxWidgets-$version.tar.bz2 make-abicheck-non-fatal.patch) prepare() { cd wxWidgets-${version} # patch -Np1 -i ../make-abicheck-non-fatal.patch } build() { cd wxWidgets-${version} ./autogen.sh ./configure --prefix=/usr \ --libdir=/usr/lib \ --with-gtk=3 \ --with-opengl \ --enable-unicode \ --enable-graphics_ctx \ --enable-mediactrl \ --with-regex=builtin \ --with-libpng=sys \ --with-libxpm=sys \ --with-libjpeg=sys \ --with-libtiff=sys \ --disable-precomp-headers make make -C locale allmo } package() { cd wxWidgets-$version make DESTDIR=$PKG install }