From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: kde-frameworks/purpose/
Date: Mon, 7 Sep 2020 15:07:46 +0000 (UTC) [thread overview]
Message-ID: <1599491149.9d5487fed0922c3b218128ac9f9e9a81af8d9d66.asturm@gentoo> (raw)
commit: 9d5487fed0922c3b218128ac9f9e9a81af8d9d66
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 7 14:38:39 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=9d5487fe
kde-frameworks/purpose: Use optfeature
Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
kde-frameworks/purpose/purpose-5.74.0.ebuild | 11 +++++------
kde-frameworks/purpose/purpose-9999.ebuild | 11 +++++------
2 files changed, 10 insertions(+), 12 deletions(-)
diff --git a/kde-frameworks/purpose/purpose-5.74.0.ebuild b/kde-frameworks/purpose/purpose-5.74.0.ebuild
index 564e82df53..aae6bc4bb6 100644
--- a/kde-frameworks/purpose/purpose-5.74.0.ebuild
+++ b/kde-frameworks/purpose/purpose-5.74.0.ebuild
@@ -7,7 +7,7 @@ ECM_QTHELP="false"
ECM_TEST="forceoptional"
PVCUT=$(ver_cut 1-2)
QTMIN=5.14.2
-inherit ecm kde.org xdg-utils
+inherit ecm kde.org optfeature xdg-utils
DESCRIPTION="Library for providing abstractions to get the developer's purposes fulfilled"
LICENSE="LGPL-2.1+"
@@ -55,13 +55,12 @@ src_configure() {
}
pkg_postinst() {
+ if [[ -z "${REPLACING_VERSIONS}" ]]; then
+ elog "Optional dependencies:"
+ optfeature "Send through KDE Connect" kde-misc/kdeconnect[app]
+ fi
ecm_pkg_postinst
xdg_icon_cache_update
-
- if ! has_version "kde-misc/kdeconnect[app]" ; then
- elog "Optional runtime dependency:"
- elog "kde-misc/kdeconnect[app] (send through KDE Connect)"
- fi
}
pkg_postrm() {
diff --git a/kde-frameworks/purpose/purpose-9999.ebuild b/kde-frameworks/purpose/purpose-9999.ebuild
index 5defeab7c8..6d7128e8a4 100644
--- a/kde-frameworks/purpose/purpose-9999.ebuild
+++ b/kde-frameworks/purpose/purpose-9999.ebuild
@@ -7,7 +7,7 @@ ECM_QTHELP="false"
ECM_TEST="forceoptional"
PVCUT=$(ver_cut 1-2)
QTMIN=5.14.2
-inherit ecm kde.org xdg-utils
+inherit ecm kde.org optfeature xdg-utils
DESCRIPTION="Library for providing abstractions to get the developer's purposes fulfilled"
LICENSE="LGPL-2.1+"
@@ -55,13 +55,12 @@ src_configure() {
}
pkg_postinst() {
+ if [[ -z "${REPLACING_VERSIONS}" ]]; then
+ elog "Optional dependencies:"
+ optfeature "Send through KDE Connect" kde-misc/kdeconnect[app]
+ fi
ecm_pkg_postinst
xdg_icon_cache_update
-
- if ! has_version "kde-misc/kdeconnect[app]" ; then
- elog "Optional runtime dependency:"
- elog "kde-misc/kdeconnect[app] (send through KDE Connect)"
- fi
}
pkg_postrm() {
next reply other threads:[~2020-09-07 15:07 UTC|newest]
Thread overview: 126+ 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-08 14:40 [gentoo-commits] proj/kde:master commit in: kde-frameworks/purpose/ Andreas Sturmlechner
2024-11-02 22:26 Andreas Sturmlechner
2024-10-11 14:17 Andreas Sturmlechner
2024-10-04 22:21 Andreas Sturmlechner
2024-10-04 21:55 Andreas Sturmlechner
2024-09-14 3:24 Andreas Sturmlechner
2024-09-07 9:44 Andreas Sturmlechner
2024-08-16 20:09 Andreas Sturmlechner
2024-08-12 18:10 Andreas Sturmlechner
2024-08-09 13:57 Andreas Sturmlechner
2024-08-04 19:37 Andreas Sturmlechner
2024-07-12 15:05 Andreas Sturmlechner
2024-07-08 20:11 Andreas Sturmlechner
2024-07-01 19:10 Andreas Sturmlechner
2024-06-12 15:35 Andreas Sturmlechner
2024-06-02 20:21 Andreas Sturmlechner
2024-05-19 19:34 Andreas Sturmlechner
2024-05-19 18:54 Andreas Sturmlechner
2024-05-13 21:05 Andreas Sturmlechner
2024-04-14 20:04 Andreas Sturmlechner
2024-04-05 20:01 Andreas Sturmlechner
2024-02-11 20:15 Andreas Sturmlechner
2024-02-03 21:43 Andreas Sturmlechner
2024-01-21 21:40 Andreas Sturmlechner
2024-01-14 22:37 Andreas Sturmlechner
2024-01-08 19:00 Andreas Sturmlechner
2024-01-08 19:00 Andreas Sturmlechner
2023-12-19 22:00 Andreas Sturmlechner
2023-12-19 19:30 Andreas Sturmlechner
2023-12-19 12:34 Andreas Sturmlechner
2023-12-18 21:30 Andreas Sturmlechner
2023-12-18 19:40 Andreas Sturmlechner
2023-12-15 16:20 Andreas Sturmlechner
2023-12-06 17:19 Andreas Sturmlechner
2023-12-02 19:25 Andreas Sturmlechner
2023-12-02 19:25 Andreas Sturmlechner
2023-11-27 23:22 Andreas Sturmlechner
2023-11-12 10:18 Andreas Sturmlechner
2023-11-05 23:10 Andreas Sturmlechner
2023-10-19 20:09 Andreas Sturmlechner
2023-10-08 12:43 Andreas Sturmlechner
2023-09-19 16:44 Andreas Sturmlechner
2023-08-18 8:56 Andreas Sturmlechner
2023-08-05 21:13 Andreas Sturmlechner
2023-07-08 16:18 Andreas Sturmlechner
2023-07-02 21:57 Andreas Sturmlechner
2023-06-10 10:13 Andreas Sturmlechner
2023-06-05 15:32 Andreas Sturmlechner
2023-05-13 18:28 Andreas Sturmlechner
2023-05-09 15:06 Andreas Sturmlechner
2023-04-08 18:01 Andreas Sturmlechner
2023-04-04 19:13 Andreas Sturmlechner
2023-03-11 18:19 Andreas Sturmlechner
2023-03-04 12:56 Andreas Sturmlechner
2023-02-12 11:22 Andreas Sturmlechner
2023-02-05 16:34 Andreas Sturmlechner
2023-01-14 23:41 Andreas Sturmlechner
2023-01-08 11:53 Andreas Sturmlechner
2022-12-11 21:24 Andreas Sturmlechner
2022-12-10 10:48 Andreas Sturmlechner
2022-12-06 18:44 Andreas Sturmlechner
2022-11-14 14:17 Andreas Sturmlechner
2022-11-06 21:49 Andreas Sturmlechner
2022-10-10 8:30 Andreas Sturmlechner
2022-10-02 22:17 Andreas Sturmlechner
2022-09-13 13:37 Andreas Sturmlechner
2022-08-14 10:50 Andreas Sturmlechner
2022-08-07 16:30 Andreas Sturmlechner
2022-07-09 14:28 Andreas Sturmlechner
2022-07-03 6:59 Andreas Sturmlechner
2022-06-12 19:43 Andreas Sturmlechner
2022-06-10 7:52 Andreas Sturmlechner
2022-05-15 10:20 Andreas Sturmlechner
2022-05-09 21:03 Andreas Sturmlechner
2022-04-09 21:45 Andreas Sturmlechner
2022-04-02 13:54 Andreas Sturmlechner
2022-03-13 19:28 Andreas Sturmlechner
2022-03-12 12:37 Andreas Sturmlechner
2022-01-08 21:14 Andreas Sturmlechner
2022-01-02 8:13 Andreas Sturmlechner
2021-12-12 22:52 Andreas Sturmlechner
2021-12-04 21:38 Andreas Sturmlechner
2021-11-13 20:14 Andreas Sturmlechner
2021-11-06 17:43 Andreas Sturmlechner
2021-10-11 11:00 Andreas Sturmlechner
2021-10-03 15:44 Andreas Sturmlechner
2021-09-23 10:49 Andreas Sturmlechner
2021-09-13 6:16 Andreas Sturmlechner
2021-09-04 22:51 Andreas Sturmlechner
2021-08-14 17:25 Andreas Sturmlechner
2021-08-06 12:24 Andreas Sturmlechner
2021-07-12 16:54 Andreas Sturmlechner
2021-07-04 19:56 Andreas Sturmlechner
2021-06-14 8:24 Andreas Sturmlechner
2021-05-09 12:17 Andreas Sturmlechner
2021-05-02 19:13 Andreas Sturmlechner
2021-04-10 18:47 Andreas Sturmlechner
2021-04-04 20:50 Andreas Sturmlechner
2021-04-04 19:21 Andreas Sturmlechner
2021-03-13 16:31 Andreas Sturmlechner
2021-03-06 23:56 Andreas Sturmlechner
2021-02-13 20:50 Andreas Sturmlechner
2021-02-06 21:40 Andreas Sturmlechner
2021-01-24 15:14 Andreas Sturmlechner
2021-01-14 18:22 Andreas Sturmlechner
2021-01-09 10:15 Andreas Sturmlechner
2021-01-02 21:18 Andreas Sturmlechner
2020-12-05 22:52 Andreas Sturmlechner
2020-11-14 17:46 Andreas Sturmlechner
2020-11-08 8:44 Andreas Sturmlechner
2020-10-10 16:05 Andreas Sturmlechner
2020-10-05 11:22 Andreas Sturmlechner
2020-09-12 12:38 Andreas Sturmlechner
2020-09-07 15:07 Andreas Sturmlechner
2020-09-06 16:45 Andreas Sturmlechner
2020-08-30 19:02 Andreas Sturmlechner
2020-08-30 19:02 Andreas Sturmlechner
2020-08-08 11:01 Andreas Sturmlechner
2020-08-02 8:11 Andreas Sturmlechner
2020-07-04 21:44 Andreas Sturmlechner
2019-12-08 17:22 Andreas Sturmlechner
2019-12-08 17:14 Andreas Sturmlechner
2019-12-08 13:33 Andreas Sturmlechner
2019-06-22 11:40 Andreas Sturmlechner
2018-03-19 17:15 Andreas Sturmlechner
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.9d5487fed0922c3b218128ac9f9e9a81af8d9d66.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