1 |
commit: 39a29e71343141e6f58d2b3ac9f829da36ff09ec |
2 |
Author: Ben Kohler <bkohler <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 29 14:30:28 2022 +0000 |
4 |
Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 29 14:32:42 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39a29e71 |
7 |
|
8 |
sys-apps/cpu-x: only disable gsettings when USE=gui |
9 |
|
10 |
This will fix an unused-cmake-var warning, this option is only |
11 |
meaningful when gtk support is on. |
12 |
|
13 |
Closes: https://bugs.gentoo.org/873418 |
14 |
|
15 |
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org> |
16 |
|
17 |
sys-apps/cpu-x/cpu-x-4.4.0.ebuild | 2 +- |
18 |
1 file changed, 1 insertion(+), 1 deletion(-) |
19 |
|
20 |
diff --git a/sys-apps/cpu-x/cpu-x-4.4.0.ebuild b/sys-apps/cpu-x/cpu-x-4.4.0.ebuild |
21 |
index e1f02ebb7d26..c9667e5cef8d 100644 |
22 |
--- a/sys-apps/cpu-x/cpu-x-4.4.0.ebuild |
23 |
+++ b/sys-apps/cpu-x/cpu-x-4.4.0.ebuild |
24 |
@@ -53,7 +53,6 @@ S="${WORKDIR}/${MY_PN}-${PV}" |
25 |
src_configure() { |
26 |
local mycmakeargs=( |
27 |
-DFORCE_LIBSTATGRAB=$(usex force-libstatgrab) |
28 |
- -DGSETTINGS_COMPILE=OFF |
29 |
-DWITH_GETTEXT=$(usex nls) |
30 |
-DWITH_GTK=$(usex gui) |
31 |
-DWITH_LIBCPUID=$(usex cpu) |
32 |
@@ -63,6 +62,7 @@ src_configure() { |
33 |
-DWITH_NCURSES=$(usex ncurses) |
34 |
-DWITH_OPENCL=$(usex opencl) |
35 |
) |
36 |
+ use gui && mycmakeargs+=( -DGSETTINGS_COMPILE=OFF ) |
37 |
|
38 |
cmake_src_configure |
39 |
} |