#Packager: Dimitris Tzemos pkgname=wxGTK3 pkgver=3.0.2 pkgrel=2dj source=(http://downloads.sourceforge.net/wxwindows/wxWidgets-${pkgver}.tar.bz2 make-abicheck-non-fatal.patch) url="http://wxwidgets.org" docs=("docs/*") slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "$pkgname (wxWidgets toolkit for GTK)" "wxWidgets lets developers create applications for Win32, Mac OS X," "GTK+, X11, Motif, WinCE, and more using one codebase. It can be used" "from languages such as C++, Python, Perl, and C#/.NET. Unlike other" "cross-platform toolkits, wxWidgets applications look and feel native." "This is because wxWidgets uses the platform's own native controls" "rather than emulating them. It's also extensive, free, open-source," "and mature." "" "This package is built with GTK+2.0 and compatible with wxPython." ) build() { cd $SRC/wxWidgets-$pkgver # C++ ABI check is too strict and breaks with GCC 5.1 # https://bugzilla.redhat.com/show_bug.cgi?id=1200611 patch -Np1 -i ../make-abicheck-non-fatal.patch || return 1 ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --enable-shared \ --enable-mediactrl \ --with-opengl \ --enable-graphics_ctx \ --with-gtk=3 \ --enable-unicode \ --enable-plugins \ --enable-ipv6 \ --enable-stl \ --build=$arch-slackware-linux make make install DESTDIR=$PKG # Now let's fix the broken symlink created by the package ln -fs /usr/lib${LIBDIRSUFFIX}/wx/config/gtk3-unicode-3.0 \ $PKG/usr/bin/wx-config }