mirror of
https://github.com/outbackdingo/ports.git
synced 2026-01-28 02:20:05 +00:00
updated
This commit is contained in:
32
core/python2-wxpython3/spkgbuild
Normal file
32
core/python2-wxpython3/spkgbuild
Normal file
@@ -0,0 +1,32 @@
|
||||
# description : Classic wxWidgets GUI toolkit for Python
|
||||
# depends : wxgtk3 python2 mesa glu
|
||||
|
||||
name=python2-wxpython3
|
||||
version=3.0.2.0
|
||||
release=1
|
||||
source=(https://downloads.sourceforge.net/sourceforge/wxpython/wxPython-src-$version.tar.bz2)
|
||||
md5sum=(922b02ff2c0202a7bf1607c98bbbbc04)
|
||||
|
||||
build() {
|
||||
cd wxPython-src-$version
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/lib \
|
||||
--includedir=/usr/include \
|
||||
--with-gtk=3 \
|
||||
--with-opengl \
|
||||
--enable-unicode \
|
||||
--enable-graphics_ctx \
|
||||
--disable-precomp-headers \
|
||||
--with-regex=sys \
|
||||
--with-libpng=sys \
|
||||
--with-libxpm=sys \
|
||||
--with-libjpeg=sys \
|
||||
--with-libtiff=sys
|
||||
cd wxPython
|
||||
python2 setup.py WXPORT=gtk3 UNICODE=1 build
|
||||
python2 setup.py WXPORT=gtk3 UNICODE=1 install --root=$PKG --optimize=1
|
||||
|
||||
# --with-wx-config=/usr/bin/wx-config-gtk3
|
||||
# WX_CONFIG=/usr/bin/wx-config-gtk3
|
||||
}
|
||||
Reference in New Issue
Block a user