aboutsummaryrefslogblamecommitdiffstats
path: root/community/plasma-pa/APKBUILD
blob: 54f5eda58b4001de0f524f0602ab9990d7f805f5 (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                                                  
             
        
                                                                    
                                                      


                                                         
                                                                                                                                                                                                                       
                                                                                


                                        
                        
                                         
                                             

                                            
                     


         
                



                                          
                                               
 
                                                                                                                                                                      
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
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"