# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=plasma-pa pkgver=5.18.3 pkgrel=0 pkgdesc="Plasma applet for audio volume management using PulseAudio" arch="all !armhf" # armhf blocked by qt5-qtdeclarative url="https://www.kde.org/workspaces/plasmadesktop/" 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" source="https://download.kde.org/stable/plasma/$pkgver/plasma-pa-$pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-lang" build() { cmake -B build \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DUSE_GCONF=OFF make -C build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" make -C build install } sha512sums="d47a58106a9f6c8dded6478bccfbe1561be2f5239fcbb8d4cb3221a5c5afb4e6c39ed724250e67786a64d01256c6bf276d5b4eb3e1eaec9fc34c0876cda9610f plasma-pa-5.18.3.tar.xz"