[arch-commits] Commit in wxgtk/repos/extra-i686 (PKGBUILD)

Eric Bélanger eric at archlinux.org
Tue Sep 2 19:45:22 UTC 2014


    Date: Tuesday, September 2, 2014 @ 21:45:22
  Author: eric
Revision: 220911

Added:
  wxgtk/repos/extra-i686/PKGBUILD

----------+
 PKGBUILD |   38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

Added: PKGBUILD
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2014-09-02 19:45:22 UTC (rev 220911)
@@ -0,0 +1,38 @@
+# $Id: PKGBUILD 220905 2014-09-02 18:43:40Z eric $
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=wxgtk
+pkgver=3.0.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' 'libsm')
+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 wxgtk-freeze.patch)
+sha1sums=('73e58521d6871c9f4d1e7974c6e3a81629fddcf8'
+          'f9b70baea573e309c6adcbb08a742592b45b2084')
+
+prepare() {
+  cd wxWidgets-${pkgver}
+  patch -p3 -i "${srcdir}/wxgtk-freeze.patch"
+}
+
+build() {
+  cd wxWidgets-${pkgver}
+  ./configure --prefix=/usr --libdir=/usr/lib --with-gtk=2 --with-opengl --enable-unicode \
+    --enable-graphics_ctx --enable-mediactrl --enable-webview --with-regex=builtin \
+    --with-libpng=sys --with-libxpm=sys --with-libjpeg=sys --with-libtiff=sys \
+    --disable-precomp-headers
+  make
+  make -C locale allmo
+}
+
+package() {
+  cd wxWidgets-${pkgver}
+  make DESTDIR="${pkgdir}" install
+  install -D -m644 docs/licence.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}




More information about the arch-commits mailing list