blob: 6443494b27cf242d0fe253aa01ac38a7723112fe (
plain)
1 # Description: Python bindings for QT6WebEngine
2 # URL: https://www.riverbankcomputing.com/software/pyqtwebengine/intro
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: python3-pyqt6 qt6-webengine python3-pyqt-builder sip python3-ply
5
6 name=python3-pyqt6-webengine
7 version=6.4.0
8 release=1
9 source=(https://pypi.python.org/packages/source/P/PyQt6-WebEngine/PyQt6_WebEngine-$version.tar.gz)
10
11 build() {
12 ls /usr/lib/python*/site-packages/PyQt6/QtWebChannel.*so || (echo "rebuild pyqt6"; exit 1)
13 cd PyQt6_WebEngine-$version
14
15 sip-build \
16 --no-make \
17 --qmake=/usr/lib/qt6/bin/qmake6 \
18 --concatenate 1
19 cd build
20 make
21 make INSTALL_ROOT=$PKG install
22
23 /usr/bin/python3 -m compileall -d / $PKG/usr/lib
24 /usr/bin/python3 -O -m compileall -d / $PKG/usr/lib
25 }
|