From 4db5cee76c1bcb1cc400b95ae16f5059a8d71561 Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Tue, 7 Aug 2012 15:52:29 -0500
Subject: wxgtk 2.8.12.1

---
 abs/extra/wxgtk/PKGBUILD    | 29 +++++++++++++++--------------
 abs/extra/wxgtk/__changelog |  1 -
 2 files changed, 15 insertions(+), 15 deletions(-)
 delete mode 100644 abs/extra/wxgtk/__changelog

diff --git a/abs/extra/wxgtk/PKGBUILD b/abs/extra/wxgtk/PKGBUILD
index 7eb97bb..62dfb90 100644
--- a/abs/extra/wxgtk/PKGBUILD
+++ b/abs/extra/wxgtk/PKGBUILD
@@ -1,26 +1,26 @@
-# $Id: PKGBUILD 99629 2010-11-15 21:53:38Z eric $
-# Maintainer: Eric Belanger <eric@archlinux.org>
+# $Id: PKGBUILD 148966 2012-02-05 11:58:12Z ibiru $
+# Maintainer: Eric Bélanger <eric@archlinux.org>
 
 pkgname=wxgtk
-pkgver=2.8.11
-pkgrel=2
+pkgver=2.8.12.1
+pkgrel=3
 pkgdesc="GTK+ implementation of wxWidgets API for GUI"
 arch=('i686' 'x86_64')
 url="http://wxwidgets.org"
 license=('custom:wxWindows')
-depends=('gtk2' 'gstreamer0.10-base' 'libgl' 'libxxf86vm')
+depends=('gtk2' 'gstreamer0.10-base' 'libgl' 'libxxf86vm' 'libsm')
 makedepends=('gstreamer0.10-base-plugins' 'gconf' 'mesa')
-#source=(http://downloads.sourceforge.net/wxpython/wxPython-src-${pkgver}.tar.bz2)
-source=(http://downloads.sourceforge.net/wxwindows/wxGTK-${pkgver}.tar.bz2)
-md5sums=('6040933d200037f90f6aa1c5169e7ec6')
-sha1sums=('e979d9d2b1ee5bd10e90fd00b02f3306327c661a')
+#source=(http://downloads.sourceforge.net/wxwindows/wxGTK-${pkgver}.tar.bz2)
+source=(http://downloads.sourceforge.net/wxpython/wxPython-src-${pkgver}.tar.bz2)
+sha1sums=('05688dc03d61631750f5904273122bb40a2115f5')
 
 build() {
-#  cd "${srcdir}/wxPython-src-${pkgver}"
-  cd "${srcdir}/wxGTK-${pkgver}"
+  cd "${srcdir}/wxPython-src-${pkgver}"
+#  cd "${srcdir}/wxGTK-${pkgver}"
   ./configure --prefix=/usr --libdir=/usr/lib --with-gtk=2 --with-opengl --enable-unicode \
-    --enable-graphics_ctx --disable-optimize --enable-mediactrl \
-    --with-libpng=sys --with-libxpm=sys --with-libjpeg=sys --with-libtiff=sys
+    --enable-graphics_ctx  --disable-optimize --enable-mediactrl --with-regex=builtin \
+    --with-libpng=sys --with-libxpm=sys --with-libjpeg=sys --with-libtiff=sys \
+    --disable-precomp-headers
   make
   make -C locale allmo
   cd contrib/src
@@ -28,7 +28,8 @@ build() {
 }
 
 package() {
-  cd "${srcdir}/wxGTK-${pkgver}"
+  cd "${srcdir}/wxPython-src-${pkgver}"
+#  cd "${srcdir}/wxGTK-${pkgver}"
   make DESTDIR="${pkgdir}" install
   cd contrib/src
   make DESTDIR="${pkgdir}" install
diff --git a/abs/extra/wxgtk/__changelog b/abs/extra/wxgtk/__changelog
deleted file mode 100644
index 3bf8bed..0000000
--- a/abs/extra/wxgtk/__changelog
+++ /dev/null
@@ -1 +0,0 @@
-remove libgnomeprint
-- 
cgit v0.12

