void-packages/srcpkgs/python3-pyqt6-webengine/template

39 lines
1.2 KiB
Bash

# Template file for 'python3-pyqt6-webengine'
pkgname=python3-pyqt6-webengine
version=6.7.0
revision=1
build_style=sip-build
build_helper=python3
hostmakedepends="qt6-base python3-PyQt-builder pkg-config"
makedepends="qt6-webengine-devel qt6-webchannel-devel python3-pyqt6-bindings"
depends="python3-pyqt6"
short_desc="Python 3 bindings for Qt6 - WebEngine"
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://www.riverbankcomputing.com/software/pyqtwebengine/"
distfiles="$PYPI_SITE/P/PyQt6_WebEngine/PyQt6_WebEngine-$version.tar.gz"
checksum=68edc7adb6d9e275f5de956881e79cca0d71fad439abeaa10d823bff5ac55001
lib32disabled=yes
case "$XBPS_TARGET_MACHINE" in
riscv64*) broken="Patchset needs updating";;
ppc*) broken="not ported" ;;
armv5* | armv6*) broken="need yield" ;;
esac
if [ "$XBPS_WORDSIZE" != "$XBPS_TARGET_WORDSIZE" ]; then
broken="chromium needs host and target wordsize match"
fi
if [ "$XBPS_WORDSIZE" = 32 ]; then
broken="32 bit"
fi
python3-pyqt6-webengine-devel_package() {
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
short_desc+=" - development files"
pkg_install() {
vmove ${py3_sitelib}/PyQt6/bindings
vmove usr/share
}
}