Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/kde:master commit in: kde-plasma/plasma-workspace/
Date: Mon, 21 Feb 2022 11:47:23
Message-Id: 1645444026.2138bab01d36e14ba09fe61ea14e55a691d3efb1.asturm@gentoo
1 commit: 2138bab01d36e14ba09fe61ea14e55a691d3efb1
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 21 11:46:42 2022 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 21 11:47:06 2022 +0000
6 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=2138bab0
7
8 kde-plasma/plasma-workspace: Fix IUSE gps
9
10 Upstream commit 6045c1ee7d3236796a4e5a35e3f1b84c4bba7f03
11
12 Package-Manager: Portage-3.0.30, Repoman-3.0.3
13 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
14
15 kde-plasma/plasma-workspace/plasma-workspace-5.24.49.9999.ebuild | 8 ++++++--
16 kde-plasma/plasma-workspace/plasma-workspace-9999.ebuild | 8 ++++++--
17 2 files changed, 12 insertions(+), 4 deletions(-)
18
19 diff --git a/kde-plasma/plasma-workspace/plasma-workspace-5.24.49.9999.ebuild b/kde-plasma/plasma-workspace/plasma-workspace-5.24.49.9999.ebuild
20 index c8abf2ec6c..9b6a2f6869 100644
21 --- a/kde-plasma/plasma-workspace/plasma-workspace-5.24.49.9999.ebuild
22 +++ b/kde-plasma/plasma-workspace/plasma-workspace-5.24.49.9999.ebuild
23 @@ -167,6 +167,12 @@ src_prepare() {
24 sed -e "s/^pkg_check_modules.*PipeWire/#&/" -i CMakeLists.txt || die
25 fi
26
27 + # TODO: try to get a build switch upstreamed
28 + if use geolocation; then
29 + use gps || sed -e "s/^pkg_check_modules.*LIBGPS/#&/" \
30 + -i dataengines/geolocation/CMakeLists.txt || die
31 + fi
32 +
33 if ! use policykit; then
34 cmake_run_in kcms cmake_comment_add_subdirectory users
35 fi
36 @@ -186,8 +192,6 @@ src_configure() {
37 $(cmake_use_find_package telemetry KUserFeedback)
38 )
39
40 - use geolocation && mycmakeargs+=( $(cmake_use_find_package gps libgps) )
41 -
42 ecm_src_configure
43 }
44
45
46 diff --git a/kde-plasma/plasma-workspace/plasma-workspace-9999.ebuild b/kde-plasma/plasma-workspace/plasma-workspace-9999.ebuild
47 index d7c8efc899..c90668f9a5 100644
48 --- a/kde-plasma/plasma-workspace/plasma-workspace-9999.ebuild
49 +++ b/kde-plasma/plasma-workspace/plasma-workspace-9999.ebuild
50 @@ -167,6 +167,12 @@ src_prepare() {
51 sed -e "s/^pkg_check_modules.*PipeWire/#&/" -i CMakeLists.txt || die
52 fi
53
54 + # TODO: try to get a build switch upstreamed
55 + if use geolocation; then
56 + use gps || sed -e "s/^pkg_check_modules.*LIBGPS/#&/" \
57 + -i dataengines/geolocation/CMakeLists.txt || die
58 + fi
59 +
60 if ! use policykit; then
61 cmake_run_in kcms cmake_comment_add_subdirectory users
62 fi
63 @@ -184,8 +190,6 @@ src_configure() {
64 $(cmake_use_find_package telemetry KUserFeedback)
65 )
66
67 - use geolocation && mycmakeargs+=( $(cmake_use_find_package gps libgps) )
68 -
69 ecm_src_configure
70 }