aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2021-04-08 14:11:20 +0200
committerBart Ribbers <bribbers@disroot.org>2021-04-09 09:31:35 +0200
commit9b8f285598b22401950ec3a1e68a5a1d1d3504ef (patch)
tree77dcce3dd65e7326647b5a57c05a7d313a7c8517
parent2120618c327a3ea154107c421b8d037928a561db (diff)
downloadaports-9b8f285598b22401950ec3a1e68a5a1d1d3504ef.tar.gz
aports-9b8f285598b22401950ec3a1e68a5a1d1d3504ef.tar.bz2
aports-9b8f285598b22401950ec3a1e68a5a1d1d3504ef.tar.xz
community/qt5-qtwebview: apply latest KDE patches
-rw-r--r--community/qt5-qtwebview/APKBUILD19
1 files changed, 14 insertions, 5 deletions
diff --git a/community/qt5-qtwebview/APKBUILD b/community/qt5-qtwebview/APKBUILD
index b09023cab5..3c93ad482b 100644
--- a/community/qt5-qtwebview/APKBUILD
+++ b/community/qt5-qtwebview/APKBUILD
@@ -1,8 +1,9 @@
# Contributor: Danct12 <danct12@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=qt5-qtwebview
-pkgver=5.15.2
-pkgrel=1
+pkgver=5.15.3_git20201028
+pkgrel=0
+_commit="920de5f1cd9f9001cfef1bfd2c19e6720793362f"
# ppc64le and s390x blocked by qt5-qtwebengine
# armhf blocked by qt5-qtdeclarative
arch="all !ppc64le !s390x !armhf !mips !mips64"
@@ -13,14 +14,22 @@ depends="qt5-qtwebengine"
depends_dev="qt5-qtdeclarative-dev"
makedepends="$depends_dev qt5-qtbase-dev"
subpackages="$pkgname-dev"
-builddir="$srcdir/qtwebview-everywhere-src-$pkgver"
+builddir="$srcdir/qtwebview-$_commit"
case $pkgver in
*_beta*|*_rc*) _rel=development_releases;;
*) _rel=official_releases;;
esac
-source="http://download.qt.io/$_rel/qt/${pkgver%.*}/$pkgver/submodules/qtwebview-everywhere-src-$pkgver.tar.xz"
+source="https://invent.kde.org/qt/qt/qtwebview/-/archive/$_commit/qtwebview-$_commit.tar.gz"
+
+prepare() {
+ default_prepare
+
+ # We need to make the build system think we're running in a git repository
+ # so it correctly symlinks during the build
+ mkdir .git
+}
build() {
qmake-qt5 CONFIG+="lang-all handwriting"
@@ -42,4 +51,4 @@ package() {
ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/$pkgname
}
-sha512sums="11502597d5e3a9b8a3a90025b56c086a3412743019384558617c397a8ad4a0f646b406a4fbeb31ca45e6e573d1fb06cd5b22b8c0179695d06cc3d492289a1c85 qtwebview-everywhere-src-5.15.2.tar.xz"
+sha512sums="ebfdf785f64649c26576a7871553cd5550cbc86a84a86b6c5b3f2e206b70007125192027d5899f95c27479d7880ee57b5d2d39d2e46779c5376ea6ebcd9751a7 qtwebview-920de5f1cd9f9001cfef1bfd2c19e6720793362f.tar.gz"