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

42 lines
1.3 KiB
Bash

# Template file for 'python3-pyqt6-webengine'
pkgname=python3-pyqt6-webengine
version=6.6.0
revision=2
build_style=sip-build
build_helper=python3
hostmakedepends="qt6-base python3-PyQt-builder pkg-config"
makedepends="python3-pyqt6-gui-devel qt6-webengine-devel
python3-pyqt6-network-devel python3-pyqt6-webchannel-devel
python3-pyqt6-declarative-devel python3-pyqt6-printsupport-devel
python3-pyqt6-widgets-devel"
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=d50b984c3f85e409e692b156132721522d4e8cf9b6c25e0cf927eea2dfb39487
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
}
}