1 |
commit: 33ce6ae80b24b231e526d388109a780dd84ca202 |
2 |
Author: William Breathitt Gray <vilhelm.gray <AT> gmail <DOT> com> |
3 |
AuthorDate: Thu Feb 3 08:21:12 2022 +0000 |
4 |
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 3 09:11:53 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33ce6ae8 |
7 |
|
8 |
games-engines/odamex: Disable find_package(x11) only for client |
9 |
|
10 |
Closes: https://bugs.gentoo.org/832449 |
11 |
Signed-off-by: William Breathitt Gray <vilhelm.gray <AT> gmail.com> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/24063 |
13 |
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> |
14 |
|
15 |
games-engines/odamex/odamex-0.9.5.ebuild | 6 +++--- |
16 |
1 file changed, 3 insertions(+), 3 deletions(-) |
17 |
|
18 |
diff --git a/games-engines/odamex/odamex-0.9.5.ebuild b/games-engines/odamex/odamex-0.9.5.ebuild |
19 |
index 62d3c471ea58..56b4b013e2cf 100644 |
20 |
--- a/games-engines/odamex/odamex-0.9.5.ebuild |
21 |
+++ b/games-engines/odamex/odamex-0.9.5.ebuild |
22 |
@@ -1,7 +1,7 @@ |
23 |
-# Copyright 1999-2021 Gentoo Authors |
24 |
+# Copyright 1999-2022 Gentoo Authors |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
|
27 |
-EAPI=7 |
28 |
+EAPI=8 |
29 |
|
30 |
WX_GTK_VER="3.0-gtk3" |
31 |
inherit cmake desktop prefix wxwidgets xdg |
32 |
@@ -49,7 +49,6 @@ src_prepare() { |
33 |
|
34 |
src_configure() { |
35 |
local mycmakeargs=( |
36 |
- -DCMAKE_DISABLE_FIND_PACKAGE_X11=$(usex !X) |
37 |
-DUSE_INTERNAL_LIBS=0 |
38 |
-DBUILD_CLIENT=$(usex client) |
39 |
-DBUILD_LAUNCHER=$(usex odalaunch) |
40 |
@@ -59,6 +58,7 @@ src_configure() { |
41 |
-DENABLE_PORTMIDI=$(usex portmidi) |
42 |
-DUSE_MINIUPNP=$(usex upnp) |
43 |
) |
44 |
+ use client && mycmakeargs+=(-DCMAKE_DISABLE_FIND_PACKAGE_X11=$(usex !X)) |
45 |
|
46 |
cmake_src_configure |
47 |
} |