36 lines
1.1 KiB
Text
36 lines
1.1 KiB
Text
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
||
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
||
|
pkgname=plasma-pa
|
||
|
pkgver=5.12.2
|
||
|
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="915a2108d3d96463c1571b8d0e919fc0863295d8fd0e5993190692f54e91ffde8472a0ee2c23b54c92d174dae2b8fb587b1b3bd15a90f2d92ead0898473992f5 plasma-pa-5.12.2.tar.xz"
|