1 # Maintainer: Joe Amenta <amentajo@msu.edu>
2 # Original Maintainer: Eric Belanger <eric@archlinux.org>
3 # Original Contributor: Tom Newsom <Jeepster@gmx.co.uk>
4 # New Version - Contributor: Bob Finch <w9ya@arrl.net>
5 # with help from J. Santiago Hirschfeld <jsantiagoh@yahoo.com.ar> aka Angelus
10 pkgdesc="GTK+ implementation of wxWidgets API for GUI, compiled with gcc-4.3"
11 arch=('i686' 'x86_64')
12 url="http://wxwidgets.org"
13 license=('custom:wxWindows')
14 provides=('wxgtk=2.8.11-1')
16 depends=('gtk2' 'gstreamer0.10-base' 'libgl')
17 makedepends=('gcc43' 'libgnomeprintui' 'gstreamer0.10-base-plugins' 'gconf' 'mesa')
18 #source=(http://downloads.sourceforge.net/wxpython/wxPython-src-${pkgver}.tar.bz2)
19 source=(http://downloads.sourceforge.net/wxwindows/wxGTK-${pkgver}.tar.bz2
21 md5sums=('6040933d200037f90f6aa1c5169e7ec6'
22 'fc91c92c10ac71892ef23b4698daedb9')
25 # cd "${srcdir}/wxPython-src-${pkgver}"
26 cd "${srcdir}/wxGTK-${pkgver}"
27 LDFLAGS="${LDFLAGS//-Wl,--as-needed/}"
28 patch -p1 < $srcdir/use-libdir.patch
29 ./configure CC=gcc-4.3 CXX=g++-4.3 --prefix=/usr --libdir=/usr/lib --with-gtk=2 --with-opengl \
30 --enable-unicode --enable-graphics_ctx --with-gnomeprint --disable-optimize --enable-mediactrl \
31 --with-libpng=sys --with-libxpm=sys --with-libjpeg=sys --with-libtiff=sys || return 1
33 make -C locale allmo || return 1
39 cd "${srcdir}/wxGTK-${pkgver}"
40 make DESTDIR="${pkgdir}" install || return 1
42 make DESTDIR="${pkgdir}" install || return 1
43 install -D -m644 ../../docs/licence.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" || return 1