aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpsykose <alice@ayaya.dev>2022-05-09 14:50:10 +0000
committerBart Ribbers <bribbers@disroot.org>2022-05-18 06:34:15 +0000
commit3165984cabcb10853aca2403466df751217dcae8 (patch)
tree4bc5759832908f0e90b475e4a47aef5452babf62
parent37d1f3df3e9eb8c13bf5fe06f5d00358e7db2e91 (diff)
downloadaports-3165984cabcb10853aca2403466df751217dcae8.tar.gz
aports-3165984cabcb10853aca2403466df751217dcae8.tar.bz2
aports-3165984cabcb10853aca2403466df751217dcae8.tar.xz
community/qt6-qtbase: link user facing tools
this also exposes qmake6, which lets things actually find qt6 qmake without needing to have it specified in the qt6 lib path by hand in some cases
-rw-r--r--community/qt6-qtbase/APKBUILD12
1 files changed, 10 insertions, 2 deletions
diff --git a/community/qt6-qtbase/APKBUILD b/community/qt6-qtbase/APKBUILD
index 1662b3d53e..925d6a617b 100644
--- a/community/qt6-qtbase/APKBUILD
+++ b/community/qt6-qtbase/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=qt6-qtbase
pkgver=6.3.0
-pkgrel=0
+pkgrel=1
pkgdesc="A cross-platform application and UI framework"
url="https://qt.io/"
arch="all"
@@ -14,7 +14,6 @@ _sub="
$pkgname-x11
"
depends="xdg-utils"
-# TODO: Add vulkan-loader-dev, right now it's linked wrongly
depends_dev="$_sub
cups-dev
dbus-dev
@@ -79,6 +78,7 @@ build() {
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DINSTALL_BINDIR=lib/qt6/bin \
+ -DINSTALL_PUBLICBINDIR=usr/bin \
-DINSTALL_DOCDIR=share/doc/qt6 \
-DINSTALL_ARCHDATADIR=lib/qt6 \
-DINSTALL_DATADIR=share/qt6 \
@@ -99,11 +99,19 @@ check() {
package() {
DESTDIR="$pkgdir" cmake --install build
+
+ # add symlinks for qt6 dev tools
+ cd "$pkgdir"
+ mkdir -p usr/bin
+ while read _line; do
+ ln -sv $_line
+ done < "$builddir"/build/user_facing_tool_links.txt
}
dev() {
default_dev
+ amove usr/bin
amove usr/lib/qt6/bin
}