1 # Maintainer: Maxime Gauduin <alucryd@archlinux.org>
2 # Contributor: Eric BĂ©langer <eric@archlinux.org>
7 pkgdesc='GTK+ implementation of wxWidgets API for GUI'
9 url=https://wxwidgets.org
10 license=(custom:wxWindows)
20 conflicts=(lib32-wxgtk)
21 provides=(lib32-wxgtk)
22 replaces=(lib32-wxgtk)
23 _tag=db9378c1d32e84cf7ca4453932df259471d67dc9
25 git+https://github.com/wxWidgets/wxWidgets.git?signed#tag=${_tag}
26 make-abicheck-non-fatal.patch
28 validpgpkeys=(31FAF2D074EC22A10AA4C6DA06EA41DE4F6C1E86) # Vadim Zeitlin <vadim@tt-solutions.com>
31 d4c2d070a06eb63f0a018c8cf687589e5ffdec601225b4d16a268ffe390fb58b
37 patch -Np1 -i ../make-abicheck-non-fatal.patch
47 export PKG_CONFIG_PATH=/usr/lib32/pkgconfig
48 export CFLAGS="-I/usr/include/libtiff32 $CFLAGS"
49 export CXXFLAGS="-I/usr/include/libtiff32 $CXXFLAGS"
54 --enable-graphics_ctx \
57 --disable-precomp-headers \
60 --with-lib{jpeg,png,tiff,xpm}=sys \
62 --with-regex=builtin \
69 make DESTDIR="${pkgdir}" -C wxWidgets install
70 rm -rf "${pkgdir}"/usr/{bin/{wx-config,wxrc},include,share}
71 mv "${pkgdir}"/usr/bin/wxrc{,32}-3.0
72 ln -s /usr/bin/wxrc32-3.0 "${pkgdir}"/usr/bin/wxrc32
73 ln -s /usr/lib32/wx/config/gtk2-unicode-3.0 "${pkgdir}"/usr/bin/wx-config32
75 install -dm 755 "${pkgdir}"/usr/share/licenses
76 ln -s wxgtk2 "${pkgdir}"/usr/share/licenses/lib32-wxgtk2