Skip to content

Commit

Permalink
games-emulation/pcsx2: update live
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
ionenwks committed Dec 31, 2023
1 parent 2c4e3f3 commit f6a0fc8
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions games-emulation/pcsx2/pcsx2-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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

Expand Down

0 comments on commit f6a0fc8

Please sign in to comment.