blob: aab8be84c5526fa581050f8a8621015373c10632 (
plain) (
blame)
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
43
44
45
46
47
48
|
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=pimcommon
pkgver=22.04.2
pkgrel=0
pkgdesc="Common files for KDE PIM software"
url="https://kontact.kde.org/"
arch="all"
license="LGPL-2.0+ AND GPL-2.0+"
depends=""
makedepends="qt5-qtbase-dev qt5-qttools-dev cmake extra-cmake-modules boost-dev
karchive-dev kauth-dev kbookmarks-dev kcmutils-dev kcodecs-dev
kcompletion-dev kconfig-dev kconfigwidgets-dev kcontacts-dev
kcoreaddons-dev ki18n-dev kimap-dev kio-dev kitemmodels-dev
kitemviews-dev kjobwidgets-dev kldap-dev kmime-dev knewstuff-dev
kpimtextedit-dev kservice-dev ktextwidgets-dev kwidgetsaddons-dev
kwindowsystem-dev kxmlgui-dev libkdepim-dev purpose-dev solid-dev
akonadi-dev akonadi-contacts-dev akonadi-mime-dev akonadi-search-dev
attica-dev grantlee-dev grantleetheme-dev kcalendarcore-dev libxslt-dev
sonnet-dev"
subpackages="$pkgname-dev $pkgname-lang"
source="https://download.kde.org/stable/release-service/$pkgver/src/pimcommon-$pkgver.tar.xz"
build() {
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_SHARED_LIBS=True \
-DCMAKE_BUILD_TYPE=RelWithDebugInfo \
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
-DCMAKE_C_FLAGS="$CFLAGS" \
${CMAKE_CROSSOPTS} \
.
make
}
check() {
QT_QPA_PLATFORM=offscreen CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="6b6d80ffb2748bf930b256e1514c406ab57a6fcf5904487e7ff550eed5acae519a2c865bc0bc638fc7f8199d59de48653cad771793642d15a0274375a6aa4faa pimcommon-22.04.2.tar.xz"
|