[arch-commits] Commit in wxpython/trunk (PKGBUILD)
Balló György
bgyorgy at archlinux.org
Sun Jan 28 21:16:40 UTC 2018
Date: Sunday, January 28, 2018 @ 21:16:39
Author: bgyorgy
Revision: 287674
upgpkg: wxpython 3.0.2.0-7
Rebuild with wxgtk3 again, kicad is no longer a blocker
Modified:
wxpython/trunk/PKGBUILD
----------+
PKGBUILD | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-01-28 21:15:52 UTC (rev 287673)
+++ PKGBUILD 2018-01-28 21:16:39 UTC (rev 287674)
@@ -3,12 +3,12 @@
pkgname=wxpython
pkgver=3.0.2.0
-pkgrel=6
+pkgrel=7
pkgdesc="A wxWidgets GUI toolkit for Python"
arch=('x86_64')
license=('custom:wxWindows')
url="https://www.wxpython.org"
-depends=('wxgtk2' 'python2')
+depends=('wxgtk3' 'python2')
makedepends=('mesa' 'glu')
source=("https://downloads.sourceforge.net/wxpython/wxPython-src-${pkgver}.tar.bz2"
"fix-plot.patch")
@@ -29,7 +29,7 @@
--prefix=/usr \
--libdir=/usr/lib \
--includedir=/usr/include \
- --with-gtk=2 \
+ --with-gtk=3 \
--with-opengl \
--enable-unicode \
--enable-graphics_ctx \
@@ -38,14 +38,14 @@
--with-libpng=sys \
--with-libxpm=sys \
--with-libjpeg=sys \
- --with-libtiff=sys
-# --with-wx-config=/usr/bin/wx-config-gtk3
+ --with-libtiff=sys \
+ --with-wx-config=/usr/bin/wx-config-gtk3
cd wxPython
- python2 setup.py WXPORT=gtk2 UNICODE=1 build
+ python2 setup.py WX_CONFIG=/usr/bin/wx-config-gtk3 WXPORT=gtk3 UNICODE=1 build
}
package() {
cd wxPython-src-${pkgver}/wxPython
- python2 setup.py WXPORT=gtk2 UNICODE=1 install --root="${pkgdir}"
+ python2 setup.py WX_CONFIG=/usr/bin/wx-config-gtk3 WXPORT=gtk3 UNICODE=1 install --root="${pkgdir}"
install -Dm644 ../docs/licence.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
}
More information about the arch-commits
mailing list