mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 19:55:26 +03:00
67 lines
1.5 KiB
Text
67 lines
1.5 KiB
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=pimcommon
|
|
pkgver=21.04.3
|
|
pkgrel=0
|
|
pkgdesc="Common lib for KDEPim"
|
|
# armhf blocked by extra-cmake-modules
|
|
# s390x, mips64 and riscv64 blocked by polkit -> kio
|
|
# ppc64le blocked by qt5-qtwebengine -> akonadi
|
|
arch="all !armhf !mips64 !s390x !riscv64 !ppc64le"
|
|
url='https://community.kde.org/KDE_PIM'
|
|
license="GPL-2.0-or-later"
|
|
depends_dev="
|
|
akonadi-contacts-dev
|
|
akonadi-dev
|
|
karchive-dev
|
|
kcodecs-dev
|
|
kcompletion-dev
|
|
kconfig-dev
|
|
kconfigwidgets-dev
|
|
kcontacts-dev
|
|
kcoreaddons-dev
|
|
kdbusaddons-dev
|
|
ki18n-dev
|
|
kiconthemes-dev
|
|
kimap-dev
|
|
kio-dev
|
|
kitemmodels-dev
|
|
kjobwidgets-dev
|
|
kmime-dev
|
|
knewstuff-dev
|
|
kpimtextedit-dev
|
|
kservice-dev
|
|
kwidgetsaddons-dev
|
|
kxmlgui-dev
|
|
libkdepim-dev
|
|
purpose-dev
|
|
qt5-qtbase-dev
|
|
"
|
|
makedepends="$depends_dev
|
|
extra-cmake-modules
|
|
qt5-qttools-dev
|
|
"
|
|
checkdepends="xvfb-run"
|
|
source="https://download.kde.org/stable/release-service/$pkgver/src/pimcommon-$pkgver.tar.xz"
|
|
subpackages="$pkgname-dev $pkgname-lang"
|
|
|
|
build() {
|
|
cmake -B build \
|
|
-DCMAKE_BUILD_TYPE=None \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
-DBUILD_DESIGNERPLUGIN=ON
|
|
cmake --build build
|
|
}
|
|
|
|
check() {
|
|
cd build
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
sha512sums="
|
|
b2ff1ff7942e49676aedfbe923e3a3bfa26e170007b58d2ee07d80da466b4d701fbf0707720cdc10304c7c41381c3503781993e83f88414546e605896817b320 pimcommon-21.04.3.tar.xz
|
|
"
|