diff --git a/common/shlibs b/common/shlibs index 4f1dd14d434..e586b7e6354 100644 --- a/common/shlibs +++ b/common/shlibs @@ -480,6 +480,7 @@ libKF5Libkleo.so.5 libkleo-17.12.3_1 libKF5GrantleeTheme.so.5 grantleetheme-17.12.3_1 libKF5IMAP.so.5 kimap-17.12.3_1 libKF5Ldap.so.5 kldap-17.12.3_1 +libKF5CalendarCore.so.5 kcalcore-17.12.3_1 libbabl-0.1.so.0 babl-0.1.10_1 libbamf3.so.2 bamf-0.5.1_1 libgegl-0.2.so.0 gegl-0.2.0_1 diff --git a/srcpkgs/kcalcore-devel b/srcpkgs/kcalcore-devel new file mode 120000 index 00000000000..37ae3e37712 --- /dev/null +++ b/srcpkgs/kcalcore-devel @@ -0,0 +1 @@ +kcalcore \ No newline at end of file diff --git a/srcpkgs/kcalcore/template b/srcpkgs/kcalcore/template new file mode 100644 index 00000000000..82ed4284f96 --- /dev/null +++ b/srcpkgs/kcalcore/template @@ -0,0 +1,28 @@ +# Template file for 'kcalcore' +pkgname=kcalcore +version=17.12.3 +revision=1 +build_style=cmake +hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools python bison" +makedepends="libical-devel qt5-devel" +short_desc="The KDE calendar access library" +maintainer="John " +license="LGPL-2.0-or-later" +homepage="https://community.kde.org/KDE_PIM" +distfiles="https://download.kde.org/stable/applications/${version}/src/kcalcore-${version}.tar.xz" +checksum=7f80fcbbeea8d349327f4bba6241d348e9b159242b0686a9a97c99fb466bb888 + +case $XBPS_TARGET_MACHINE in + *-musl) CFLAGS="-D_GNU_SOURCE";; +esac + +kcalcore-devel_package() { + depends="${sourcepkg}>=${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/qt5/mkspecs + vmove usr/lib/cmake + vmove "usr/lib/*.so" + } +} diff --git a/srcpkgs/kcalcore/update b/srcpkgs/kcalcore/update new file mode 100644 index 00000000000..0bfbdced6f9 --- /dev/null +++ b/srcpkgs/kcalcore/update @@ -0,0 +1,2 @@ +site="https://download.kde.org/stable/applications/" +pattern='href="\K[\d\.]+(?=/")'