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)
25 conflicts=(lib32-wxgtk)
26 provides=(lib32-wxgtk)
27 replaces=(lib32-wxgtk)
28 _tag=db9378c1d32e84cf7ca4453932df259471d67dc9
30 git+https://github.com/wxWidgets/wxWidgets.git?signed#tag=${_tag}
31 make-abicheck-non-fatal.patch
33 validpgpkeys=(31FAF2D074EC22A10AA4C6DA06EA41DE4F6C1E86) # Vadim Zeitlin <vadim@tt-solutions.com>
36 d4c2d070a06eb63f0a018c8cf687589e5ffdec601225b4d16a268ffe390fb58b
42 patch -Np1 -i ../make-abicheck-non-fatal.patch
52 export PKG_CONFIG_PATH=/usr/lib32/pkgconfig
53 export CFLAGS="-I/usr/include/libtiff32 $CFLAGS"
54 export CXXFLAGS="-I/usr/include/libtiff32 $CXXFLAGS"
59 --enable-graphics_ctx \
62 --disable-precomp-headers \
65 --with-lib{jpeg,png,tiff}=sys \
67 --with-regex=builtin \
74 make DESTDIR="${pkgdir}" -C wxWidgets install
75 rm -rf "${pkgdir}"/usr/{bin/{wx-config,wxrc},include,share}
76 mv "${pkgdir}"/usr/bin/wxrc{,32}-3.0
77 ln -s /usr/bin/wxrc32-3.0 "${pkgdir}"/usr/bin/wxrc32
78 ln -s /usr/lib32/wx/config/gtk3-unicode-3.0 "${pkgdir}"/usr/bin/wx-config32
80 install -dm 755 "${pkgdir}"/usr/share/licenses
81 ln -s wxgtk3 "${pkgdir}"/usr/share/licenses/lib32-wxgtk3