aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-qtwebengine/APKBUILD
blob: 1610ce331157343de1f30221ca4722853f405f2d (plain) (blame)
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
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-qtwebengine
pkgver=5.15.2
pkgrel=0
pkgdesc="Python 3 bindings for QtWebEngine"
url="https://www.riverbankcomputing.com/software/pyqtwebengine/intro"
# mips, ppc64le, s390x: not supported
arch="all !ppc64le !s390x !armhf !mips !mips64" # 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://pypi.python.org/packages/source/P/PyQtWebEngine/PyQtWebEngine-$pkgver.tar.gz"
builddir="$srcdir"/PyQtWebEngine-"$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="7e6d95833b1a9e5bb5275eff01e1923419da35d13862fc4cbb231cbf950ed45e628bc7e161b0b6b66c718ee439a1a8e66dd754cee9adcdf69ab1b8ffab58901e  PyQtWebEngine-5.15.2.tar.gz"