26 lines
780 B
Plaintext
26 lines
780 B
Plaintext
# Description: Python bindings for QT6WebEngine
|
|
# URL: https://www.riverbankcomputing.com/software/pyqtwebengine/intro
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: python3-pyqt6 qt6-webengine
|
|
|
|
name=python3-pyqt6-webengine
|
|
version=6.7.0
|
|
release=1
|
|
source=(https://pypi.python.org/packages/source/P/PyQt6-WebEngine/PyQt6_WebEngine-$version.tar.gz)
|
|
|
|
build() {
|
|
ls /usr/lib/python*/site-packages/PyQt6/QtWebChannel.*so || (echo "rebuild python3-pyqt6"; exit 1)
|
|
cd PyQt6_WebEngine-$version
|
|
|
|
sip-build \
|
|
--no-make \
|
|
--qmake=/usr/lib/qt6/bin/qmake6 \
|
|
--api-dir=/usr/share/qt6/qsci/api/python
|
|
cd build
|
|
make
|
|
make INSTALL_ROOT=$PKG install
|
|
|
|
/usr/bin/python3 -m compileall -d / $PKG/usr/lib
|
|
/usr/bin/python3 -O -m compileall -d / $PKG/usr/lib
|
|
}
|