35 lines
1.1 KiB
Text
35 lines
1.1 KiB
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=plasma-pa
|
|
pkgver=5.12.3
|
|
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="0455b77051b5b7dbc505990ff26b91a96adf42ee1e3ab59ab88d05ff396ff80019120ed11749bc13bd700786472ddaa3df79b57d9d4396c0ab1ec2b34d7f48d0 plasma-pa-5.12.3.tar.xz"
|