1 # Maintainer: Devin Cofer <ranguvar@archlinux.us>
2 # Contributor: Yggdrasil <tetzank@web.de>
3 # Contributor: Eric Belanger <eric@archlinux.org>
4 # Contributor: Tom Newsom <Jeepster@gmx.co.uk>
5 # Contributor: Bob Finch <w9ya@arrl.net>
6 # Contributor: J. Santiago "Angelus" Hirschfeld <jsantiagoh@yahoo.com.ar>
12 pkgdesc="GTK+ implementation of wxWidgets API for GUI (lib32)"
14 url="http://wxwidgets.org/"
15 license=('custom:wxWindows')
17 makedepends=('gcc-multilib' 'gconf' 'ccache' 'lib32-mesa')
18 depends=('wxgtk' 'lib32-gtk2' 'lib32-libgl' 'lib32-libxxf86vm' 'lib32-libsm')
20 source=("http://downloads.sourceforge.net/wxwindows/wxGTK-$pkgver.tar.bz2")
21 sha256sums=('f4193c29fb0e790c9a5c8936f082377a7e51c76bccafe41f4f9da7ca15c0ef1a')
23 options=('ccache') # Required to build libwx_gtk2u_mmedia
28 cd "$srcdir"/wxGTK-$pkgver
29 ./configure --prefix=/usr --libdir=/usr/lib32 --with-gtk=2 \
30 --with-opengl --enable-unicode --enable-graphics_ctx \
31 --with-gnomeprint --disable-optimize --disable-mediactrl \
32 --with-libpng=sys --with-libxpm=sys --with-libjpeg=sys \
36 cd contrib/src && make
39 cd "$srcdir"/wxGTK-$pkgver
40 make DESTDIR="$pkgdir" install
43 make DESTDIR="$pkgdir" install
45 install -Dm644 ../../docs/licence.txt "$pkgdir"/usr/share/licenses/$pkgname/COPYING
47 rm -rf "$pkgdir"/usr/{include,share,bin}