# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=plasma-pa pkgver=5.13.0 pkgrel=0 pkgdesc='Plasma applet for audio volume management using PulseAudio' arch="all" url='https://www.kde.org/workspaces/plasmadesktop/' license="GPL-2.0" depends="pulseaudio" makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev kcoreaddons-dev kdeclarative-dev kdoctools-dev kglobalaccel-dev ki18n-dev plasma-workspace-dev pulseaudio-dev libcanberra-dev gconf-dev" source="https://download.kde.org/stable/plasma/${pkgver}/$pkgname-$pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-lang" build() { cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DKDE_INSTALL_LIBDIR=lib \ -DKDE_INSTALL_LIBEXECDIR=lib make } check() { cd "$builddir" CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="afaae5c1946327fd28d3fc7758d09080a126b5b013916d4c2bd49a1a6d8b1250e21c408cf4426c7fc13269bc5f402c52e132845b915232d5ce04f42463761896 plasma-pa-5.13.0.tar.xz"