commit: a9d4beefe1a84b1e135c87b69e84c0e7b2dd2e7f Author: Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com> AuthorDate: Sun Apr 17 08:48:00 2016 +0000 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> CommitDate: Sun May 8 20:37:07 2016 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=a9d4beef
kde-apps/sieveeditor: Add split ebuild Package-Manager: portage-2.2.27 kde-apps/sieveeditor/metadata.xml | 8 ++++ kde-apps/sieveeditor/sieveeditor-9999.ebuild | 61 ++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) diff --git a/kde-apps/sieveeditor/metadata.xml b/kde-apps/sieveeditor/metadata.xml new file mode 100644 index 0000000..2fdbf33 --- /dev/null +++ b/kde-apps/sieveeditor/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>k...@gentoo.org</email> + <name>Gentoo KDE Project</name> + </maintainer> +</pkgmetadata> diff --git a/kde-apps/sieveeditor/sieveeditor-9999.ebuild b/kde-apps/sieveeditor/sieveeditor-9999.ebuild new file mode 100644 index 0000000..6e8544e --- /dev/null +++ b/kde-apps/sieveeditor/sieveeditor-9999.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +KDE_HANDBOOK="forceoptional" +KDE_TEST="forceoptional" +KMNAME="kdepim" +QT_MINIMAL="5.6.0" +VIRTUALX_REQUIRED="test" +inherit kde5 + +DESCRIPTION="Editor for Sieve scripts used for email filtering on a mail server" +KEYWORDS="" +IUSE="" + +DEPEND=" + $(add_frameworks_dep kbookmarks) + $(add_frameworks_dep kconfig) + $(add_frameworks_dep kconfigwidgets) + $(add_frameworks_dep kcoreaddons) + $(add_frameworks_dep kdbusaddons) + $(add_frameworks_dep ki18n) + $(add_frameworks_dep kiconthemes) + $(add_frameworks_dep kwallet) + $(add_frameworks_dep kwidgetsaddons) + $(add_frameworks_dep kxmlgui) + $(add_kdeapps_dep akonadi) + $(add_kdeapps_dep akonadi-contact) + $(add_kdeapps_dep akonadi-mime) + $(add_kdeapps_dep calendarsupport) + $(add_kdeapps_dep kcalcore) + $(add_kdeapps_dep kcontacts) + $(add_kdeapps_dep kmailtransport) + $(add_kdeapps_dep libksieve) + $(add_kdeapps_dep messagelib) + $(add_kdeapps_dep pimcommon) + $(add_qt_dep qtgui) + $(add_qt_dep qtnetwork) + $(add_qt_dep qtwidgets) +" +RDEPEND="${DEPEND} + !kde-apps/kdepim:5 + !kde-apps/kdepim-common-libs:4 +" + +if [[ ${KDE_BUILD_TYPE} = live ]] ; then + S="${WORKDIR}/${P}/${PN}" +else + S="${WORKDIR}/${KMNAME}-${PV}/${PN}" +fi + +src_prepare() { + # sieveeditor subproject does not contain doc + # at least until properly split upstream + echo "add_subdirectory(doc)" >> CMakeLists.txt || die "Failed to add doc dir" + mv ../doc/${PN} doc || die "Failed to move handbook" + + kde5_src_prepare +}