public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: kde-apps/kate/
Date: Mon,  7 Sep 2020 15:07:46 +0000 (UTC)	[thread overview]
Message-ID: <1599491149.8c132ae2a923e7e6df934dccbe34220776203e20.asturm@gentoo> (raw)

commit:     8c132ae2a923e7e6df934dccbe34220776203e20
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Sep  7 14:00: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=8c132ae2

kde-apps/kate: Use optfeature

Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 kde-apps/kate/kate-20.08.49.9999.ebuild | 11 +++++------
 kde-apps/kate/kate-9999.ebuild          | 11 +++++------
 2 files changed, 10 insertions(+), 12 deletions(-)

diff --git a/kde-apps/kate/kate-20.08.49.9999.ebuild b/kde-apps/kate/kate-20.08.49.9999.ebuild
index 88c8a7b98c..f16cc7feef 100644
--- a/kde-apps/kate/kate-20.08.49.9999.ebuild
+++ b/kde-apps/kate/kate-20.08.49.9999.ebuild
@@ -8,7 +8,7 @@ ECM_TEST="true"
 KFMIN=5.72.0
 QTMIN=5.14.2
 VIRTUALX_REQUIRED="test"
-inherit ecm kde.org
+inherit ecm kde.org optfeature
 
 DESCRIPTION="Multi-document editor with network transparency, Plasma integration and more"
 HOMEPAGE="https://kate-editor.org/
@@ -98,11 +98,10 @@ src_test() {
 }
 
 pkg_postinst() {
-	ecm_pkg_postinst
-
 	if [[ -z "${REPLACING_VERSIONS}" ]]; then
-		elog "The functionality of ktexteditorpreview plugin can be extended with:"
-		elog "  kde-misc/markdownpart or kde-misc/kmarkdownwebview"
-		elog "  media-gfx/kgraphviewer"
+		elog "Optional dependencies:"
+		optfeature "Markdown text previews" kde-misc/markdownpart:${SLOT} kde-misc/kmarkdownwebview:${SLOT}
+		optfeature "DOT graph file previews" media-gfx/kgraphviewer
 	fi
+	ecm_pkg_postinst
 }

diff --git a/kde-apps/kate/kate-9999.ebuild b/kde-apps/kate/kate-9999.ebuild
index 59b1cf30d8..712027bb95 100644
--- a/kde-apps/kate/kate-9999.ebuild
+++ b/kde-apps/kate/kate-9999.ebuild
@@ -8,7 +8,7 @@ ECM_TEST="true"
 KFMIN=5.73.0
 QTMIN=5.14.2
 VIRTUALX_REQUIRED="test"
-inherit ecm kde.org
+inherit ecm kde.org optfeature
 
 DESCRIPTION="Multi-document editor with network transparency, Plasma integration and more"
 HOMEPAGE="https://kate-editor.org/
@@ -98,11 +98,10 @@ src_test() {
 }
 
 pkg_postinst() {
-	ecm_pkg_postinst
-
 	if [[ -z "${REPLACING_VERSIONS}" ]]; then
-		elog "The functionality of ktexteditorpreview plugin can be extended with:"
-		elog "  kde-misc/markdownpart or kde-misc/kmarkdownwebview"
-		elog "  media-gfx/kgraphviewer"
+		elog "Optional dependencies:"
+		optfeature "Markdown text previews" kde-misc/markdownpart:${SLOT} kde-misc/kmarkdownwebview:${SLOT}
+		optfeature "DOT graph file previews" media-gfx/kgraphviewer
 	fi
+	ecm_pkg_postinst
 }


             reply	other threads:[~2020-09-07 15:07 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-07 15:07 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-10 20:54 [gentoo-commits] proj/kde:master commit in: kde-apps/kate/ Andreas Sturmlechner
2024-03-15 14:07 Andreas Sturmlechner
2023-09-14 19:43 Andreas Sturmlechner
2023-03-25  0:15 Andreas Sturmlechner
2023-03-23 16:06 Andreas Sturmlechner
2023-02-23 20:25 Andreas Sturmlechner
2023-01-15 12:30 Andreas Sturmlechner
2022-10-16 11:42 Andreas Sturmlechner
2022-10-06  9:02 Andreas Sturmlechner
2022-08-22 18:14 Andreas Sturmlechner
2022-08-21  2:46 Sam James
2022-08-20 21:37 Andreas Sturmlechner
2022-07-09 12:52 Andreas Sturmlechner
2021-05-12  7:50 Andreas Sturmlechner
2021-04-04 19:21 Andreas Sturmlechner
2020-10-06 18:13 Andreas Sturmlechner
2020-10-04 16:25 Andreas Sturmlechner
2020-02-11 23:26 Andreas Sturmlechner
2020-02-11 23:26 Andreas Sturmlechner
2019-11-16 23:18 Andreas Sturmlechner
2019-08-22 14:14 Andreas Sturmlechner
2019-08-06 20:05 Andreas Sturmlechner
2018-12-13 22:24 Andreas Sturmlechner
2018-05-31 21:34 Andreas Sturmlechner
2017-11-06 21:32 Andreas Sturmlechner
2017-08-20  9:55 Andreas Sturmlechner
2017-08-20  9:55 Andreas Sturmlechner
2017-07-23 13:06 Andreas Sturmlechner
2017-04-08  8:31 Andreas Sturmlechner
2017-04-01 14:50 Andreas Sturmlechner
2017-03-22 20:36 Andreas Sturmlechner
2016-05-18  6:06 Johannes Huber
2015-11-04 18:56 Michael Palimaka
2015-11-04 18:56 Michael Palimaka
2015-10-18 16:49 Michael Palimaka
2015-09-01 18:06 Michael Palimaka
2015-09-01 17:41 Michael Palimaka
2015-03-14 12:37 Johannes Huber
2015-02-21  7:50 Michael Palimaka
2014-12-26 18:09 Michael Palimaka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1599491149.8c132ae2a923e7e6df934dccbe34220776203e20.asturm@gentoo \
    --to=asturm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox