Gentoo Archives: gentoo-commits

From: Ionen Wolkens <ionen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/pcsx2/
Date: Thu, 27 Jan 2022 21:10:36
Message-Id: 1643317717.fe1e9d63e138d4cf1bd4b6ae255c8f70805c9321.ionen@gentoo
1 commit: fe1e9d63e138d4cf1bd4b6ae255c8f70805c9321
2 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 27 20:54:41 2022 +0000
4 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 27 21:08:37 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe1e9d63
7
8 games-emulation/pcsx2: fix build with wxGTK[sdl], adjust options
9
10 SDL2_API is essentially an unused option, but an old cmake check
11 still use it when it detects wxGTK was built with sdl support.
12
13 Also sorted options and removed CMAKE_LIBRARY_PATH as it does
14 not install plugins anymore.
15
16 Thanks-to: Jusef N.
17 Closes: https://github.com/gentoo/gentoo/pull/23989
18 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
19
20 games-emulation/pcsx2/pcsx2-9999.ebuild | 7 +++----
21 1 file changed, 3 insertions(+), 4 deletions(-)
22
23 diff --git a/games-emulation/pcsx2/pcsx2-9999.ebuild b/games-emulation/pcsx2/pcsx2-9999.ebuild
24 index 98c547c226ce..f5543f61bed1 100644
25 --- a/games-emulation/pcsx2/pcsx2-9999.ebuild
26 +++ b/games-emulation/pcsx2/pcsx2-9999.ebuild
27 @@ -96,13 +96,12 @@ src_configure() {
28 -DDISABLE_BUILD_DATE=TRUE
29 -DDISABLE_PCSX2_WRAPPER=TRUE
30 -DDISABLE_SETCAP=TRUE
31 - -DENABLE_TESTS="$(usex test)"
32 + -DENABLE_TESTS=$(usex test)
33 -DPACKAGE_MODE=TRUE
34 - -DXDG_STD=TRUE
35 -
36 - -DCMAKE_LIBRARY_PATH="/usr/$(get_libdir)/${PN}"
37 + -DSDL2_API=TRUE # uses SDL2 either way but option is needed if wxGTK[sdl]
38 -DUSE_SYSTEM_YAML=TRUE
39 -DUSE_VTUNE=FALSE
40 + -DXDG_STD=TRUE
41 )
42
43 setup-wxwidgets