aboutsummaryrefslogtreecommitdiffstats
path: root/community/threadweaver/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/threadweaver/APKBUILD')
-rw-r--r--community/threadweaver/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/community/threadweaver/APKBUILD b/community/threadweaver/APKBUILD
new file mode 100644
index 0000000000..70467b2140
--- /dev/null
+++ b/community/threadweaver/APKBUILD
@@ -0,0 +1,32 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=threadweaver
+pkgver=5.60.0
+pkgrel=0
+pkgdesc="High-level multithreading framework"
+arch="all"
+url="https://community.kde.org/Frameworks"
+license="LGPL-2.1-only"
+depends_dev="qt5-qtbase-dev qt5-qtdeclarative-dev"
+makedepends="$depends_dev extra-cmake-modules qt5-qttools-dev doxygen"
+source="https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
+subpackages="$pkgname-dev $pkgname-doc"
+
+build() {
+ cmake \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DBUILD_QCH=ON
+ make
+}
+
+check() {
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ DESTDIR="$pkgdir" make install
+}
+
+sha512sums="3ee8aaacaae13cc3afedc33feca2a8f3a0c098d040ed1485c14506dd5172d11cffc15d9582b9270e42c8f8157b88c8f4f7dc07218d9961a71638d37332e85b09 threadweaver-5.60.0.tar.xz"