[arch-commits] Commit in wxgtk/trunk (PKGBUILD)

Eric Bélanger eric at nymeria.archlinux.org
Sun Jan 5 16:01:12 UTC 2014


    Date: Sunday, January 5, 2014 @ 17:01:12
  Author: eric
Revision: 203207

upgpkg: wxgtk 3.0.0-1

Upstream update, Add glu makedepends, Add webkitgtk2 optdepends

Modified:
  wxgtk/trunk/PKGBUILD

----------+
 PKGBUILD |   25 ++++++++++++-------------
 1 file changed, 12 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-01-05 15:57:51 UTC (rev 203206)
+++ PKGBUILD	2014-01-05 16:01:12 UTC (rev 203207)
@@ -2,32 +2,31 @@
 # Maintainer: Eric Bélanger <eric at archlinux.org>
 
 pkgname=wxgtk
-pkgver=2.8.12.1
-pkgrel=5
+pkgver=3.0.0
+pkgrel=1
 pkgdesc="GTK+ implementation of wxWidgets API for GUI"
 arch=('i686' 'x86_64')
 url="http://wxwidgets.org"
 license=('custom:wxWindows')
-depends=('gtk2' 'gstreamer0.10-base' 'sdl')
-makedepends=('gstreamer0.10-base-plugins' 'gconf')
-#source=(http://downloads.sourceforge.net/wxwindows/wxGTK-${pkgver}.tar.bz2)
-source=(http://downloads.sourceforge.net/wxpython/wxPython-src-${pkgver}.tar.bz2)
-sha1sums=('05688dc03d61631750f5904273122bb40a2115f5')
+depends=('gtk2' 'gstreamer0.10-base')
+makedepends=('gstreamer0.10-base-plugins' 'gconf' 'webkitgtk2' 'glu')
+optdepends=('webkitgtk2: for webview support')
+options=('!emptydirs')
+source=(http://downloads.sourceforge.net/wxwindows/wxWidgets-${pkgver}.tar.bz2)
+sha1sums=('756a9c54d1f411e262f03bacb78ccef085a9880a')
 
 build() {
-  cd wx*-${pkgver}
+  cd wxWidgets-${pkgver}
   ./configure --prefix=/usr --libdir=/usr/lib --with-gtk=2 --with-opengl --enable-unicode \
-    --enable-graphics_ctx  --disable-optimize --enable-mediactrl --with-regex=builtin \
+    --enable-graphics_ctx --enable-mediactrl --enable-webview --with-regex=builtin \
     --with-libpng=sys --with-libxpm=sys --with-libjpeg=sys --with-libtiff=sys \
-    --with-sdl --disable-precomp-headers
+    --disable-precomp-headers
   make
   make -C locale allmo
-  make -C contrib/src
 }
 
 package() {
-  cd wx*-${pkgver}
+  cd wxWidgets-${pkgver}
   make DESTDIR="${pkgdir}" install
-  make -C contrib/src DESTDIR="${pkgdir}" install
   install -D -m644 docs/licence.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 }




More information about the arch-commits mailing list