From 337561deb6507dbbcdae0c1b465d069c2e9b59ad Mon Sep 17 00:00:00 2001 From: maxice8 Date: Sat, 2 Mar 2019 20:41:17 -0300 Subject: [PATCH] wxPython4: update to 4.0.3. closes #2274 Co-authored-by: maxice8 --- srcpkgs/wxPython4/template | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/srcpkgs/wxPython4/template b/srcpkgs/wxPython4/template index e7ed872f7e..fba83c5d61 100644 --- a/srcpkgs/wxPython4/template +++ b/srcpkgs/wxPython4/template @@ -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 " 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 }