aports/community/kunifiedpush/APKBUILD
2025-04-24 20:45:31 +02:00

54 lines
1.3 KiB
Text

# The group tag is just to easily find this APKBUILD by some scripts for automation
# group=kde-applications
maintainer="team/kde <bribbers@disroot.org>"
pkgname=kunifiedpush
pkgver=25.04.0
pkgrel=0
# armhf blocked by qt6-qtdeclarative
arch="all !armhf"
url="https://invent.kde.org/libraries/kunifiedpush"
pkgdesc="UnifiedPush client library and distributor daemon"
license="BSD-2-Clause AND BSD-3-Clause AND LGPL-2.0-or-later"
depends_dev="
kcmutils-dev
kcoreaddons-dev
kdeclarative-dev
kpackage-dev
kservice-dev
qt6-qtbase-dev
qt6-qtwebsockets-dev
"
makedepends="$depends_dev
extra-cmake-modules
qt6-qtdeclarative-dev
qt6-qttools-dev
samurai
"
checkdepends="dbus"
subpackages="
$pkgname-dev
$pkgname-libs
$pkgname-lang
"
_repo_url="https://invent.kde.org/libraries/kunifiedpush.git"
source="https://download.kde.org/stable/release-service/$pkgver/src/kunifiedpush-$pkgver.tar.xz"
build() {
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
cmake --build build
}
check() {
dbus-run-session ctest --test-dir build -E "connectortest"
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
1d7930cbfd047a6379e6a1e02ecd5d27359db5b16bf6e6d3d4498be6431e8f7f5cda8029cc79ef7f1f79d678eb14d0b7597986db6dcac3abe9bfe4c404d7cb27 kunifiedpush-25.04.0.tar.xz
"