wxPython4: update to 4.0.3.

closes #2274

Co-authored-by: maxice8 <thinkabit.ukim@gmail.com>
This commit is contained in:
maxice8 2019-03-02 20:41:17 -03:00
parent dc6d1b672f
commit 337561deb6
No known key found for this signature in database
GPG key ID: 543B9D4F4299F06B

View file

@ -4,26 +4,27 @@ version=4.0.3
revision=1
wrksrc="${pkgname//4/}-${version}"
build_style=python3-module
pycompile_module="wx"
make_build_args="--skip-build"
make_install_args="--skip-build"
hostmakedepends="pkg-config python3-setuptools"
makedepends="python3-devel wxWidgets-gtk3-devel SDL2-devel webkit2gtk-devel
gst-plugins-base1-devel"
gst-plugins-base1-devel"
depends="python3"
short_desc="The wxWidgets GUI toolkit library (Python3 Bindings)"
short_desc="WxWidgets GUI toolkit library (Python3 Bindings)"
maintainer="Jasper Chan <jasperchan515@gmail.com>"
license="wxWindows"
homepage="http://www.wxpython.org/"
distfiles="${PYPI_SITE}/w/${pkgname//4/}/${pkgname//4}-${version}.tar.gz"
checksum=8d0dfc0146c24749ce00d575e35cc2826372e809d5bc4a57bde6c89031b59e75
make_build_args="--skip-build"
make_install_args="--skip-build"
if [ -n "${CROSS_BUILD}" ]; then
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" python3"
CFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/python${py3_ver}"
fi
pre_build() {
if [ -n "$CROSS_BUILD" ]; then
if [ "$CROSS_BUILD" ]; then
PYPREFIX="$XBPS_CROSS_BASE"
CFLAGS+=" -I${XBPS_CROSS_BASE}/${py3_inc} -I${XBPS_CROSS_BASE}/usr/include"
LDFLAGS+=" -L${XBPS_CROSS_BASE}/${py3_lib} -L${XBPS_CROSS_BASE}/usr/lib"
@ -38,5 +39,5 @@ pre_build() {
}
post_install() {
vlicense LICENSE.txt LICENSE
vlicense LICENSE.txt
}