aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-03-15 19:12:43 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2019-03-15 19:12:55 +0000
commit5712002ecb8e293c05d4107866345038775e2edf (patch)
tree7ab77c9247dce39252f3c1f8d3a5dd80b71908e0 /community
parent073e136e28b75f23d2d2e0ade5a162dfde51bca7 (diff)
downloadaports-5712002ecb8e293c05d4107866345038775e2edf.tar.bz2
aports-5712002ecb8e293c05d4107866345038775e2edf.tar.xz
community/py3-qtwebengine: new APKBUILD
Diffstat (limited to 'community')
-rw-r--r--community/py3-qtwebengine/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/community/py3-qtwebengine/APKBUILD b/community/py3-qtwebengine/APKBUILD
new file mode 100644
index 0000000000..266c4e2f59
--- /dev/null
+++ b/community/py3-qtwebengine/APKBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Drew DeVault <sir@cmpwn.com>
+pkgname=py3-qtwebengine
+_pkgname=PyQtWebEngine
+pkgver=5.12
+pkgrel=0
+pkgdesc="Python 3 bindings for QtWebEngine"
+url="https://www.riverbankcomputing.com/software/pyqtwebengine/intro"
+arch="all"
+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/$_pkgname/${_pkgname}_gpl-$pkgver.tar.gz"
+builddir="${srcdir}/${_pkgname}_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="09ed9ecd40370194889f7538dc65f775ca6523e5a113c5aa018ac782089da2203bce55a9b760430b1c7c04695905740aa48f9a9c41ffd8069b32956572d3bece PyQtWebEngine_gpl-5.12.tar.gz"