41 lines
1001 B
Plaintext
41 lines
1001 B
Plaintext
|
# Description: GTK+3 implementation of wxWidgets API for GUI
|
||
|
# URL: http://www.wxwidgets.org/
|
||
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
||
|
# Depends on: gtk3 wxgtk-common
|
||
|
|
||
|
name=wxgtk3
|
||
|
version=3.0.5.1
|
||
|
release=1
|
||
|
source=(https://github.com/wxWidgets/wxWidgets/releases/download/v$version/wxWidgets-$version.tar.bz2
|
||
|
make-abicheck-non-fatal.patch)
|
||
|
|
||
|
build() {
|
||
|
cd wxWidgets-$version
|
||
|
|
||
|
# C++ ABI check is too strict and breaks with GCC 5.1
|
||
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1200611
|
||
|
patch -p1 -i $SRC/make-abicheck-non-fatal.patch
|
||
|
|
||
|
./configure \
|
||
|
--prefix=/usr \
|
||
|
--libdir=/usr/lib \
|
||
|
--with-gtk=3 \
|
||
|
--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/{include,share,lib/libwx_base*,bin/wxrc*}
|
||
|
mv $PKG/usr/bin/wx-config{,-gtk3}
|
||
|
}
|