blob: fde34d3d374ac1e8c4f8994e9e429e89414b23f9 (
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
33
34
35
|
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-qtwebengine
_pyname=PyQtWebEngine
pkgver=5.12.1
pkgrel=0
pkgdesc="Python 3 bindings for QtWebEngine"
url="https://www.riverbankcomputing.com/software/pyqtwebengine/intro"
# ppc64le, s390x: not supported
arch="all !ppc64le !s390x"
license="GPL-2.0-or-later"
depends="py-sip"
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() {
cd "$builddir"
python3 configure.py \
--qmake /usr/lib/qt5/bin/qmake \
--sip /usr/bin/sip \
--sipdir /usr/share/sip/PyQt5
make
}
check() {
cd "$builddir"
make check
}
package(){
cd "$builddir"
make -j1 DESTDIR="${pkgdir}" INSTALL_ROOT="${pkgdir}" install
}
sha512sums="2bcb0e4da51de9cfb5128e03c03ada77f2d4b99b0885da910584717681b96759ce4301c325cbbf43602d46746e2d37d81ed62f77dd63b33359fd5fae74d7f010 PyQtWebEngine_gpl-5.12.1.tar.gz"
|