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-plasma/kde-cli-tools/
Date: Wed,  4 Sep 2024 11:43:30 +0000 (UTC)	[thread overview]
Message-ID: <1725450181.3a650e6450bb7a3b90854ed2994ed29e12f83daf.asturm@gentoo> (raw)

commit:     3a650e6450bb7a3b90854ed2994ed29e12f83daf
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Sep  2 21:09:26 2024 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Sep  4 11:43:01 2024 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=3a650e64

kde-plasma/kde-cli-tools: Drop kdesu, spin off handbook/i18n to $PN-common

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 .../kde-cli-tools/kde-cli-tools-6.1.49.9999.ebuild   | 20 +++++++++-----------
 kde-plasma/kde-cli-tools/kde-cli-tools-9999.ebuild   | 20 +++++++++-----------
 kde-plasma/kde-cli-tools/metadata.xml                |  3 ---
 3 files changed, 18 insertions(+), 25 deletions(-)

diff --git a/kde-plasma/kde-cli-tools/kde-cli-tools-6.1.49.9999.ebuild b/kde-plasma/kde-cli-tools/kde-cli-tools-6.1.49.9999.ebuild
index 1cc2678c62..8ec00a5187 100644
--- a/kde-plasma/kde-cli-tools/kde-cli-tools-6.1.49.9999.ebuild
+++ b/kde-plasma/kde-cli-tools/kde-cli-tools-6.1.49.9999.ebuild
@@ -3,10 +3,9 @@
 
 EAPI=8
 
-ECM_HANDBOOK="forceoptional"
+ECM_HANDBOOK="forceoff"
 ECM_TEST="true"
 KFMIN=6.5.0
-PVCUT=$(ver_cut 1-3)
 QTMIN=6.7.2
 inherit ecm plasma.kde.org
 
@@ -16,7 +15,7 @@ HOMEPAGE="https://invent.kde.org/plasma/kde-cli-tools"
 LICENSE="GPL-2" # TODO: CHECK
 SLOT="6"
 KEYWORDS=""
-IUSE="kdesu X"
+IUSE="X"
 
 # requires running kde environment
 RESTRICT="test"
@@ -36,24 +35,23 @@ DEPEND="
 	>=kde-frameworks/kservice-${KFMIN}:6
 	>=kde-frameworks/kwidgetsaddons-${KFMIN}:6
 	>=kde-frameworks/kwindowsystem-${KFMIN}:6[X?]
-	kdesu? ( >=kde-frameworks/kdesu-${KFMIN}:6 )
 	X? ( >=dev-qt/qtbase-${QTMIN}:6=[gui] )
 "
 RDEPEND="${DEPEND}
-	kdesu? ( sys-apps/dbus[X] )
+	>=${CATEGORY}/${PN}-common-${PV}
 "
 BDEPEND=">=kde-frameworks/kcmutils-${KFMIN}:6"
 
+src_prepare() {
+	ecm_src_prepare
+	ecm_punt_po_install
+}
+
 src_configure() {
 	local mycmakeargs=(
-		$(cmake_use_find_package kdesu KF6Su)
+		-DCMAKE_DISABLE_FIND_PACKAGE_KF6Su=ON
 		-DWITH_X11=$(usex X)
 	)
 
 	ecm_src_configure
 }
-
-src_install() {
-	ecm_src_install
-	use kdesu && dosym ../libexec/kf6/kdesu /usr/bin/kdesu
-}

diff --git a/kde-plasma/kde-cli-tools/kde-cli-tools-9999.ebuild b/kde-plasma/kde-cli-tools/kde-cli-tools-9999.ebuild
index 20cda12c32..6b6c64a41a 100644
--- a/kde-plasma/kde-cli-tools/kde-cli-tools-9999.ebuild
+++ b/kde-plasma/kde-cli-tools/kde-cli-tools-9999.ebuild
@@ -3,10 +3,9 @@
 
 EAPI=8
 
-ECM_HANDBOOK="forceoptional"
+ECM_HANDBOOK="forceoff"
 ECM_TEST="true"
 KFMIN=9999
