aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2019-05-28 20:54:40 +0200
committerKevin Daudt <kdaudt@alpinelinux.org>2019-05-29 18:46:53 +0000
commitfd86f912ce888fdddd5a668dd0d19ec19376ee15 (patch)
tree7e66c121e45f859a1f6d233d4897efbcba089562
parentf831f33cb489279ec999f7ab285507bd96327621 (diff)
downloadaports-fd86f912ce888fdddd5a668dd0d19ec19376ee15.tar.gz
aports-fd86f912ce888fdddd5a668dd0d19ec19376ee15.tar.bz2
aports-fd86f912ce888fdddd5a668dd0d19ec19376ee15.tar.xz
testing/kactivities: new aport
Closes GH-8204
-rw-r--r--testing/kactivities/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/kactivities/APKBUILD b/testing/kactivities/APKBUILD
new file mode 100644
index 0000000000..c25060c1aa
--- /dev/null
+++ b/testing/kactivities/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=kactivities
+pkgver=5.58.0
+pkgrel=0
+arch="all"
+pkgdesc="Core components for the KDE's Activities"
+url="https://community.kde.org/Frameworks"
+license="GPL-2.0-or-later AND LGPL-2.1-or-later AND (LGPL-2.1-only OR LGPL-3.0-only)"
+depends="qt5-qtbase-sqlite"
+depends_dev="kcoreaddons-dev kconfig-dev kwindowsystem-dev qt5-qtdeclarative-dev"
+makedepends="$depends_dev extra-cmake-modules boost doxygen qt5-qttools-dev boost-dev"
+source="https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
+subpackages="$pkgname-dev $pkgname-libs $pkgname-doc"
+
+prepare() {
+ default_prepare
+
+ mkdir "$builddir"/build
+}
+
+build() {
+ cd "$builddir"/build
+ cmake "$builddir" \
+ -DCMAKE_BUILD_TYPE=RelWithDebugInfo \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DBUILD_QCH=ON
+ make
+}
+
+check() {
+ cd "$builddir"/build
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ cd "$builddir"/build
+ DESTDIR="$pkgdir" make install
+}
+sha512sums="f51836925f0afd8031b667eea8dae910ad7072c550047b7b012207579d834219260860cd824c0c212e7a3167a1ec256d18cbeeabb78d265aabf6184b870b461f kactivities-5.58.0.tar.xz"