summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kde-apps/calendarjanitor/Manifest1
-rw-r--r--kde-apps/calendarjanitor/calendarjanitor-20.12.1.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/kde-apps/calendarjanitor/Manifest b/kde-apps/calendarjanitor/Manifest
index 92e9e6cf8be5..f5cedfb15838 100644
--- a/kde-apps/calendarjanitor/Manifest
+++ b/kde-apps/calendarjanitor/Manifest
@@ -1,2 +1,3 @@
DIST akonadi-calendar-tools-20.08.3.tar.xz 228576 BLAKE2B 53d3beb42c766f0ac47ea54b5294b61680a6e712ed624489b7df2c182f014ec07fbcb81bd47ab6a2b045515a7d85f7efd1616b9aa672338e84b80258d98298b0 SHA512 d8dc7fbd74cce1081f2398d1d5478e08cd0b7e9c4aed5dc89b3a54b43e0427526c9a47f7304667b796bec2cb53d0f17d4541345f647165f50edfff44c7ee91a3
DIST akonadi-calendar-tools-20.12.0.tar.xz 223464 BLAKE2B f6ec3460af971c2d7296b5b452c0e7d4f6eee7544d95721422952022577db1a75ec0144bada1a7739ec4cfa6449e97cfe98ae7197098860bb0df851c9bbd80d6 SHA512 340ab39538aaad73aa6936a97c2b6ead7d362d0bdac92e53488bbc7b0bcd2c9992c6e4799eb6aa392ba2e2de4be4c9bad1ce5e016449d229fe53ad43dab2c49e
+DIST akonadi-calendar-tools-20.12.1.tar.xz 224868 BLAKE2B 4c59342679d1089e536d9a99d8eb07824ffbee038c1477050e4d3fc96cc348e13ec6f16f9d76af74f4d31dc06a0d002d51d446b0a65b309bb44f5fd058d8a5e2 SHA512 fc6c940e55fa86f91123a7cb0d2b2bb766b8adc7057d0a35f037bd100cd83efed11b7df7ca0cbc4d3e4e95133d1ce810b931fb0fe41b0e73f0a835a7edadea38
diff --git a/kde-apps/calendarjanitor/calendarjanitor-20.12.1.ebuild b/kde-apps/calendarjanitor/calendarjanitor-20.12.1.ebuild
new file mode 100644
index 000000000000..66495dc74c91
--- /dev/null
+++ b/kde-apps/calendarjanitor/calendarjanitor-20.12.1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+ECM_HANDBOOK="forceoptional" # FIXME: Check back for doc in release
+ECM_TEST="false"
+KDE_ORG_NAME="akonadi-calendar-tools"
+PVCUT=$(ver_cut 1-3)
+KFMIN=5.75.0
+QTMIN=5.15.1
+inherit ecm kde.org
+
+DESCRIPTION="Tool to scan calendar data for buggy instances"
+
+LICENSE="GPL-2+ handbook? ( FDL-1.2+ )"
+SLOT="5"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+IUSE=""
+
+DEPEND="
+ >=dev-qt/qtwidgets-${QTMIN}:5
+ >=kde-apps/akonadi-${PVCUT}:5
+ >=kde-apps/akonadi-calendar-${PVCUT}:5
+ >=kde-apps/calendarsupport-${PVCUT}:5
+ >=kde-frameworks/kcalendarcore-${KFMIN}:5
+ >=kde-frameworks/kcoreaddons-${KFMIN}:5
+ >=kde-frameworks/ki18n-${KFMIN}:5
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ ecm_src_prepare
+
+ cmake_comment_add_subdirectory doc konsolekalendar
+ sed -i -e "/console\.categories/ s/^/#DONT/" CMakeLists.txt || die
+
+ # delete colliding konsolekalendar translations
+ if [[ ${KDE_BUILD_TYPE} = release ]]; then
+ rm -f po/*/konsolekalendar.po || die
+ rm -rf po/*/docs/konsolekalendar || die
+ fi
+}