You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/kde-apps/calendarjanitor/calendarjanitor-16.08.1.ebuild

43 lines
956 B

# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
KDE_HANDBOOK="forceoptional" # FIXME: Check back for doc in release
KDE_TEST="false"
KMNAME="kdepim"
inherit kde5
DESCRIPTION="A 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:5
"
if [[ ${KDE_BUILD_TYPE} = live ]] ; then
S="${WORKDIR}/${P}/console"
else
S="${WORKDIR}/${KMNAME}-${PV}/console"
fi
src_prepare() {
cmake_comment_add_subdirectory konsolekalendar
sed -i -e "/console\.categories/ s/^/#DONT/" CMakeLists.txt || die
kde5_src_prepare
}