# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=plasma-mobile pkgver=9999_git1688448451 pkgrel=1 pkgdesc="Modules providing phone functionality for Plasma" # armhf blocked by extra-cmake-modules arch="all !armhf" url="https://www.plasma-mobile.org/" license="GPL-2.0-or-later AND LGPL-2.1-or-later" depends=" breeze-icons dbus-x11 kactivities kpipewire maliit-keyboard plasma-nano plasma-nm-mobile plasma-pa plasma-settings plasma-workspace qqc2-breeze-style qt5-qtquickcontrols2 " makedepends=" extra-cmake-modules kactivities-dev kauth-dev kbookmarks-dev kcodecs-dev kcompletion-dev kconfig-dev kconfigwidgets-dev kcoreaddons-dev kdbusaddons-dev kdeclarative-dev ki18n-dev kio-dev kirigami-addons-dev kitemviews-dev kjobwidgets-dev knotifications-dev kpackage-dev kpeople-dev kservice-dev kwayland-dev kwidgetsaddons-dev kwin-dev kwindowsystem-dev kxmlgui-dev libphonenumber-dev modemmanager-qt-dev networkmanager-qt-dev plasma-framework-dev plasma-workspace-dev qt5-qtdeclarative-dev samurai solid-dev telepathy-qt-dev " provides="plasma-phone-components=$pkgver-r$pkgrel" # For backwards compatibility replaces="plasma-phone-components" # For backwards compatibility subpackages="" case "$pkgver" in *.90*) _rel=unstable;; *) _rel=stable;; esac source="https://download.kde.org/$_rel/plasma/$pkgver/plasma-mobile-$pkgver.tar.xz" options="!check" # No tests build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 4d573baae2b43e6ebf3aeac303da7f36ddbbb9ca52d3818dce73af5095b4dcd0a441927a9f2a803a1b89c78b1e8f7a1e089865f31a89fc6725a5183e8103dcb9 plasma-mobile-5.27.6.tar.xz " options="$options !strip"