From b651a5aa3de11055e6b8dc0ccf00a3b4e2ddf322 Mon Sep 17 00:00:00 2001 From: totaam Date: Fri, 8 Oct 2021 14:05:45 +0700 Subject: [PATCH] xpra 4.2.3 --- mingw-w64-python-xpra/PKGBUILD | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/mingw-w64-python-xpra/PKGBUILD b/mingw-w64-python-xpra/PKGBUILD index 4cc41a0cbd..8aaf4ba79e 100644 --- a/mingw-w64-python-xpra/PKGBUILD +++ b/mingw-w64-python-xpra/PKGBUILD @@ -8,7 +8,7 @@ conflicts=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}" replaces=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}" "${MINGW_PACKAGE_PREFIX}-${_realname}-common") provides=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}") -pkgver=4.0.6 +pkgver=4.2.3 pkgrel=4 pkgdesc="Remote access client / server software" arch=('any') @@ -51,7 +51,7 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-gcc" "${MINGW_PACKAGE_PREFIX}-python-setuptools" "${MINGW_PACKAGE_PREFIX}-pygobject-devel") source=("https://xpra.org/src/xpra-${pkgver}.tar.xz") -sha512sums=('e3dc66040898ed40ef12b8cdb89e5f42c2f36edc071afb435334389e727f376ddc116dbee47018468bff24f2cdd7be35750b58bc108ba73c5558bd9eccbd04ea') +sha512sums=('8a771a243678b66ce83d5d9bd1301d04eb41433d51d48bd6664c97432f7cefc1b888fbe170d8af5c8b727c7d321964c3ac6b54cd8e8d13ba22592ad362ce7a70') prepare() { cd "${srcdir}" @@ -62,27 +62,24 @@ prepare() { build() { cd "${srcdir}/python-build-${CARCH}" ${MINGW_PREFIX}/bin/python setup.py build \ - --without-cuda_kernels --with-data --without-html5 --with-modules + --without-cuda_kernels --with-data --without-docs --with-modules } package() { cd "${srcdir}/python-build-${CARCH}" MSYS2_ARG_CONV_EXCL="--prefix=;--install-scripts=;--install-platlib=" \ ${MINGW_PREFIX}/bin/python setup.py install --prefix=${MINGW_PREFIX} \ - --without-cuda_kernels --with-data --without-html5 --skip-build \ + --without-cuda_kernels --with-data --without-docs --skip-build \ --root="${pkgdir}${MINW_PREFIX}" --share-xpra="./share/xpra" install -Dm644 COPYING "${pkgdir}${MINGW_PREFIX}/share/licenses/python-${_realname}/COPYING" - install -Dm644 README "${pkgdir}${MINGW_PREFIX}/share/${_realname}/README" - install -Dm644 bell.wav "${pkgdir}${MINGW_PREFIX}/share/${_realname}/bell.wav" + install -Dm644 README.md "${pkgdir}${MINGW_PREFIX}/share/${_realname}/README.md" + install -Dm644 fs/share/xpra/bell.wav "${pkgdir}${MINGW_PREFIX}/share/${_realname}/bell.wav" #python version agnostic launch scripts in /bin: for script in xpra xpra_launcher; do - install -Dm755 scripts/${script} "${pkgdir}${MINGW_PREFIX}/bin/${script}" + install -Dm755 fs/bin/${script} "${pkgdir}${MINGW_PREFIX}/bin/${script}" #patch path to the python interpreter: sed -i -e "s+/usr/bin/python+$MINGW_PREFIX/bin/python+g" "${pkgdir}${MINGW_PREFIX}/bin/${script}" done - - #html5 client: - ${MINGW_PREFIX}/bin/python3 ./setup_html5.py "${pkgdir}${MINGW_PREFIX}/share/${_realname}/www/" "" }