From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: kde-misc/krusader/
Date: Mon, 7 Sep 2020 15:07:47 +0000 (UTC) [thread overview]
Message-ID: <1599491150.982c50c08605c1015d516aa6505a9aae14d3be0c.asturm@gentoo> (raw)
commit: 982c50c08605c1015d516aa6505a9aae14d3be0c
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 7 14:04:54 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=982c50c0
kde-misc/krusader: Use optfeature
Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
kde-misc/krusader/krusader-9999.ebuild | 25 +++++++------------------
1 file changed, 7 insertions(+), 18 deletions(-)
diff --git a/kde-misc/krusader/krusader-9999.ebuild b/kde-misc/krusader/krusader-9999.ebuild
index 92299b4ef7..a7dc880ab2 100644
--- a/kde-misc/krusader/krusader-9999.ebuild
+++ b/kde-misc/krusader/krusader-9999.ebuild
@@ -6,7 +6,7 @@ EAPI=7
ECM_HANDBOOK="forceoptional"
KFMIN=5.60.0
QTMIN=5.12.3
-inherit ecm kde.org
+inherit ecm kde.org optfeature
if [[ ${KDE_BUILD_TYPE} = release ]]; then
SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}.tar.xz"
@@ -59,23 +59,12 @@ RDEPEND="${COMMON_DEPEND}
"
pkg_postinst() {
- ecm_pkg_postinst
-
if [[ -z "${REPLACING_VERSIONS}" ]]; then
- if ! has_version kde-misc/markdownpart:${SLOT} ||
- ! has_version kde-misc/kmarkdownwebview:${SLOT} ; then
- elog "For markdown support in text previews, install one of:"
- elog " kde-misc/markdownpart:${SLOT}"
- elog " kde-misc/kmarkdownwebview:${SLOT}"
- fi
- if ! has_version kde-apps/thumbnailers:${SLOT} ||
- ! has_version kde-apps/ffmpegthumbs:${SLOT} ; then
- elog "For PDF/PS, RAW and video thumbnails support, install:"
- elog " kde-apps/thumbnailers:${SLOT}"
- elog " kde-apps/ffmpegthumbs:${SLOT}"
- fi
- if ! has_version kde-apps/keditbookmarks:${SLOT} ; then
- elog "For bookmarks support, install kde-apps/keditbookmarks:${SLOT}"
- fi
+ elog "Optional dependencies:"
+ optfeature "Markdown text previews" kde-misc/markdownpart:${SLOT} kde-misc/kmarkdownwebview:${SLOT}
+ optfeature "PDF/PS and RAW image thumbnails" kde-apps/thumbnailers:${SLOT}
+ optfeature "video thumbnails" kde-apps/ffmpegthumbs:${SLOT}
+ optfeature "bookmarks support" kde-apps/keditbookmarks:${SLOT}
fi
+ ecm_pkg_postinst
}
next 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-12-14 21:49 [gentoo-commits] proj/kde:master commit in: kde-misc/krusader/ Andreas Sturmlechner
2024-11-22 23:15 Andreas Sturmlechner
2024-10-04 21:57 Andreas Sturmlechner
2024-10-02 18:00 Andreas Sturmlechner
2024-09-23 20:05 Andreas Sturmlechner
2024-09-23 20:05 Andreas Sturmlechner
2024-09-04 11:43 Andreas Sturmlechner
2024-09-02 16:03 Andreas Sturmlechner
2024-08-29 0:40 Sam James
2024-03-11 9:55 Andreas Sturmlechner
2024-03-07 21:10 Andreas Sturmlechner
2023-12-14 21:24 Andreas Sturmlechner
2022-11-15 1:02 Andreas Sturmlechner
2022-10-16 10:08 Andreas Sturmlechner
2022-10-06 9:02 Andreas Sturmlechner
2021-04-15 22:32 Andreas Sturmlechner
2020-02-23 13:27 Andreas Sturmlechner
2019-08-25 15:58 Andreas Sturmlechner
2019-07-15 20:52 Andreas Sturmlechner
2019-04-07 12:54 Andreas Sturmlechner
2017-04-12 16:35 Johannes Huber
2017-04-11 18:31 Andreas Sturmlechner
2017-01-15 20:10 Andreas Sturmlechner
2016-10-23 16:20 Michael Palimaka
2016-06-01 12:18 Johannes Huber
2016-03-26 11:03 Johannes Huber
2015-07-08 19:11 Johannes Huber
2015-06-27 21:11 Johannes Huber
2015-06-22 21:29 Johannes Huber
2015-06-17 19:28 Michael Palimaka
2015-06-05 17:21 Michael Palimaka
2015-01-30 9:32 Marc Schiffbauer
2015-01-30 0:30 Marc Schiffbauer
2015-01-30 0:19 Marc Schiffbauer
2013-06-29 13:01 Johannes Huber
2012-10-26 19:53 Chris Reffett
2012-10-22 21:42 Chris Reffett
2012-10-22 20:16 Chris Reffett
2012-10-18 4:09 Chris Reffett
2011-02-07 12:17 Marc Schiffbauer
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.982c50c08605c1015d516aa6505a9aae14d3be0c.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