blob: b26e959f6adb211950e07c47a9b37231deb69fa0 (
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.0.5.1
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 ./configure \
20 --prefix=/usr \
21 --libdir=/usr/lib \
22 --with-gtk=2 \
23 --with-opengl \
24 --enable-unicode \
25 --enable-graphics_ctx \
26 --enable-mediactrl \
27 --enable-webview \
28 --with-regex=builtin \
29 --with-libpng=sys \
30 --with-libxpm=sys \
31 --with-libjpeg=sys \
32 --with-libtiff=sys \
33 --disable-precomp-headers
34
35 make
36 make DESTDIR=$PKG install
37
38 rm -r $PKG/usr/{include,share,lib/libwx_base*,bin/wxrc*}
39 }
|