3aa410a7dd
[ci skip]
46 lines
1.5 KiB
Bash
46 lines
1.5 KiB
Bash
# Template file for 'kcalendarcore'
|
|
pkgname=kcalendarcore
|
|
reverts="19.08.3_1 19.08.2_1 19.08.1_1 19.08.0_1 19.04.3_1 19.04.2_1 19.04.1_1 19.04.0_1 18.12.3_1 18.12.2_1 18.12.1_1 18.12.0_2 18.12.0_1 18.08.3_1 18.08.2_1 18.08.1_1 18.08.0_1 18.04.3_1 17.12.3_1"
|
|
version=5.75.0
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="kcoreaddons extra-cmake-modules qt5-qmake qt5-host-tools"
|
|
makedepends="qt5-devel libical-devel"
|
|
checkdepends="perl"
|
|
short_desc="The KDE calendar access library"
|
|
maintainer="John <me@johnnynator.dev>"
|
|
license="LGPL-2.0-or-later"
|
|
homepage="${KDE_SITE}https://invent.kde.org/frameworks/kcalendarcore"
|
|
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=02ff08c6462a5f0552c85a1da98320ca0a1c8d7295a05230f4b27b7a3f0a3dbc
|
|
replaces="kcalcore>=0"
|
|
|
|
do_check() {
|
|
#: # Fun with timezones
|
|
cd build
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest -E "test(recurtodo|readrecurrenceid|icaltimezones|memorycalendar|timesininterval)"
|
|
}
|
|
|
|
kcalendarcore-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
replaces="kcalcore-devel>=0"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/cmake
|
|
vmove usr/lib/qt5/mkspecs/modules
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|
|
|
|
kcalcore_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - (transitional meta package)"
|
|
build_style=meta
|
|
}
|
|
|
|
kcalcore-devel_package() {
|
|
depends="${sourcepkg}-devel>=${version}_${revision}"
|
|
short_desc+=" - (transitional meta package)"
|
|
build_style=meta
|
|
}
|