aboutsummaryrefslogblamecommitdiffstats
path: root/community/kdepim-addons/APKBUILD
blob: ea3a5e6e4b3ef091ee0186e85d285d24169299a4 (plain) (tree)
1
2
3
4
5
6
7
8


                                                  
              
        


                                                  


                                                
















































                                 
                                                                                                 



                                                  
                        
                                         
                                             
                                            
                                                 
                           


         
                



                                                   
                                                              

 
                                                                                                                                                                           
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kdepim-addons
pkgver=20.12.1
pkgrel=0
# armhf blocked by extra-cmake-modules
# ppc64le, s390x and mips blocked by kdepim-addons
arch="all !ppc64le !s390x !armhf !mips !mips64"
url="https://kontact.kde.org/"
pkgdesc="Addons for KDE PIM applications"
license="GPL-2.0-or-later AND LGPL-2.0-or-later"
makedepends="
	akonadi-calendar-dev
	akonadi-contacts-dev
	akonadi-dev
	akonadi-import-wizard-dev
	akonadi-notes-dev
	discount-dev
	extra-cmake-modules
	gpgme-dev
	grantlee-dev
	grantleetheme-dev
	incidenceeditor-dev
	kcalendarcore-dev
	kcalutils-dev
	kconfig-dev
	kcontacts-dev
	kdbusaddons-dev
	kdeclarative-dev
	kholidays-dev
	ki18n-dev
	kiconthemes-dev
	kidentitymanagement-dev
	kimap-dev
	kio-dev
	kitinerary-dev
	kmailtransport-dev
	kontactinterface-dev
	kparts-dev
	kpimtextedit-dev
	kpkpass-dev
	ktnef-dev
	kxmlgui-dev
	libgravatar-dev
	libkdepim-dev
	libkleo-dev
	libksieve-dev
	mailcommon-dev
	mailimporter-dev
	messagelib-dev
	pimcommon-dev
	prison-dev
	qt5-qtbase-dev
	qt5-qtwebengine-dev
	syntax-highlighting-dev
	"
checkdepends="
	drkonqi
	xvfb-runi
	"
source="https://download.kde.org/stable/release-service/$pkgver/src/kdepim-addons-$pkgver.tar.xz"
subpackages="$pkgname-lang"
options="!check" # Require OpenGL and running dbus

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

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

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

sha512sums="b4b2ea1eafed4bc26fc3a9c68cb1591d5bc75a295f3892b2186d3de51bbf5ee5fabdd3a0ca47447795b49949bcf528e2971c90f33f9da64e45ca205f0cd35ba5  kdepim-addons-20.12.1.tar.xz"