blob: 31f0758a129a5c55715c642d129b9f96cf4819b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-qtwebengine
_pyname=PyQtWebEngine
pkgver=5.12.1
pkgrel=2
pkgdesc="Python 3 bindings for QtWebEngine"
url="https://www.riverbankcomputing.com/software/pyqtwebengine/intro"
# ppc64le, s390x: not supported
arch="all !ppc64le !s390x !armhf" # armhf blocked by py3-qt5 -> qt5-qtdeclarative
license="GPL-2.0-or-later"
depends="python3"
makedepends="python3-dev py3-qt5 qt5-qtwebengine-dev py-sip-dev"
source="https://www.riverbankcomputing.com/static/Downloads/PyQtWebEngine/$pkgver/PyQtWebEngine_gpl-$pkgver.tar.gz"
builddir="$srcdir"/"$_pyname"_gpl-"$pkgver"
build() {
python3 configure.py \
--qmake /usr/lib/qt5/bin/qmake \
--sip /usr/bin/sip \
--sipdir /usr/share/sip/PyQt5
make
}
check() {
make check
}
package() {
make -j1 DESTDIR="$pkgdir" INSTALL_ROOT="$pkgdir" install
}
sha512sums="2bcb0e4da51de9cfb5128e03c03ada77f2d4b99b0885da910584717681b96759ce4301c325cbbf43602d46746e2d37d81ed62f77dd63b33359fd5fae74d7f010 PyQtWebEngine_gpl-5.12.1.tar.gz"
|