-PVCUT=$(ver_cut 1-3)
 QTMIN=6.7.2
 inherit ecm plasma.kde.org
 
@@ -16,7 +15,7 @@ HOMEPAGE="https://invent.kde.org/plasma/kde-cli-tools"
 LICENSE="GPL-2" # TODO: CHECK
 SLOT="6"
 KEYWORDS=""
-IUSE="kdesu X"
+IUSE="X"
 
 # requires running kde environment
 RESTRICT="test"
@@ -36,24 +35,23 @@ DEPEND="
 	>=kde-frameworks/kservice-${KFMIN}:6
 	>=kde-frameworks/kwidgetsaddons-${KFMIN}:6
 	>=kde-frameworks/kwindowsystem-${KFMIN}:6[X?]
-	kdesu? ( >=kde-frameworks/kdesu-${KFMIN}:6 )
 	X? ( >=dev-qt/qtbase-${QTMIN}:6=[gui] )
 "
 RDEPEND="${DEPEND}
-	kdesu? ( sys-apps/dbus[X] )
+	>=${CATEGORY}/${PN}-common-${PV}
 "
 BDEPEND=">=kde-frameworks/kcmutils-${KFMIN}:6"
 
+src_prepare() {
+	ecm_src_prepare
+	ecm_punt_po_install
+}
+
 src_configure() {
 	local mycmakeargs=(
-		$(cmake_use_find_package kdesu KF6Su)
+		-DCMAKE_DISABLE_FIND_PACKAGE_KF6Su=ON
 		-DWITH_X11=$(usex X)
 	)
 
 	ecm_src_configure
 }
-
-src_install() {
-	ecm_src_install
-	use kdesu && dosym ../libexec/kf6/kdesu /usr/bin/kdesu
-}

diff --git a/kde-plasma/kde-cli-tools/metadata.xml b/kde-plasma/kde-cli-tools/metadata.xml
index 90af160c0c..7e9d56c900 100644
--- a/kde-plasma/kde-cli-tools/metadata.xml
+++ b/kde-plasma/kde-cli-tools/metadata.xml
@@ -9,7 +9,4 @@
 		<bugs-to>https://bugs.kde.org/</bugs-to>
 		<remote-id type="kde-invent">plasma/kde-cli-tools</remote-id>
 	</upstream>
-	<use>
-		<flag name="kdesu">Build graphical frontend for <pkg>kde-frameworks/kdesu</pkg></flag>
-	</use>
 </pkgmetadata>


             reply	other threads:[~2024-09-04 11:43 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-04 11:43 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-25 23:22 [gentoo-commits] proj/kde:master commit in: kde-plasma/kde-cli-tools/ Andreas Sturmlechner
2024-09-04 11:43 Andreas Sturmlechner
2024-09-02 16:03 Andreas Sturmlechner
2024-07-01 15:47 Andreas Sturmlechner
2024-04-21 19:42 Andreas Sturmlechner
2024-03-30 21:08 Andreas Sturmlechner
2024-03-16  8:56 Andreas Sturmlechner
2023-12-12 18:32 Andreas Sturmlechner
2023-12-09 15:15 Andreas Sturmlechner
2022-10-09 16:39 Andreas Sturmlechner
2020-01-26 10:39 Andreas Sturmlechner
2019-06-08  7:19 Andreas Sturmlechner
2019-01-30 17:37 Andreas Sturmlechner
2018-10-22 18:14 Andreas Sturmlechner
2018-03-29 21:57 Andreas Sturmlechner
2017-07-10 18:02 Andreas Sturmlechner
2017-06-06 17:59 Andreas Sturmlechner
2017-06-06 17:59 Andreas Sturmlechner
2017-05-06 20:14 Andreas Sturmlechner
2017-01-14 17:36 Johannes Huber
2015-12-27 14:19 Michael Palimaka
2015-06-30 18:42 Johannes Huber
2015-04-10 18:42 Michael Palimaka
2015-01-17 19:10 Johannes Huber

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=1725450181.3a650e6450bb7a3b90854ed2994ed29e12f83daf.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