python3-PyQt5-webengine: update to 5.15.5.

This commit is contained in:
Đoàn Trần Công Danh 2021-10-27 07:47:11 +07:00 committed by Đoàn Trần Công Danh
parent 241c56192c
commit 4a04ab416a

View file

@ -1,8 +1,9 @@
# Template file for 'python3-PyQt5-webengine' # Template file for 'python3-PyQt5-webengine'
pkgname=python3-PyQt5-webengine pkgname=python3-PyQt5-webengine
version=5.15.4 version=5.15.5
revision=2 revision=1
wrksrc="PyQtWebEngine-${version}" wrksrc="PyQtWebEngine-${version}"
build_style=sip-build
build_helper="qmake" build_helper="qmake"
hostmakedepends="pkg-config qt5-qmake python3-PyQt5-devel hostmakedepends="pkg-config qt5-qmake python3-PyQt5-devel
sip python3-PyQt-builder" sip python3-PyQt-builder"
@ -14,10 +15,8 @@ maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
license="GPL-3.0-only" license="GPL-3.0-only"
homepage="https://www.riverbankcomputing.com/software/pyqtwebengine/intro" homepage="https://www.riverbankcomputing.com/software/pyqtwebengine/intro"
distfiles="${PYPI_SITE}/P/PyQtWebEngine/PyQtWebEngine-${version}.tar.gz" distfiles="${PYPI_SITE}/P/PyQtWebEngine/PyQtWebEngine-${version}.tar.gz"
checksum=cedc28f54165f4b8067652145aec7f732a17eadf6736835852868cf76119cc19 checksum=ab47608dccf2b5e4b950d5a3cc704b17711af035024d07a9b71ad29fc103b941
lib32disabled=yes lib32disabled=yes
CXXFLAGS="-I$XBPS_CROSS_BASE/usr/include/python$py3_ver"
CXXFLAGS+=" -I$XBPS_CROSS_BASE/usr/include/qt5/QtWebChannel"
if [ "$XBPS_TARGET_ENDIAN" != le ]; then if [ "$XBPS_TARGET_ENDIAN" != le ]; then
broken="no webengine for big endian" broken="no webengine for big endian"
@ -31,27 +30,6 @@ post_extract() {
rm -rf pyuic/uic/port_v2 rm -rf pyuic/uic/port_v2
} }
do_configure() {
mkdir -p build
sip-build --no-make \
--api-dir /usr/share/qt5/qsci/api/python \
--build-dir build
if [ "$CROSS_BUILD" ]; then
# -I/usr/include/python$py3_ver is set by sip-build :(
find build -name Makefile |
xargs sed -i "s,-I\\(/usr/include\\),-I$XBPS_CROSS_BASE\\1,g"
fi
}
do_build() {
make -C build ${makejobs}
}
do_install() {
make -C build DESTDIR=${DESTDIR} INSTALL_ROOT=${DESTDIR} install
}
python3-PyQt5-webengine-devel_package() { python3-PyQt5-webengine-devel_package() {
short_desc+=" - development files" short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}" depends="${sourcepkg}>=${version}_${revision}"