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

Bruno Pagani archange at archlinux.org
Tue Dec 26 16:44:18 UTC 2017


    Date: Tuesday, December 26, 2017 @ 16:44:17
  Author: archange
Revision: 276113

Revert to gtk2

Since this never left [community-testing], keep the previous pkgrel and don't publish a new version.

Modified:
  wxpython/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-26 16:36:34 UTC (rev 276112)
+++ PKGBUILD	2017-12-26 16:44:17 UTC (rev 276113)
@@ -3,12 +3,12 @@
 
 pkgname=wxpython
 pkgver=3.0.2.0
-pkgrel=4
+pkgrel=3
 pkgdesc="A wxWidgets GUI toolkit for Python"
 arch=('x86_64')
 license=('custom:wxWindows')
 url="https://www.wxpython.org"
-depends=('wxgtk3' 'python2')
+depends=('wxgtk2' 'python2')
 makedepends=('mesa' 'glu')
 source=("https://downloads.sourceforge.net/wxpython/wxPython-src-${pkgver}.tar.bz2")
 sha256sums=('d54129e5fbea4fb8091c87b2980760b72c22a386cb3b9dd2eebc928ef5e8df61')
@@ -23,7 +23,7 @@
         --prefix=/usr \
         --libdir=/usr/lib \
         --includedir=/usr/include \
-        --with-gtk=3 \
+        --with-gtk=2 \
         --with-opengl \
         --enable-unicode \
         --enable-graphics_ctx \
@@ -35,11 +35,11 @@
         --with-libtiff=sys \
         --with-wx-config=/usr/bin/wx-config-gtk3
     cd wxPython
-    python2 setup.py WX_CONFIG=/usr/bin/wx-config-gtk3 WXPORT=gtk3 UNICODE=1 build
+    python2 setup.py WXPORT=gtk2 UNICODE=1 build
 }
 
 package() {
     cd wxPython-src-${pkgver}/wxPython
-    python2 setup.py WX_CONFIG=/usr/bin/wx-config-gtk3 WXPORT=gtk3 UNICODE=1 install --root="${pkgdir}"
+    python2 setup.py WXPORT=gtk2 UNICODE=1 install --root="${pkgdir}"
     install -Dm644 ../docs/licence.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
 }



More information about the arch-commits mailing list