Verified Commit 5efd7da9 authored by A. Wilcox's avatar A. Wilcox 🦊
Browse files

user/kcalcore: Bump to kcalendarcore 5.65.0

parent 8ec380b0
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=kcalcore
pkgver=18.12.3
pkgname=kcalendarcore
pkgver=5.65.0
pkgrel=0
pkgdesc="Library for managing a calendar of events"
url="https://www.kde.org/"
......@@ -9,14 +9,14 @@ arch="all"
license="LGPL-2.0+"
depends=""
depends_dev="qt5-qtbase-dev attica-dev kparts-dev"
makedepends="$depends_dev cmake extra-cmake-modules bison libical-dev
kconfig-dev kdelibs4support-dev"
checkdepends="tzdata"
subpackages="$pkgname-dev"
source="https://download.kde.org/stable/applications/$pkgver/src/kcalcore-$pkgver.tar.xz"
makedepends="$depends_dev cmake extra-cmake-modules libical-dev
doxygen qt5-qttools-dev"
subpackages="$pkgname-dev $pkgname-doc"
replaces="kcalcore"
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kcalendarcore-$pkgver.tar.xz"
build() {
cd "$builddir"
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
......@@ -27,18 +27,17 @@ build() {
-DCMAKE_BUILD_TYPE=RelWithDebugInfo \
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
-DCMAKE_C_FLAGS="$CFLAGS" \
${CMAKE_CROSSOPTS}
-DBUILD_QCH:BOOL=ON \
${CMAKE_CROSSOPTS} .
make
}
check() {
cd "$builddir"
TZ=UTC CTEST_OUTPUT_ON_FAILURE=TRUE ctest -E 'Compat-libical3'
TZ=UTC CTEST_OUTPUT_ON_FAILURE=TRUE ctest -E '(Compat-libical3|testicaltimezones)'
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="c347bfba365cb8d88fe11f743f5e5870e31a2d526f0cecda3bdebccadbf8e1ae5d19586d1c7120327e47e30a7a21931ed1e084fbfbdc41c82516e803893effae kcalcore-18.12.3.tar.xz"
sha512sums="4222a7223b9c6a45bc6966e547f9caa129e469a21386be271678ac3e6fcc2574593ca9dbb3f00bec30030f3d4511fb219a692607cd3b5fdcecd29be758a6e3ae kcalendarcore-5.65.0.tar.xz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment