diff options
Diffstat (limited to 'kde-apps/calendarjanitor/calendarjanitor-17.12.1.ebuild')
-rw-r--r-- | kde-apps/calendarjanitor/calendarjanitor-17.12.1.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/kde-apps/calendarjanitor/calendarjanitor-17.12.1.ebuild b/kde-apps/calendarjanitor/calendarjanitor-17.12.1.ebuild new file mode 100644 index 000000000000..026dab8a1418 --- /dev/null +++ b/kde-apps/calendarjanitor/calendarjanitor-17.12.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +KDE_HANDBOOK="forceoptional" # FIXME: Check back for doc in release +KDE_TEST="false" +KMNAME="akonadi-calendar-tools" +inherit kde5 + +DESCRIPTION="Tool to scan calendar data for buggy instances" +LICENSE="GPL-2+ handbook? ( FDL-1.2+ )" +KEYWORDS="~amd64 ~x86" + +IUSE="" + +DEPEND=" + $(add_frameworks_dep kcoreaddons) + $(add_frameworks_dep kdelibs4support) + $(add_frameworks_dep ki18n) + $(add_kdeapps_dep akonadi) + $(add_kdeapps_dep akonadi-calendar) + $(add_kdeapps_dep calendarsupport) + $(add_kdeapps_dep kcalcore) + $(add_qt_dep qtwidgets) +" +RDEPEND="${DEPEND} + !kde-apps/kdepim-l10n +" + +src_prepare() { + kde5_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 +} |