# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=plasma-pa pkgver=5.26.1 pkgrel=0 pkgdesc="Plasma applet for audio volume management using PulseAudio" # armhf blocked by qt5-qtdeclarative arch="all !armhf" url="https://kde.org/plasma-desktop/" license="LGPL-2.1-only OR LGPL-3.0-only AND GPL-2.0-only" depends="pulseaudio kirigami2" makedepends=" extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev kcoreaddons-dev kdeclarative-dev kdoctools-dev kglobalaccel-dev knotifications-dev ki18n-dev plasma-workspace-dev pulseaudio-dev libcanberra-dev samurai " case "$pkgver" in *.90*) _rel=unstable;; *) _rel=stable;; esac source="https://download.kde.org/$_rel/plasma/$pkgver/plasma-pa-$pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-lang" build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DUSE_GCONF=OFF cmake --build build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 12c4bc67ed502598f186226aa062495b26b032ef3cb7254475a38b965d7e924c2c1dbc162c6739a5c5c6ead08462c8b80116011a46d924e79575df75e2667b86 plasma-pa-5.26.1.tar.xz "