aboutsummaryrefslogtreecommitdiffstats
path: root/community/qt5-qtsvg/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/qt5-qtsvg/APKBUILD')
-rw-r--r--community/qt5-qtsvg/APKBUILD19
1 files changed, 14 insertions, 5 deletions
diff --git a/community/qt5-qtsvg/APKBUILD b/community/qt5-qtsvg/APKBUILD
index c7c4805dbf..72c1ade56e 100644
--- a/community/qt5-qtsvg/APKBUILD
+++ b/community/qt5-qtsvg/APKBUILD
@@ -1,22 +1,31 @@
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=qt5-qtsvg
-pkgver=5.15.2
-pkgrel=1
+pkgver=5.15.3_git20200406
+pkgrel=0
+_commit="95990cbeebc0ab9959e2a925a93ad4897416bbb7"
pkgdesc="Qt5 - Support for rendering and displaying SVG"
url="https://www.qt.io/developers/"
arch="all"
license="(LGPL-2.0-or-later OR GPL-3.0-only OR GPL-2.0-or-later) AND Qt-GPL-exception-1.0"
makedepends="qt5-qtbase-dev zlib-dev"
subpackages="$pkgname-dev"
-builddir="$srcdir/qtsvg-everywhere-src-$pkgver"
+builddir="$srcdir/qtsvg-$_commit"
case $pkgver in
*_beta*|*_rc*) _rel=development_releases;;
*) _rel=official_releases;;
esac
-source="https://download.qt.io/$_rel/qt/${pkgver%.*}/$pkgver/submodules/qtsvg-everywhere-src-$pkgver.tar.xz"
+source="https://invent.kde.org/qt/qt/qtsvg/-/archive/$_commit/qtsvg-$_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
@@ -38,4 +47,4 @@ package() {
ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/$pkgname
}
-sha512sums="101e9c8fc05b1bb9c4e869564bff8e5723dd35f0ef557185e56e9dc12fdce74c531522c9642cdff639900eccf7ed0e04bfa48142741259697dded990fb481730 qtsvg-everywhere-src-5.15.2.tar.xz"
+sha512sums="e9ca3937233e91be9e40cfb6d792b87ffdf98f7ee24e57b0182e68967a9a2c61a492233e36294b87f8e7355659236865b9d730effa83b106a5768b13c61ad470 qtsvg-95990cbeebc0ab9959e2a925a93ad4897416bbb7.tar.gz"