games-emulation/pcsx2: fix build with wxGTK[sdl], adjust options

SDL2_API is essentially an unused option, but an old cmake check
still use it when it detects wxGTK was built with sdl support.

Also sorted options and removed CMAKE_LIBRARY_PATH as it does
not install plugins anymore.

Thanks-to: Jusef N.
Closes: https://github.com/gentoo/gentoo/pull/23989
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2022-01-27 15:54:41 -05:00
parent 6dedaa5efa
commit fe1e9d63e1

View File

@@ -96,13 +96,12 @@ src_configure() {
-DDISABLE_BUILD_DATE=TRUE
-DDISABLE_PCSX2_WRAPPER=TRUE
-DDISABLE_SETCAP=TRUE
-DENABLE_TESTS="$(usex test)"
-DENABLE_TESTS=$(usex test)
-DPACKAGE_MODE=TRUE
-DXDG_STD=TRUE
-DCMAKE_LIBRARY_PATH="/usr/$(get_libdir)/${PN}"
-DSDL2_API=TRUE # uses SDL2 either way but option is needed if wxGTK[sdl]
-DUSE_SYSTEM_YAML=TRUE
-DUSE_VTUNE=FALSE
-DXDG_STD=TRUE
)
setup-wxwidgets