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-frameworks/solid/
Date: Mon,  7 Sep 2020 15:07:46 +0000 (UTC)	[thread overview]
Message-ID: <1599491150.41a9176b891c2ecec7e736e2c0fd7d8ca7050997.asturm@gentoo> (raw)

commit:     41a9176b891c2ecec7e736e2c0fd7d8ca7050997
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Sep  7 14:30:21 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Sep  7 15:05:50 2020 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=41a9176b

kde-frameworks/solid: Use optfeature

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

 kde-frameworks/solid/solid-5.74.0.ebuild | 10 +++++-----
 kde-frameworks/solid/solid-9999.ebuild   | 10 +++++-----
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/kde-frameworks/solid/solid-5.74.0.ebuild b/kde-frameworks/solid/solid-5.74.0.ebuild
index 1115515d27..e40ec75b7b 100644
--- a/kde-frameworks/solid/solid-5.74.0.ebuild
+++ b/kde-frameworks/solid/solid-5.74.0.ebuild
@@ -5,7 +5,7 @@ EAPI=7
 
 QTMIN=5.14.2
 VIRTUALX_REQUIRED="test"
-inherit ecm kde.org
+inherit ecm kde.org optfeature
 
 DESCRIPTION="Provider for platform independent hardware discovery, abstraction and management"
 LICENSE="LGPL-2.1+"
@@ -30,9 +30,9 @@ DEPEND="${RDEPEND}
 "
 
 pkg_postinst() {
-	ecm_pkg_postinst
-
-	if [[ -z "${REPLACING_VERSIONS}" ]] && ! has_version "app-misc/media-player-info" ; then
-		elog "For media player support, install app-misc/media-player-info"
+	if [[ -z "${REPLACING_VERSIONS}" ]]; then
+		elog "Optional dependencies:"
+		optfeature "Media player devices support" app-misc/media-player-info
 	fi
+	ecm_pkg_postinst
 }

diff --git a/kde-frameworks/solid/solid-9999.ebuild b/kde-frameworks/solid/solid-9999.ebuild
index ac356101a1..ea9abe432a 100644
--- a/kde-frameworks/solid/solid-9999.ebuild
+++ b/kde-frameworks/solid/solid-9999.ebuild
@@ -5,7 +5,7 @@ EAPI=7
 
 QTMIN=5.14.2
 VIRTUALX_REQUIRED="test"
-inherit ecm kde.org
+inherit ecm kde.org optfeature
 
 DESCRIPTION="Provider for platform independent hardware discovery, abstraction and management"
 LICENSE="LGPL-2.1+"
@@ -30,9 +30,9 @@ DEPEND="${RDEPEND}
 "
 
 pkg_postinst() {
-	ecm_pkg_postinst
-
-	if [[ -z "${REPLACING_VERSIONS}" ]] && ! has_version "app-misc/media-player-info" ; then
-		elog "For media player support, install app-misc/media-player-info"
+	if [[ -z "${REPLACING_VERSIONS}" ]]; then
+		elog "Optional dependencies:"
+		optfeature "Media player devices support" app-misc/media-player-info
 	fi
+	ecm_pkg_postinst
 }


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

Thread overview: 25+ 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-12-23 17:33 [gentoo-commits] proj/kde:master commit in: kde-frameworks/solid/ Andreas Sturmlechner
2024-12-14 21:37 Andreas Sturmlechner
2024-01-11 23:19 Andreas Sturmlechner
2024-01-11 23:19 Andreas Sturmlechner
2022-12-11 21:24 Andreas Sturmlechner
2022-11-16 21:07 Andreas Sturmlechner
2022-10-02 22:17 Andreas Sturmlechner
2021-04-04 19:21 Andreas Sturmlechner
2020-10-15 22:14 Andreas Sturmlechner
2020-06-28 17:56 Andreas Sturmlechner
2019-12-15 15:45 Andreas Sturmlechner
2019-06-10 10:34 Michael Palimaka
2019-04-21 18:47 Andreas Sturmlechner
2019-04-07 12:54 Andreas Sturmlechner
2018-12-13 22:24 Andreas Sturmlechner
2018-08-18 20:51 Andreas Sturmlechner
2015-11-10 22:22 Manuel Rüger
2015-08-28 15:15 Michael Palimaka
2015-07-01 15:31 Michael Palimaka
2014-05-06 15:47 Michael Palimaka
2014-05-05 15:13 Michael Palimaka
2014-04-24 16:37 Johannes Huber
2014-04-16 19:48 Michael Palimaka
2014-03-19 11:55 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=1599491150.41a9176b891c2ecec7e736e2c0fd7d8ca7050997.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