41 lines
942 B
Bash
41 lines
942 B
Bash
# Copyright 1999-2018 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=6
|
|
|
|
KDE_HANDBOOK="forceoptional"
|
|
KMNAME="akonadi-calendar-tools"
|
|
inherit kde5
|
|
|
|
DESCRIPTION="Command line interface to KDE calendars"
|
|
HOMEPAGE+=" https://userbase.kde.org/KonsoleKalendar"
|
|
LICENSE="GPL-2+ handbook? ( FDL-1.2+ )"
|
|
KEYWORDS="amd64 x86"
|
|
|
|
IUSE=""
|
|
|
|
DEPEND="
|
|
$(add_frameworks_dep kconfig)
|
|
$(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_kdeapps_dep kcalutils)
|
|
"
|
|
RDEPEND="${DEPEND}
|
|
!kde-apps/kdepim-l10n
|
|
"
|
|
|
|
src_prepare() {
|
|
kde5_src_prepare
|
|
|
|
# delete colliding calendarjanitor translations
|
|
if [[ ${KDE_BUILD_TYPE} = release ]]; then
|
|
rm -f po/*/calendarjanitor.po || die
|
|
fi
|
|
|
|
cmake_comment_add_subdirectory calendarjanitor
|
|
}
|