aboutsummaryrefslogblamecommitdiffstats
path: root/community/kidentitymanagement/APKBUILD
blob: 192d8086f176cf030060db22589f6d8d1f217680 (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                  

              
                           
                                      

                                            

                             










                        
               
         

                                              
                                                                                                       


                                        

                                                   

                                             
                           


         
                


                                                                                   


           
                                               
 
 
            
                                                                                                                                                                    
 
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kidentitymanagement
pkgver=22.04.1
pkgrel=0
pkgdesc="KDE PIM libraries"
# armhf blocked by extra-cmake-modules
# s390x and riscv64 blocked by polkit -> kio
arch="all !armhf !s390x !riscv64"
url="https://kontact.kde.org"
license="LGPL-2.0-or-later"
depends_dev="
	kcodecs-dev
	kcompletion-dev
	kconfig-dev
	kcoreaddons-dev
	kiconthemes-dev
	kio-dev
	kpimtextedit-dev
	ktextwidgets-dev
	kxmlgui-dev
	qt5-qtbase-dev
	samurai
	"
makedepends="$depends_dev extra-cmake-modules"
checkdepends="xvfb-run"
source="https://download.kde.org/stable/release-service/$pkgver/src/kidentitymanagement-$pkgver.tar.xz"
subpackages="$pkgname-dev $pkgname-lang"

build() {
	cmake -B build -G Ninja \
		-DCMAKE_BUILD_TYPE=RelWithDebInfo \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
	cmake --build build
}

check() {
	cd build

	# kpimidentity-signaturetest is broken
	CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "kpimidentity-signaturetest"
}

package() {
	DESTDIR="$pkgdir" cmake --install build
}

sha512sums="
92c35a77962f0bda36a88c443f0a322d17deb582c5fefe510b6a1221d7d2fcc04bb3c6f616c94d78215f0bb3831f7d53e4278568b76ca051a6474a06d1e9fef3  kidentitymanagement-22.04.1.tar.xz
"