blob: 0ca0bbe31a3e2953402cbc3166dea0ba02a8abf3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kdepim-addons
pkgver=19.08.3
pkgrel=0
arch="all !ppc64le !s390x" # Limited by kdepim-addons -> kmailtransport -> libkgapi -> qt5-qtwebengine
url="https://kontact.kde.org/"
pkgdesc="Addons for KDE PIM applications"
license="GPL-2.0-or-later AND LGPL-2.0-or-later"
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtwebengine-dev ki18n-dev kconfig-dev kdbusaddons-dev akonadi-notes-dev kxmlgui-dev kdeclarative-dev syntax-highlighting-dev kio-dev kiconthemes-dev kparts-dev prison-dev kholidays-dev kcalendarcore-dev kcalutils-dev mailcommon-dev grantlee-dev messagelib-dev libkleo-dev grantleetheme-dev pimcommon-dev libkdepim-dev incidenceeditor-dev akonadi-dev akonadi-calendar-dev libgravatar-dev kpimtextedit-dev kidentitymanagement-dev kimap-dev libksieve-dev ktnef-dev kmailtransport-dev kcontacts-dev akonadi-contacts-dev mailimporter-dev gpgme-dev discount-dev kpkpass-dev kitinerary-dev akonadi-import-wizard-dev kontactinterface-dev"
checkdepends="xvfb-runi drkonqi"
source="https://download.kde.org/stable/applications/$pkgver/src/kdepim-addons-$pkgver.tar.xz"
subpackages="$pkgname-lang"
options="!check" # Require OpenGL and running dbus
prepare() {
default_prepare
mkdir "$builddir"/build
}
build() {
cd "$builddir"/build
cmake "$builddir" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DKDEPIMADDONS_BUILD_EXAMPLES=OFF
make
}
check() {
cd "$builddir"/build
CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest
}
package() {
cd "$builddir"/build
DESTDIR="$pkgdir" make install
}
sha512sums="bc9d3cc80a50a758052d9f67fbdb26f9babc8f03e3d83928b63040dc5bc96bf38e76664ced3cc89025835850845d03386093705996dc757e6d46c02a7eda6425 kdepim-addons-19.08.3.tar.xz"
|