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.5
|
|
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="7fedeaaeafaba7e2d7568fddcaff1793640979090aaf8ab7131c462b2bc0c2766f76d37cd0133c02c05a23efeb9e11b11350848d59b9869bf7bfcbd55924163e plasma-pa-5.12.5.tar.xz"
|