APKBUILD 1018 Bytes
Newer Older
1 2
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-qtwebengine
3 4
_pyname=PyQtWebEngine
pkgver=5.12.1
5
pkgrel=2
6 7
pkgdesc="Python 3 bindings for QtWebEngine"
url="https://www.riverbankcomputing.com/software/pyqtwebengine/intro"
8
# ppc64le, s390x: not supported
9
arch="all !ppc64le !s390x !armhf" # armhf blocked by py3-qt5 -> qt5-qtdeclarative
10
license="GPL-2.0-or-later"
Leo's avatar
Leo committed
11
depends="python3"
12
makedepends="python3-dev py3-qt5 qt5-qtwebengine-dev py-sip-dev"
13
source="https://www.riverbankcomputing.com/static/Downloads/PyQtWebEngine/$pkgver/PyQtWebEngine_gpl-$pkgver.tar.gz"
14
builddir="$srcdir"/"$_pyname"_gpl-"$pkgver"
15 16 17 18 19 20 21 22 23 24 25 26 27

build() {
	python3 configure.py \
		--qmake /usr/lib/qt5/bin/qmake \
		--sip /usr/bin/sip \
		--sipdir /usr/share/sip/PyQt5
	make
}

check() {
	make check
}

Leo's avatar
Leo committed
28
package() {
29
	make -j1 DESTDIR="$pkgdir" INSTALL_ROOT="$pkgdir" install
30 31
}

32
sha512sums="2bcb0e4da51de9cfb5128e03c03ada77f2d4b99b0885da910584717681b96759ce4301c325cbbf43602d46746e2d37d81ed62f77dd63b33359fd5fae74d7f010  PyQtWebEngine_gpl-5.12.1.tar.gz"