summaryrefslogtreecommitdiff
path: root/user/qt5-qtwebview
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2022-02-03 21:39:10 +0000
committerZach van Rijn <me@zv.io>2022-06-12 23:51:58 +0000
commit15d602b0fabe0f7f5e4ebc9158b2a0647e1ebc24 (patch)
treecee7779de497315a0088a34be6370744ee110aed /user/qt5-qtwebview
parentb76a8af1c93d6a5e8de527c428f12fcddc24d86e (diff)
downloadpackages-15d602b0fabe0f7f5e4ebc9158b2a0647e1ebc24.tar.gz
packages-15d602b0fabe0f7f5e4ebc9158b2a0647e1ebc24.tar.bz2
packages-15d602b0fabe0f7f5e4ebc9158b2a0647e1ebc24.tar.xz
packages-15d602b0fabe0f7f5e4ebc9158b2a0647e1ebc24.zip
user/qt5-qtwebview: new package.
Diffstat (limited to 'user/qt5-qtwebview')
-rw-r--r--user/qt5-qtwebview/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/user/qt5-qtwebview/APKBUILD b/user/qt5-qtwebview/APKBUILD
new file mode 100644
index 000000000..fd0e5ee62
--- /dev/null
+++ b/user/qt5-qtwebview/APKBUILD
@@ -0,0 +1,38 @@
+# Maintainer: Zach van Rijn <me@zv.io>
+pkgname=qt5-qtwebview
+_pkgname=${pkgname#*-}-everywhere-src
+pkgver=5.15.3_git20201027
+pkgrel=0
+_commit=920de5f1cd9f9001cfef1bfd2c19e6720793362f
+pkgdesc="Qt5 WebView provides a way to display web content in a QML application without necessarily including a full web browser stack"
+url="https://www.qt.io/"
+arch="all"
+license="LGPL-3.0-only WITH Qt-LGPL-exception-1.1 OR GPL-3.0-only WITH Qt-GPL-exception-1.0"
+depends=""
+makedepends="qt5-qtbase-dev"
+subpackages="$pkgname-dev"
+source="https://invent.kde.org/qt/qt/${pkgname#*-}/-/archive/$_commit/${pkgname#*-}-$_commit.tar.gz"
+builddir="$srcdir"/${pkgname#*-}-$_commit
+
+prepare() {
+ default_prepare
+
+ # Make configure think we are running in a git directory
+ # This makes it symlink the include files to the right directory
+ mkdir .git
+}
+
+build() {
+ qmake
+ make
+}
+
+check() {
+ make check
+}
+
+package() {
+ make install INSTALL_ROOT="$pkgdir"
+}
+
+sha512sums="ebfdf785f64649c26576a7871553cd5550cbc86a84a86b6c5b3f2e206b70007125192027d5899f95c27479d7880ee57b5d2d39d2e46779c5376ea6ebcd9751a7 qtwebview-920de5f1cd9f9001cfef1bfd2c19e6720793362f.tar.gz"