commit: 6aaeb20d51d1ca522d80c6ed8a39d7582e7871f5 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Mon Sep 7 13:44:25 2020 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Mon Sep 7 15:05:49 2020 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=6aaeb20d
kde-apps/kdepim-addons: Use optfeature Package-Manager: Portage-3.0.5, Repoman-3.0.1 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> kde-apps/kdepim-addons/kdepim-addons-20.08.49.9999.ebuild | 10 +++++----- kde-apps/kdepim-addons/kdepim-addons-9999.ebuild | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/kde-apps/kdepim-addons/kdepim-addons-20.08.49.9999.ebuild b/kde-apps/kdepim-addons/kdepim-addons-20.08.49.9999.ebuild index 7d1b6835ab..b98ba2d264 100644 --- a/kde-apps/kdepim-addons/kdepim-addons-20.08.49.9999.ebuild +++ b/kde-apps/kdepim-addons/kdepim-addons-20.08.49.9999.ebuild @@ -8,7 +8,7 @@ PVCUT=$(ver_cut 1-3) KFMIN=5.72.0 QTMIN=5.14.2 VIRTUALX_REQUIRED="test" -inherit ecm kde.org +inherit ecm kde.org optfeature DESCRIPTION="Plugins for KDE Personal Information Management Suite" HOMEPAGE="https://kde.org/applications/office/org.kde.kontact" @@ -79,9 +79,9 @@ src_configure() { } pkg_postinst() { - ecm_pkg_postinst - - if [[ ${KDE_BUILD_TYPE} = live ]] && ! has_version "kde-misc/kregexpeditor" ; then - elog "${PN} Sieve editor plugin can make use of kde-misc/kregexpeditor if installed." + if [[ -z "${REPLACING_VERSIONS}" ]]; then + elog "Optional dependencies:" + optfeature "regex support for Sieve editor plugin" kde-misc/kregexpeditor fi + ecm_pkg_postinst } diff --git a/kde-apps/kdepim-addons/kdepim-addons-9999.ebuild b/kde-apps/kdepim-addons/kdepim-addons-9999.ebuild index 89b35063ae..d769dc0fc0 100644 --- a/kde-apps/kdepim-addons/kdepim-addons-9999.ebuild +++ b/kde-apps/kdepim-addons/kdepim-addons-9999.ebuild @@ -8,7 +8,7 @@ PVCUT=$(ver_cut 1-3) KFMIN=5.73.0 QTMIN=5.14.2 VIRTUALX_REQUIRED="test" -inherit ecm kde.org +inherit ecm kde.org optfeature DESCRIPTION="Plugins for KDE Personal Information Management Suite" HOMEPAGE="https://kde.org/applications/office/org.kde.kontact" @@ -80,9 +80,9 @@ src_configure() { } pkg_postinst() { - ecm_pkg_postinst - - if [[ ${KDE_BUILD_TYPE} = live ]] && ! has_version "kde-misc/kregexpeditor" ; then - elog "${PN} Sieve editor plugin can make use of kde-misc/kregexpeditor if installed." + if [[ -z "${REPLACING_VERSIONS}" ]]; then + elog "Optional dependencies:" + optfeature "regex support for Sieve editor plugin" kde-misc/kregexpeditor fi + ecm_pkg_postinst }