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/dolphin/
Date: Mon,  7 Sep 2020 15:07:45 +0000 (UTC)	[thread overview]
Message-ID: <1599491148.ae18e71fa5bf81a8082e571ee66567664973d081.asturm@gentoo> (raw)

commit:     ae18e71fa5bf81a8082e571ee66567664973d081
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Sep  7 13:17:02 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Sep  7 15:05:48 2020 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=ae18e71f

kde-apps/dolphin: Use optfeature

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

 kde-apps/dolphin/dolphin-20.08.49.9999.ebuild | 25 ++++++++-----------------
 kde-apps/dolphin/dolphin-9999.ebuild          | 25 ++++++++-----------------
 2 files changed, 16 insertions(+), 34 deletions(-)

diff --git a/kde-apps/dolphin/dolphin-20.08.49.9999.ebuild b/kde-apps/dolphin/dolphin-20.08.49.9999.ebuild
index bf24bc1f46..59476633af 100644
--- a/kde-apps/dolphin/dolphin-20.08.49.9999.ebuild
+++ b/kde-apps/dolphin/dolphin-20.08.49.9999.ebuild
@@ -9,7 +9,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="Plasma filemanager focusing on usability"
 HOMEPAGE="https://kde.org/applications/system/org.kde.dolphin
@@ -77,22 +77,13 @@ src_configure() {
 }
 
 pkg_postinst() {
-	ecm_pkg_postinst
-
 	if [[ -z "${REPLACING_VERSIONS}" ]]; then
-		has_version "kde-apps/ark:${SLOT}" || \
-			elog "For compress/extract and other actions install kde-apps/ark:${SLOT}"
-
-		has_version "kde-apps/kleopatra:${SLOT}" || \
-			elog "For crypto actions install kde-apps/kleopatra:${SLOT}"
-
-		has_version "kde-apps/ffmpegthumbs:${SLOT}" || \
-			elog "For video file thumbnails install kde-apps/ffmpegthumbs:${SLOT}"
-
-		has_version "kde-apps/thumbnailers:${SLOT}" || \
-			elog "For graphics file thumbnails install kde-apps/thumbnailers:${SLOT}"
-
-		has_version "kde-frameworks/purpose:${SLOT}" || \
-			elog "For 'Share' context menu actions install kde-frameworks/purpose:${SLOT}"
+		elog "Optional dependencies:"
+		optfeature "compress/extract and other actions" kde-apps/ark:${SLOT}
+		optfeature "crypto actions" kde-apps/kleopatra:${SLOT}
+		optfeature "video file thumbnails" kde-apps/ffmpegthumbs:${SLOT}
+		optfeature "graphics file thumbnails" kde-apps/thumbnailers:${SLOT}
+		optfeature "'Share' context menu actions" kde-frameworks/purpose:${SLOT}
 	fi
+	ecm_pkg_postinst
 }

diff --git a/kde-apps/dolphin/dolphin-9999.ebuild b/kde-apps/dolphin/dolphin-9999.ebuild
index 815df8325e..fda06708b3 100644
--- a/kde-apps/dolphin/dolphin-9999.ebuild
+++ b/kde-apps/dolphin/dolphin-9999.ebuild
@@ -9,7 +9,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="Plasma filemanager focusing on usability"
 HOMEPAGE="https://kde.org/applications/system/org.kde.dolphin
