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

Maxime Gauduin alucryd at archlinux.org
Tue Jul 21 12:03:41 UTC 2020


    Date: Tuesday, July 21, 2020 @ 12:03:41
  Author: alucryd
Revision: 664740

upgpkg: lib32-wxgtk2 3.0.5.1-1

Modified:
  lib32-wxgtk2/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-21 11:39:07 UTC (rev 664739)
+++ PKGBUILD	2020-07-21 12:03:41 UTC (rev 664740)
@@ -2,49 +2,64 @@
 # Contributor: Eric Bélanger <eric at archlinux.org>
 
 pkgname=lib32-wxgtk2
-pkgver=3.0.4
-pkgrel=2
+pkgver=3.0.5.1
+pkgrel=1
 pkgdesc='GTK+ implementation of wxWidgets API for GUI'
-arch=('x86_64')
-url='https://wxwidgets.org'
-license=('custom:wxWindows')
-depends=('lib32-gtk2' 'lib32-libsm' 'wxgtk2')
-makedepends=('lib32-glu')
-conflicts=('lib32-wxgtk')
-provides=('lib32-wxgtk')
-replaces=('lib32-wxgtk')
-source=("https://github.com/wxWidgets/wxWidgets/releases/download/v${pkgver}/wxWidgets-${pkgver}.tar.bz2"
-        'make-abicheck-non-fatal.patch')
-sha256sums=('96157f988d261b7368e5340afa1a0cad943768f35929c22841f62c25b17bf7f0'
-            'd4c2d070a06eb63f0a018c8cf687589e5ffdec601225b4d16a268ffe390fb58b')
+arch=(x86_64)
+url=https://wxwidgets.org
+license=(custom:wxWindows)
+depends=(
+  lib32-gtk2
+  lib32-libsm
+  wxgtk2
+)
+makedepends=(
+  git
+  lib32-glu
+)
+conflicts=(lib32-wxgtk)
+provides=(lib32-wxgtk)
+replaces=(lib32-wxgtk)
+_tag=db9378c1d32e84cf7ca4453932df259471d67dc9
+source=(
+  git+https://github.com/wxWidgets/wxWidgets.git?signed#tag=${_tag}
+  make-abicheck-non-fatal.patch
+)
+validpgpkeys=(31FAF2D074EC22A10AA4C6DA06EA41DE4F6C1E86) # Vadim Zeitlin <vadim at tt-solutions.com>
+sha256sums=(
+  SKIP
+  d4c2d070a06eb63f0a018c8cf687589e5ffdec601225b4d16a268ffe390fb58b
+)
 
 prepare() {
-  cd wxWidgets-${pkgver}
+  cd wxWidgets
 
   patch -Np1 -i ../make-abicheck-non-fatal.patch
+
+  ./autogen.sh
 }
 
 build() {
-  cd wxWidgets-${pkgver}
+  cd wxWidgets
 
   export CC='gcc -m32'
   export CXX='g++ -m32'
-  export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+  export PKG_CONFIG_PATH=/usr/lib32/pkgconfig
   export CFLAGS="-I/usr/include/libtiff32 $CFLAGS"
   export CXXFLAGS="-I/usr/include/libtiff32 $CXXFLAGS"
 
   ./configure \
-    --prefix='/usr' \
-    --libdir='/usr/lib32' \
+    --prefix=/usr \
+    --libdir=/usr/lib32 \
     --enable-graphics_ctx \
     --enable-unicode \
     --disable-mediactrl \
     --disable-precomp-headers \
     --disable-webview \
-    --with-gtk='2' \
-    --with-lib{jpeg,png,tiff,xpm}='sys' \
+    --with-gtk=2 \
+    --with-lib{jpeg,png,tiff,xpm}=sys \
     --with-opengl \
-    --with-regex='builtin' \
+    --with-regex=builtin \
     --without-libnotify
   make
   make -C locale allmo
@@ -51,9 +66,7 @@
 }
 
 package() {
-  cd wxWidgets-${pkgver}
-
-  make DESTDIR="${pkgdir}" install
+  make DESTDIR="${pkgdir}" -C wxWidgets install
   rm -rf "${pkgdir}"/usr/{bin/{wx-config,wxrc},include,share}
   mv "${pkgdir}"/usr/bin/wxrc{,32}-3.0
   ln -s /usr/bin/wxrc32-3.0 "${pkgdir}"/usr/bin/wxrc32



More information about the arch-commits mailing list