# $Id: PKGBUILD 63766 2010-01-18 14:31:06Z pierre $ # Maintainer: Eric Belanger # Original Contributor: Tom Newsom # New Version - Contributor: Bob Finch # with help from J. Santiago Hirschfeld aka Angelus pkgname=wxgtk pkgver=2.8.10.1 pkgrel=6 pkgdesc="GTK+ implementation of wxWidgets API for GUI" arch=('i686' 'x86_64') url="http://wxwidgets.org" license=('custom:wxWindows') depends=('gtk2' 'mesa' 'gstreamer0.10-base') makedepends=('gstreamer0.10-base-plugins' 'gconf' 'ccache') options=('ccache') # required to build libwx_gtk2u_mmedia #source=(http://downloads.sourceforge.net/wxwindows/wxGTK-${pkgver}.tar.bz2) source=(http://downloads.sourceforge.net/wxpython/wxPython-src-${pkgver}.tar.bz2 \ overflow.patch gsocket.patch) md5sums=('65d5ef166f23fe8b4c67f58df164f93e' '325dba65152bc0cfbc1400a2bf54508e'\ 'b56113a94125e4f9a3cc2680052bdfde') sha1sums=('6598fbafd979a91f20100171fa23a91779f6dc62' '7c4d1d507aad0b7c25a0de55234be42ea3e3f55f'\ '5b0e985afd77153e8e4b9e14987d4b1a9de53acc') build() { cd "${srcdir}/wxPython-src-${pkgver}" # cd "${srcdir}/wxGTK-${pkgver}" patch -p4 < ../overflow.patch || return 1 patch -p1 < ../gsocket.patch || return 1 ./configure --prefix=/usr --libdir=/usr/lib --with-gtk=2 --with-opengl --enable-unicode \ --enable-graphics_ctx --disable-optimize --enable-mediactrl || return 1 make || return 1 make -C locale allmo || return 1 make DESTDIR="${pkgdir}" install || return 1 cd contrib/src make || return 1 make DESTDIR="${pkgdir}" install || return 1 install -D -m644 ../../docs/licence.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" || return 1 }