aboutsummaryrefslogblamecommitdiffstats
path: root/community/akonadi-calendar/APKBUILD
blob: 8a1611c87dde5bd2d3e39e1b54cbd54af0053eb4 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11


                                                  
              
        
                                                                 
                                                                                                          



                                                                                  
                                                                         

                                              
                                                                                                    



                                        
                        
                                         

                                             
                           


         
                



                                                   
                                                              
 
                                                                                                                                                                              
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=akonadi-calendar
pkgver=20.04.2
pkgrel=0
pkgdesc="Libraries and daemons to implement basic email handling"
arch="all !ppc64le !s390x !armhf !mips !mips64" # Limited by kmailtransport -> libkgapi -> qt5-qtwebengine
url="https://community.kde.org/KDE_PIM"
license="LGPL-2.0-or-later"
depends_dev="ki18n-dev kwidgetsaddons-dev kxmlgui-dev kio-dev kcodecs-dev
	kiconthemes-dev kdbusaddons-dev kmailtransport-dev kidentitymanagement-dev
	kcalendarcore-dev kcalutils-dev akonadi-dev akonadi-contacts-dev"
makedepends="$depends_dev extra-cmake-modules"
checkdepends="xvfb-run"
source="https://download.kde.org/stable/release-service/$pkgver/src/akonadi-calendar-$pkgver.tar.xz"
subpackages="$pkgname-dev $pkgname-lang"
options="!check" # Broken

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

check() {
	cd build
	CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest
}

package() {
	DESTDIR="$pkgdir" cmake --build build --target install
}
sha512sums="5b009556650d90ba027daaf9f5ba26abd855b947ec04ce9459599d07a89efe00ccccc32f1cfbaa6e032de5b032d1d0fc28d24fadd904c96caf3cf15dc0c40eb9  akonadi-calendar-20.04.2.tar.xz"