@@ -77,22 +77,13 @@ src_configure() {
 }
 
 pkg_postinst() {
-	ecm_pkg_postinst
-
 	if [[ -z "${REPLACING_VERSIONS}" ]]; then
-		has_version "kde-apps/ark:${SLOT}" || \
-			elog "For compress/extract and other actions install kde-apps/ark:${SLOT}"
-
-		has_version "kde-apps/kleopatra:${SLOT}" || \
-			elog "For crypto actions install kde-apps/kleopatra:${SLOT}"
-
-		has_version "kde-apps/ffmpegthumbs:${SLOT}" || \
-			elog "For video file thumbnails install kde-apps/ffmpegthumbs:${SLOT}"
-
-		has_version "kde-apps/thumbnailers:${SLOT}" || \
-			elog "For graphics file thumbnails install kde-apps/thumbnailers:${SLOT}"
-
-		has_version "kde-frameworks/purpose:${SLOT}" || \
-			elog "For 'Share' context menu actions install kde-frameworks/purpose:${SLOT}"
+		elog "Optional dependencies:"
+		optfeature "compress/extract and other actions" kde-apps/ark:${SLOT}
+		optfeature "crypto actions" kde-apps/kleopatra:${SLOT}
+		optfeature "video file thumbnails" kde-apps/ffmpegthumbs:${SLOT}
+		optfeature "graphics file thumbnails" kde-apps/thumbnailers:${SLOT}
+		optfeature "'Share' context menu actions" kde-frameworks/purpose:${SLOT}
 	fi
+	ecm_pkg_postinst
 }


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

Thread overview: 58+ 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-08-22 20:03 [gentoo-commits] proj/kde:master commit in: kde-apps/dolphin/ Andreas Sturmlechner
2024-08-15  8:32 Andreas Sturmlechner
2024-08-15  7:39 Andreas Sturmlechner
2024-08-15  7:39 Andreas Sturmlechner
2024-08-12 18:10 Andreas Sturmlechner
2024-08-11  6:58 Andreas Sturmlechner
2024-07-07 12:09 Sam James
2024-05-16 14:26 Andreas Sturmlechner
2024-03-15 14:07 Andreas Sturmlechner
2023-12-21 11:46 Andreas Sturmlechner
2023-12-14 21:24 Andreas Sturmlechner
2023-03-25  0:15 Andreas Sturmlechner
2021-05-12  7:50 Andreas Sturmlechner
2021-04-16 19:37 Andreas Sturmlechner
2021-04-04 19:21 Andreas Sturmlechner
2021-02-04 13:16 Andreas Sturmlechner
2020-10-18 16:01 Andreas Sturmlechner
2020-10-06 18:13 Andreas Sturmlechner
2019-06-22 14:43 Andreas Sturmlechner
2019-06-05 11:18 Andreas Sturmlechner
2019-05-21 23:56 Andreas Sturmlechner
2019-05-21 23:56 Andreas Sturmlechner
2019-04-04  0:29 Andreas Sturmlechner
2018-08-21 15:36 Andreas Sturmlechner
2017-08-26 13:04 Michael Palimaka
2017-06-09 13:19 Andreas Sturmlechner
2017-02-06  0:45 Andreas Sturmlechner
2016-08-04 21:14 Maciej Mrozowski
2016-04-08 15:45 Michael Palimaka
2016-04-07 12:03 Michael Palimaka
2016-02-19  6:34 Michael Palimaka
2016-02-13 15:39 Michael Palimaka
2016-02-12  3:50 Michael Palimaka
2015-12-22 16:06 Michael Palimaka
2015-12-22 16:06 Michael Palimaka
2015-12-10  9:54 Michael Palimaka
2015-12-08 14:56 Michael Palimaka
2015-11-04 18:56 Michael Palimaka
2015-09-26 15:48 Michael Palimaka
2015-08-27 14:41 Michael Palimaka
2015-08-26 12:44 Michael Palimaka
2015-08-26 12:37 Michael Palimaka
2015-08-26 12:33 Michael Palimaka
2015-08-26 12:33 Michael Palimaka
2015-07-31 22:22 Manuel Rüger
2015-07-31 22:08 Alexey Shvetsov
2015-07-27 17:50 Johannes Huber
2015-06-17 19:43 Michael Palimaka
2015-05-23 16:29 Michael Palimaka
2015-05-23 16:13 Michael Palimaka
2015-03-05 19:45 Johannes Huber
2015-03-02 18:34 Johannes Huber
2015-02-26 21:27 Johannes Huber
2015-01-25 10:01 Johannes Huber
2014-12-14 15:37 Michael Palimaka
2014-11-29 16:23 Michael Palimaka
2014-11-24 12:51 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=1599491148.ae18e71fa5bf81a8082e571ee66567664973d081.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