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/libplasma/
Date: Mon, 27 Nov 2023 23:22:53 +0000 (UTC)	[thread overview]
Message-ID: <1701127295.9deb0fb743042c50e94a73bcdf5bf84217c7493a.asturm@gentoo> (raw)

commit:     9deb0fb743042c50e94a73bcdf5bf84217c7493a
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 27 22:49:47 2023 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Nov 27 23:21:35 2023 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=9deb0fb7

kde-plasma/libplasma: Add IUSE=kf6compat

See also:
https://community.kde.org/Plasma/Plasma_6.0_Release_notes#Coinstallbility

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

 kde-plasma/libplasma/libplasma-5.239.9999.ebuild | 11 +++++++----
 kde-plasma/libplasma/metadata.xml                |  3 +++
 2 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/kde-plasma/libplasma/libplasma-5.239.9999.ebuild b/kde-plasma/libplasma/libplasma-5.239.9999.ebuild
index c80f10dcc8..2bb0c32f4c 100644
--- a/kde-plasma/libplasma/libplasma-5.239.9999.ebuild
+++ b/kde-plasma/libplasma/libplasma-5.239.9999.ebuild
@@ -14,12 +14,12 @@ DESCRIPTION="Plasma library and runtime components based upon KF5 and Qt5"
 
 LICENSE="LGPL-2+"
 KEYWORDS=""
-IUSE="gles2-only man wayland"
+IUSE="gles2-only kf6compat man wayland"
 
 RESTRICT="test"
 
 # kde-frameworks/kwindowsystem[X]: Unconditional use of KX11Extras
-RDEPEND="
+COMMON_DEPEND="
 	>=dev-qt/qtdbus-${QTMIN}:5
 	>=dev-qt/qtdeclarative-${QTMIN}:5
 	>=dev-qt/qtgui-${QTMIN}:5[gles2-only=,X]
@@ -54,14 +54,17 @@ RDEPEND="
 		media-libs/libglvnd
 	)
 "
-DEPEND="${RDEPEND}
+DEPEND="${COMMON_DEPEND}
 	x11-base/xorg-proto
 "
+RDEPEND="${COMMON_DEPEND}
+	kf6compat? ( kde-plasma/libplasma:6 )
+"
 BDEPEND="man? ( >=kde-frameworks/kdoctools-${KFMIN}:5 )"
 
 src_configure() {
 	local mycmakeargs=(
-		-DBUILD_DESKTOPTHEMES=ON # TODO: switch for KF6 compat
+		-DBUILD_DESKTOPTHEMES=$(usex !kf6compat)
 		$(cmake_use_find_package !gles2-only OpenGL)
 		$(cmake_use_find_package man KF5DocTools)
 		$(cmake_use_find_package wayland EGL)

diff --git a/kde-plasma/libplasma/metadata.xml b/kde-plasma/libplasma/metadata.xml
index 936dd6d7c0..ab1489f0a2 100644
--- a/kde-plasma/libplasma/metadata.xml
+++ b/kde-plasma/libplasma/metadata.xml
@@ -9,6 +9,9 @@
 		<bugs-to>https://bugs.kde.org/</bugs-to>
 		<remote-id type="kde-invent">plasma/libplasma</remote-id>
 	</upstream>
+	<use>
+		<flag name="kf6compat">Disable components colliding with KF6, depend on KF6 components instead</flag>
+	</use>
 	<slots>
 		<subslots>
 			Must only be used by packages that are known to use private parts of the Frameworks API.


             reply	other threads:[~2023-11-27 23:23 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-27 23:22 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-11-27 23:22 [gentoo-commits] proj/kde:master commit in: kde-plasma/libplasma/ Andreas Sturmlechner
2023-12-06 17:19 Andreas Sturmlechner
2023-12-15 16:20 Andreas Sturmlechner
2023-12-18 22:44 Andreas Sturmlechner
2024-01-14 22:37 Andreas Sturmlechner
2024-02-03 21:43 Andreas Sturmlechner
2024-02-11 20:15 Andreas Sturmlechner
2024-05-13 21:05 Andreas Sturmlechner
2024-05-19 19:34 Andreas Sturmlechner
2024-06-23 17:12 Andreas Sturmlechner
2025-05-15 22:14 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=1701127295.9deb0fb743042c50e94a73bcdf5bf84217c7493a.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