# Contributor: Bart Ribbers # Maintainer: team/kde # The group tag is just to easily find this APKBUILD by some scripts for automation # group=kde-plasma pkgname=kactivitymanagerd pkgver=5.27.7 pkgrel=1 pkgdesc="System service to manage user's activities and track the usage patterns" # armhf blocked by qt5-qtdeclarative arch="all !armhf" url="https://kde.org/plasma-desktop/" license="GPL-2.0-only OR GPL-3.0-only" depends="qt5-qtbase-sqlite" makedepends=" boost-dev extra-cmake-modules kconfig-dev kcoreaddons-dev kdbusaddons-dev kglobalaccel-dev ki18n-dev kio-dev kwindowsystem-dev kxmlgui-dev qt5-qtbase-dev samurai " case "$pkgver" in *.90*) _rel=unstable;; *) _rel=stable;; esac _repo_url="https://invent.kde.org/plasma/kactivitymanagerd.git" source="https://download.kde.org/$_rel/plasma/$pkgver/kactivitymanagerd-$pkgver.tar.xz" subpackages="$pkgname-lang" _commit="" snapshot() { clean makedepends="git xz rsync tar" deps mkdir -p "$srcdir" && cd "$srcdir" git clone --filter=tree:0 https://invent.kde.org/plasma/kactivitymanagerd.git . git archive --format tar --prefix=$pkgname/ $_commit > ../$pkgname-$_commit.tar xz -vv -T0 -9 -e ../$pkgname-$_commit.tar } build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { ctest --test-dir build --output-on-failure } package() { DESTDIR="$pkgdir" cmake --install build # We don't ship systemd rm -r "$pkgdir"/usr/lib/systemd } sha512sums=" bb12c8e4843b15cddf8fd7de7197581d5036b599b1d34e465a5888d3b72cf6b81d7bfd4052c3512a71faec0b005b58db28ab9535546144dab93bcd1801767207 kactivitymanagerd-5.27.7.tar.xz "