commit: 5daa47300936cb2d9bbd10a54bc94093760e7520
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 13 20:46:41 2024 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Oct 13 20:46:41 2024 +0000
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=5daa4730
kde-plasma/plasma5support: Add IUSE geolocation
geolocation dataengine moved from plasma-workspace
Upstream commit bb838434690233e2af057e5c5bf1d9d3ed710384
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
kde-plasma/plasma5support/plasma5support-9999.ebuild | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/kde-plasma/plasma5support/plasma5support-9999.ebuild
b/kde-plasma/plasma5support/plasma5support-9999.ebuild
index 01cca39c10..4bec1d3012 100644
--- a/kde-plasma/plasma5support/plasma5support-9999.ebuild
+++ b/kde-plasma/plasma5support/plasma5support-9999.ebuild
@@ -15,7 +15,7 @@ DESCRIPTION="Support components for porting from KF5/Qt5 to
KF6/Qt6"
LICENSE="GPL-2+ LGPL-2+"
SLOT="6"
KEYWORDS=""
-IUSE=""
+IUSE="geolocation"
RESTRICT="test" # bug 926347
@@ -32,8 +32,16 @@ DEPEND="
>=kde-frameworks/kservice-${KFMIN}:6
>=kde-frameworks/solid-${KFMIN}:6
>=kde-plasma/libksysguard-${PVCUT}:6
+ geolocation? ( >=kde-frameworks/networkmanager-qt-${KFMIN}:6 )
"
RDEPEND="${DEPEND}
!kde-plasma/plasma-workspace:5
- !<kde-plasma/plasma-workspace-6.1.90:6
+ !<kde-plasma/plasma-workspace-6.2.90:6
"
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake_use_find_package geolocation KF6NetworkManagerQt)
+ )
+ ecm_src_configure
+}