summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-apps/calendarjanitor')
-rw-r--r--kde-apps/calendarjanitor/Manifest1
-rw-r--r--kde-apps/calendarjanitor/calendarjanitor-20.04.0.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/kde-apps/calendarjanitor/Manifest b/kde-apps/calendarjanitor/Manifest
index 2272920d39ba..302bfd838e6c 100644
--- a/kde-apps/calendarjanitor/Manifest
+++ b/kde-apps/calendarjanitor/Manifest
@@ -1 +1,2 @@
DIST akonadi-calendar-tools-19.12.3.tar.xz 223340 BLAKE2B b438f392618d919440fddf0ba5d48ab52a0c509507018d7f546b477aa83a34e8f86551c44998337ba2cfba8050d31cde9dc6f672b1a9ce6b558b292bb960d483 SHA512 eac1400ff742199908daf765b5cf14efd12b630a34e6fe0ac6bb17072b05902e746af5740a8e0db82a5ea7535a413140e9b6d4ea029f2abe684aff05098a8b39
+DIST akonadi-calendar-tools-20.04.0.tar.xz 224576 BLAKE2B af334f969b91e939917d0748f982693dbca3ce3e6e88d12bc54cf07f1984f5e6546064434c6d653f478b0ff2be6d6fdd1d078a6a66ff85fdd54193e35422b23c SHA512 8b1bb9c9be6658b14b4f7e7ee1a5df7d70e6046b172ca0a0fe6d35629b47ab14422dacf1f38f6d52fb67126da6ebcb9a25904664ee83f33ab2f3e63675cffff5
diff --git a/kde-apps/calendarjanitor/calendarjanitor-20.04.0.ebuild b/kde-apps/calendarjanitor/calendarjanitor-20.04.0.ebuild
new file mode 100644
index 000000000000..4a6567cec577
--- /dev/null
+++ b/kde-apps/calendarjanitor/calendarjanitor-20.04.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2020 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.69.0
+QTMIN=5.12.3
+inherit ecm kde.org
+
+DESCRIPTION="Tool to scan calendar data for buggy instances"
+
+LICENSE="GPL-2+ handbook? ( FDL-1.2+ )"
+SLOT="5"
+KEYWORDS="~amd64"
+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
+}