# 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=plasma-desktop pkgver=5.27.7.1 pkgrel=0 pkgdesc="KDE Plasma Desktop" # armhf blocked by qt5-qtdeclarative # ppc64le, s390x and riscv64 blocked by qt5-qtwebengine -> kaccounts-integration arch="all !armhf !ppc64le !s390x !riscv64" url='https://kde.org/plasma-desktop/' license="GPL-2.0-only AND LGPL-2.1-only" depends=" accountsservice font-noto-emoji ibus-emoji kirigami2 plasma-workspace qqc2-desktop-style setxkbmap xdg-user-dirs " makedepends=" attica-dev baloo-dev eudev-dev extra-cmake-modules fontconfig-dev ibus-dev kaccounts-integration-dev kactivities-dev kactivities-stats-dev kauth-dev kcmutils-dev kcodecs-dev kconfig-dev kdbusaddons-dev kdeclarative-dev kdelibs4support-dev kdoctools-dev kemoticons-dev kglobalaccel-dev ki18n-dev kitemmodels-dev knewstuff-dev knotifications-dev knotifyconfig-dev kpeople-dev kpipewire-dev krunner-dev kwallet-dev kwin-dev libxcursor-dev libxi-dev libxkbfile-dev plasma-framework-dev plasma-workspace-dev qqc2-desktop-style-dev qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtsvg-dev qt5-qtx11extras-dev samurai signon-plugin-oauth2-dev xf86-input-evdev-dev xf86-input-libinput-dev xf86-input-synaptics-dev xkeyboard-config-dev " checkdepends=" dbus iso-codes xvfb-run " case "$pkgver" in *.90*) _rel=unstable;; *) _rel=stable;; esac _repo_url="https://invent.kde.org/plasma/plasma-desktop.git" source="https://download.kde.org/$_rel/plasma/${pkgver%.*}/plasma-desktop-$pkgver.tar.xz" subpackages="$pkgname-dbg $pkgname-doc $pkgname-lang knetattach" _commit="" snapshot() { clean makedepends="git xz rsync tar" deps mkdir -p "$srcdir" && cd "$srcdir" git clone --filter=tree:0 https://invent.kde.org/plasma/plasma-desktop.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() { dbus-run-session -- xvfb-run ctest --test-dir build --output-on-failure -E "positionertest" } package() { DESTDIR="$pkgdir" cmake --install build } knetattach() { pkgdesc="Wizard which makes it easier to integrate network resources with the Plasma Desktop" depends="kdelibs4support" amove usr/bin/knetattach amove usr/share/applications/org.kde.knetattach.desktop } sha512sums=" aadf1864af1c2952262566db1e6e0216605750fbe9ab94bf667851b8a6bb0180c67170b8ef865e3fd48b2cafb218de90cef78978f34144d2e4ca71b3331918ea plasma-desktop-5.27.7.1.tar.xz "