aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2021-04-08 12:38:47 +0200
committerBart Ribbers <bribbers@disroot.org>2021-04-09 09:31:33 +0200
commite81f7151aa408b2ff5245f4d71b6ef28de15493a (patch)
tree5a3fec59bb8660278b38471c3988227905fb78e0
parent6c17978eb2763444eb24b07381f7317b74cc6f98 (diff)
downloadaports-e81f7151aa408b2ff5245f4d71b6ef28de15493a.tar.gz
aports-e81f7151aa408b2ff5245f4d71b6ef28de15493a.tar.bz2
aports-e81f7151aa408b2ff5245f4d71b6ef28de15493a.tar.xz
community/qt5-qttools: apply latest KDE patches
-rw-r--r--community/qt5-qttools/APKBUILD19
1 files changed, 14 insertions, 5 deletions
diff --git a/community/qt5-qttools/APKBUILD b/community/qt5-qttools/APKBUILD
index 6fad0d6b89..ef0ac443e7 100644
--- a/community/qt5-qttools/APKBUILD
+++ b/community/qt5-qttools/APKBUILD
@@ -1,7 +1,8 @@
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=qt5-qttools
-pkgver=5.15.2
-pkgrel=4
+pkgver=5.15.3_git20201202
+pkgrel=0
+_commit="33693a928986006d79c1ee743733cde5966ac402"
pkgdesc="Qt5 - QtTool components"
url="https://www.qt.io/developers/"
arch="all"
@@ -12,14 +13,14 @@ makedepends="
vulkan-headers
"
subpackages="$pkgname-dev qt5-assistant:_assistant qt5-qdbusviewer:_dbusviewer"
-builddir="$srcdir/qttools-everywhere-src-$pkgver"
+builddir="$srcdir/qttools-$_commit"
case $pkgver in
*_beta*|*_rc*) _rel=development_releases;;
*) _rel=official_releases;;
esac
-source="https://download.qt.io/$_rel/qt/${pkgver%.*}/$pkgver/submodules/qttools-everywhere-src-$pkgver.tar.xz
+source="https://invent.kde.org/qt/qt/qttools/-/archive/$_commit/qttools-$_commit.tar.gz
assistant-qt5.desktop
designer-qt5.desktop
linguist-qt5.desktop
@@ -28,6 +29,14 @@ source="https://download.qt.io/$_rel/qt/${pkgver%.*}/$pkgver/submodules/qttools-
_qt5_prefix=/usr/lib/qt5
+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
make
@@ -113,7 +122,7 @@ _dbusviewer() {
usr/share/icons/hicolor/*/apps/qdbusviewer*
}
-sha512sums="3bd32a302af6e81cd5d4eb07d60c5ef233f1ca7af1aae180c933ac28fafffce28c6c868eb032108747937ea951d6d4f0df5516841bc65d22c529207147533a8b qttools-everywhere-src-5.15.2.tar.xz
+sha512sums="9a62f1849c8eb65384d19de61cb6a08d1f467877181fd752e58b2b4e7d566c5d868c7ebab2d01591c6f540c01c705b7f8e0fe76c26cb0ee78f590ddae57048d2 qttools-33693a928986006d79c1ee743733cde5966ac402.tar.gz
d566c5284854855541df7177b23f491d96f5064b571e899a44f1d4fcf8bbf1223590b05b1954278dc6f3f56341c917f5b846594c5bd2215b6a859224038d8ad2 assistant-qt5.desktop
72d9a2235a60c4ae05ba8395d473fe0b42c12e584da619dadb112eb67ba33a85fe0dab6c185d98112d7b25d3eeacaf02f7ef4731742e50c17eacc54c383661b3 designer-qt5.desktop
b6d8a672d19eed39ab868ff6fc880f255da94acb9e1e84f5905c0f3b9b6055547e8a706492973692c06dc23d35ce77622fc13efc11adf21b62c3baf4ef5ab2ad linguist-qt5.desktop