aboutsummaryrefslogtreecommitdiffstats
path: root/community/qt6-qttools/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/qt6-qttools/APKBUILD')
-rw-r--r--community/qt6-qttools/APKBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/community/qt6-qttools/APKBUILD b/community/qt6-qttools/APKBUILD
new file mode 100644
index 0000000000..8c3bd6bda4
--- /dev/null
+++ b/community/qt6-qttools/APKBUILD
@@ -0,0 +1,42 @@
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=qt6-qttools
+pkgver=6.1.1
+pkgrel=0
+pkgdesc="A cross-platform application and UI framework (Development Tools, QtHelp)"
+url="https://qt.io/"
+arch="all"
+license="LGPL-2.1-only AND LGPL-3.0-only AND GPL-3.0-only AND Qt-GPL-exception-1.0"
+depends_dev="
+ qt6-qtdeclarative-dev
+ vulkan-headers
+ "
+makedepends="$depends_dev
+ cmake
+ perl
+ "
+# clang-dev, clang-static, llvm10-dev and llvm10-static are required for qtdoc to be built
+subpackages="$pkgname-dev"
+options="!check" # No tests
+builddir="$srcdir/qttools-everywhere-src-${pkgver/_/-}"
+
+case $pkgver in
+ *_alpha*|*_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"
+
+build() {
+ cmake -B build \
+ -DCMAKE_BUILD_TYPE=None \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ cmake --build build
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --install build
+}
+
+sha512sums="
+604325609c7c64b5b2f4134478696145ebc125abe669cc3c4cea25d32761d5ec0aebf18a1360b45030453bea32b2b29ac1cab8dd205ba7935bb782c39fd0313e qttools-everywhere-src-6.1.1.tar.xz
+"