commit:     abd16ff756bf379588199276c605bd88c1a4630f
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Wed Jan  5 22:47:25 2022 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Wed Jan  5 23:09:03 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abd16ff7

games-emulation/pcsx2: update live for imgui

Enable submodule as it doesn't have its own build system nor
cmake/pkgconfig files for detection, so unbundling doesn't
seem viable (maybe if more packages come to need this).

Also cleanup removed SDL2_API option, and add extra licenses
for installed fonts.

Should be possible to remove freetype dependency (and a few
others) but build system isn't entirely cleared of these yet.
Leave alone in -9999 for now as it's rapidly changing.

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 games-emulation/pcsx2/pcsx2-9999.ebuild | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/games-emulation/pcsx2/pcsx2-9999.ebuild 
b/games-emulation/pcsx2/pcsx2-9999.ebuild
index 2df1c8c2ebc9..98a12b52d531 100644
--- a/games-emulation/pcsx2/pcsx2-9999.ebuild
+++ b/games-emulation/pcsx2/pcsx2-9999.ebuild
@@ -9,9 +9,9 @@ inherit cmake fcaps flag-o-matic git-r3 toolchain-funcs 
wxwidgets
 DESCRIPTION="A PlayStation 2 emulator"
 HOMEPAGE="https://pcsx2.net/";
 EGIT_REPO_URI="https://github.com/PCSX2/${PN}.git";
-EGIT_SUBMODULES=()
+EGIT_SUBMODULES=( 3rdparty/imgui/imgui )
 
-LICENSE="GPL-3"
+LICENSE="GPL-3 Apache-2.0 OFL-1.1" # TODO: needs review for a full list
 SLOT="0"
 KEYWORDS=""
 IUSE="pulseaudio test"
@@ -42,6 +42,7 @@ RDEPEND="
        x11-libs/libICE
        x11-libs/libX11
        x11-libs/libXext
+       x11-libs/libXrandr
        x11-libs/wxGTK:${WX_GTK_VER}[X]
        pulseaudio? ( media-sound/pulseaudio )
 "
@@ -96,8 +97,6 @@ src_configure() {
                -DXDG_STD=TRUE
 
                -DCMAKE_LIBRARY_PATH="/usr/$(get_libdir)/${PN}"
-               # wxGTK must be built against same sdl version
-               -DSDL2_API=TRUE
                -DUSE_SYSTEM_YAML=TRUE
                -DUSE_VTUNE=FALSE
        )

Reply via email to