1
0
forked from ports/contrib

wxpython: dropped port

This commit is contained in:
Danny Rawlins 2020-05-25 22:41:27 +10:00
parent d423045e33
commit 03b47b4dbd
3 changed files with 0 additions and 1792 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +0,0 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF38LzpWbG+TX4L+rNegxCVs4uj0dbz61pY5xXi2LK+4yjdRZM+fwOX8HuHCC1AqSZdCipOJYwf8bGY23LXwqEzQQ=
SHA256 (Pkgfile) = e1d65b84f45a3169e65b3113f887c1bee19304c34a3d1db3af4c6555df455d14
SHA256 (.footprint) = 54e2b42c290b653094e2eaabc6c1a5825821b73aeff650586848c11b18dbef37
SHA256 (wxPython-src-3.0.2.0.tar.bz2) = d54129e5fbea4fb8091c87b2980760b72c22a386cb3b9dd2eebc928ef5e8df61

View File

@ -1,61 +0,0 @@
# Description: Python language bindings for the wxWindows toolkit.
# URL: http://www.wxpython.org/
# Maintainer: Danny Rawlins, crux at romster dot me
# Packager: sten, nick dot steeves at shaw dot ca
# Depends on: wxgtk
name=wxpython
version=3.0.2.0
release=2
source=(http://downloads.sourceforge.net/wxpython/wxPython-src-$version.tar.bz2)
build() {
cd wxPython-src-$version
sed \
-e 's|GST_VERSION_MAJOR=0|GST_VERSION_MAJOR=1|' \
-e 's|GST_VERSION_MINOR=10|GST_VERSION_MINOR=0|' \
-i configure.in
./autogen.sh
./configure \
--prefix=/usr \
--libdir=/usr/lib \
--with-gtk=2 \
--with-opengl \
--enable-unicode \
--enable-graphics_ctx \
--enable-mediactrl \
--disable-precomp-headers \
--with-regex=sys \
--with-libpng=sys \
--with-libxpm=sys \
--with-libjpeg=sys \
--with-libtiff=sys
cd wxPython
/usr/bin/python setup.py \
WXPORT=gtk2 \
UNICODE=1 \
build
/usr/bin/python setup.py \
WXPORT=gtk2 \
UNICODE=1 \
install \
--root="$PKG"
find $PKG -type f \
\( \
-name 'AUTHORS' \
-o -name 'COPYING' \
-o -name 'INSTALL' \
-o -name 'NEWS' \
-o -name 'THANKS' \
-o -name 'TODO' \
-o -name 'TODO.txt' \
-o -name 'README' \
-o -name 'README.txt' \
\) -delete
}