aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2021-04-08 14:18:50 +0200
committerBart Ribbers <bribbers@disroot.org>2021-04-09 09:31:36 +0200
commitd475e463e8b15d2c571d50ec7caef8c0523492b8 (patch)
treed7170938e237d2b3ba5abc57b0e97c462f023e9b
parent14907ce24b1990a9b9339fdf7ee81180759e209f (diff)
downloadaports-d475e463e8b15d2c571d50ec7caef8c0523492b8.tar.gz
aports-d475e463e8b15d2c571d50ec7caef8c0523492b8.tar.bz2
aports-d475e463e8b15d2c571d50ec7caef8c0523492b8.tar.xz
community/qt5-qtimageformats: apply latest KDE patches
-rw-r--r--community/qt5-qtimageformats/APKBUILD17
1 files changed, 13 insertions, 4 deletions
diff --git a/community/qt5-qtimageformats/APKBUILD b/community/qt5-qtimageformats/APKBUILD
index e698653920..cbdacb90fa 100644
--- a/community/qt5-qtimageformats/APKBUILD
+++ b/community/qt5-qtimageformats/APKBUILD
@@ -1,20 +1,29 @@
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=qt5-qtimageformats
-pkgver=5.15.2
+pkgver=5.15.3_git20201031
pkgrel=0
+_commit="cb82c74310837fe4e832c8ab72176a5d63e4355f"
pkgdesc="Qt5 - QtImageFormats component"
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 libmng-dev tiff-dev libwebp-dev"
-builddir="$srcdir/qtimageformats-everywhere-src-$pkgver"
+builddir="$srcdir/qtimageformats-$_commit"
case $pkgver in
*_beta*|*_rc*) _rel=development_releases;;
*) _rel=official_releases;;
esac
-source="https://download.qt.io/$_rel/qt/${pkgver%.*}/$pkgver/submodules/qtimageformats-everywhere-src-$pkgver.tar.xz"
+source="https://invent.kde.org/qt/qt/qtimageformats/-/archive/$_commit/qtimageformats-$_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
@@ -36,4 +45,4 @@ package() {
ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/$pkgname
}
-sha512sums="3c821fac83b8d6177af256dc1d68aca14ae6d5cbdedb8d8665158ebcec0f6e6fb790b5d210a1aa8b0679ecff60fafd4e5d1387c6954498b41409ea44177e0d7e qtimageformats-everywhere-src-5.15.2.tar.xz"
+sha512sums="f202f3abcdea0b49ae4f286fd50c1855c8b84d502b89f8350666828c6e29c4fa0bafd72b891513330e2541dc407d298076ffb519a030b4bb50517b5196ff9a3f qtimageformats-cb82c74310837fe4e832c8ab72176a5d63e4355f.tar.gz"