aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2021-02-04 17:15:29 +0100
committerBart Ribbers <bribbers@disroot.org>2021-02-04 17:26:27 +0000
commit5aa68b1aac61786b1b424f987f788c0325f5c273 (patch)
tree592fb6334e5f331d3951c490c270dc1e18950460
parent4fbfe51a2df06bcd0a1a06251c62060e77bdfab6 (diff)
downloadaports-5aa68b1aac61786b1b424f987f788c0325f5c273.tar.gz
aports-5aa68b1aac61786b1b424f987f788c0325f5c273.tar.bz2
aports-5aa68b1aac61786b1b424f987f788c0325f5c273.tar.xz
community/qtchooser: add support for Qt6
-rw-r--r--community/qtchooser/APKBUILD10
-rw-r--r--community/qtchooser/qt6.conf2
2 files changed, 9 insertions, 3 deletions
diff --git a/community/qtchooser/APKBUILD b/community/qtchooser/APKBUILD
index 3e7f98aa1e..a8cbcc4046 100644
--- a/community/qtchooser/APKBUILD
+++ b/community/qtchooser/APKBUILD
@@ -2,13 +2,14 @@
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=qtchooser
pkgver=66
-pkgrel=0
+pkgrel=1
pkgdesc="Wrap the other Qt tools by searching for different instances of Qt on the system"
arch="all"
url="https://code.qt.io/cgit/qtsdk/qtchooser.git/"
license="GPL-3.0-only OR LGPL-2.1-only"
-source="https://download.qt.io/official_releases/qtchooser/$pkgname-$pkgver.tar.xz
+source="https://download.qt.io/official_releases/qtchooser/qtchooser-$pkgver.tar.xz
qt5.conf
+ qt6.conf
"
subpackages="$pkgname-doc"
@@ -23,10 +24,13 @@ package() {
install -d "$pkgdir"/etc/xdg/qtchooser
install -m644 "$srcdir"/qt5.conf \
"$pkgdir"/etc/xdg/qtchooser/
+ install -m644 "$srcdir"/qt6.conf \
+ "$pkgdir"/etc/xdg/qtchooser/
# Set the default Qt
ln -s /etc/xdg/qtchooser/qt5.conf \
"$pkgdir"/etc/xdg/qtchooser/default.conf
}
sha512sums="0c7d3588ddd7b21e6e9d799204924e06e0b0950c898dfd23088f1e7657b7f821a35579aa062658499809f9d9757e82c3c592591aa2e5ec453463929bf2b33bac qtchooser-66.tar.xz
-aa1c18df9d5279ff00d06a0b3f19223e36e64f6275cf3ebc5a4be1e41bb139787325b88f89e0133e9960a7b2582716962dd5d195202ff68715883ce41babda73 qt5.conf"
+aa1c18df9d5279ff00d06a0b3f19223e36e64f6275cf3ebc5a4be1e41bb139787325b88f89e0133e9960a7b2582716962dd5d195202ff68715883ce41babda73 qt5.conf
+1cdcb3d6171029b12df2b6cb852778ff03d5d1767146436899df1f285176986e69cbeaa711c9c98abbfd336641c0580bafe0fe94e51aeb38bfe16ad314446e6c qt6.conf"
diff --git a/community/qtchooser/qt6.conf b/community/qtchooser/qt6.conf
new file mode 100644
index 0000000000..e75ca151bd
--- /dev/null
+++ b/community/qtchooser/qt6.conf
@@ -0,0 +1,2 @@
+/usr/lib/qt6/bin
+/usr/lib