aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2021-04-08 12:54:06 +0200
committerBart Ribbers <bribbers@disroot.org>2021-04-09 09:31:34 +0200
commitfd5159b52df8f74859549178a372f03a54d4c484 (patch)
tree2e247599f29a87c47f476ef506d69feceb613894
parente5f8da3937783010e347b28436357c3cdb8762bb (diff)
downloadaports-fd5159b52df8f74859549178a372f03a54d4c484.tar.gz
aports-fd5159b52df8f74859549178a372f03a54d4c484.tar.bz2
aports-fd5159b52df8f74859549178a372f03a54d4c484.tar.xz
community/qt5-qtlottie: apply latest KDE patches
-rw-r--r--community/qt5-qtlottie/APKBUILD19
1 files changed, 14 insertions, 5 deletions
diff --git a/community/qt5-qtlottie/APKBUILD b/community/qt5-qtlottie/APKBUILD
index 7c26d3c833..6c3b057dd6 100644
--- a/community/qt5-qtlottie/APKBUILD
+++ b/community/qt5-qtlottie/APKBUILD
@@ -1,22 +1,31 @@
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=qt5-qtlottie
-pkgver=5.15.2
-pkgrel=1
+pkgver=5.15.3_git20201027
+pkgrel=0
+_commit="fa8c8bfc6742ab98b61d1351e054e0e73e9a42f4"
arch="all !armhf" # armhf blocked by qt5-qtdeclarative
url="https://www.qt.io/developers/"
license="LGPL-2.1-only AND LGPL-3.0-only AND GPL-3.0-only AND Qt-GPL-exception-1.0"
pkgdesc="A family of player software for a certain json-based file format for describing 2d vector graphics animations"
makedepends="qt5-qtbase-dev qt5-qtdeclarative-dev"
subpackages="$pkgname-dev $pkgname-doc"
-builddir="$srcdir/qtlottie-everywhere-src-$pkgver"
+builddir="$srcdir/qtlottie-$_commit"
case $pkgver in
*_beta*|*_rc*) _rel=development_releases;;
*) _rel=official_releases;;
esac
-source="http://download.qt.io/$_rel/qt/${pkgver%.*}/$pkgver/submodules/qtlottie-everywhere-src-$pkgver.tar.xz"
+source="https://invent.kde.org/qt/qt/qtlottie/-/archive/$_commit/qtlottie-$_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
@@ -37,4 +46,4 @@ package() {
install -d "$pkgdir"/usr/share/licenses
ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/$pkgname
}
-sha512sums="ec1b712d39edb1df13933f02355e4901e2051ad6357c4be1332544461d67d5a1eacc3188304d438015be00459de93342bf1b60de0fd2872b3f861d94d1791f5b qtlottie-everywhere-src-5.15.2.tar.xz"
+sha512sums="38c8ad9ece8aba1ed6fba69f59ae084446836ae881760a4cde311bd9700ce0c86f00769607b299f449ebfd85ce7c07a504fd8c78fbe7e01b57356032cc9813bf qtlottie-fa8c8bfc6742ab98b61d1351e054e0e73e9a42f4.tar.gz"