commit:     f6a0fc872fbd0e619b21e8f557f8e276f30cc1f2
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 31 06:56:45 2023 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sun Dec 31 07:09:28 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6a0fc87

games-emulation/pcsx2: update live

Upstream has discovered that unbundling some dependencies reduces
build time.

ARCH_FLAG was removed, it was useful to pass the actual minimal
-m* flags, but -DDISABLE_ADVANCE_SIMD comes close enough and
prevents passing the more problematic -march=native.

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

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

diff --git a/games-emulation/pcsx2/pcsx2-9999.ebuild 
b/games-emulation/pcsx2/pcsx2-9999.ebuild
index 7dcbf7dc75d7..43536202eed1 100644
--- a/games-emulation/pcsx2/pcsx2-9999.ebuild
+++ b/games-emulation/pcsx2/pcsx2-9999.ebuild
@@ -29,13 +29,16 @@ RESTRICT="!test? ( test )"
 
 # dlopen: qtsvg, vulkan-loader, wayland
 COMMON_DEPEND="
+       app-arch/lz4:=
        app-arch/xz-utils
+       app-arch/zstd:=
        dev-libs/libaio
        >=dev-qt/qtbase-6.6.0:6[gui,widgets]
        >=dev-qt/qtsvg-6.6.0:6
        media-libs/libglvnd
        media-libs/libpng:=
        >=media-libs/libsdl2-2.28.5[haptic,joystick]
+       media-libs/libwebp:=
        media-video/ffmpeg:=
        net-libs/libpcap
        net-misc/curl
@@ -94,6 +97,7 @@ src_configure() {
 
        local mycmakeargs=(
                -DBUILD_SHARED_LIBS=no
+               -DDISABLE_ADVANCE_SIMD=yes
                -DDISABLE_BUILD_DATE=yes
                -DENABLE_TESTS=$(usex test)
                -DUSE_LINKED_FFMPEG=yes
@@ -102,11 +106,6 @@ src_configure() {
                -DWAYLAND_API=$(usex wayland)
                -DX11_API=yes # X libs are currently hard-required either way
 
-               # sse4.1 is the bare minimum required, -m is required at build 
time
-               # (see PCSX2Base.h) and it dies if no support at runtime 
(AppInit.cpp)
-               # https://github.com/PCSX2/pcsx2/pull/4329
-               -DARCH_FLAG=-msse4.1
-
                # not packaged due to bug #885471, but still disable for no 
automagic
                -DCMAKE_DISABLE_FIND_PACKAGE_Libbacktrace=yes
 

Reply via email to