diff options
author | Yuri Konotopov <ykonotopov@gnome.org> | 2021-01-08 15:07:20 +0400 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2021-01-15 10:44:37 +0200 |
commit | 2fb6595fb15e93b8c04a59034a27d517fcde3030 (patch) | |
tree | 78ccba184b795d30a1d995df29ae7b03e3d6b553 /games-emulation | |
parent | games-emulation/pcsx2: update to match upstream changes (diff) | |
download | gentoo-2fb6595fb15e93b8c04a59034a27d517fcde3030.tar.gz gentoo-2fb6595fb15e93b8c04a59034a27d517fcde3030.tar.bz2 gentoo-2fb6595fb15e93b8c04a59034a27d517fcde3030.zip |
games-emulation/pcsx2: switch to native build on amd64
Closes: https://bugs.gentoo.org/740250
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Yuri Konotopov <ykonotopov@gnome.org>
Co-authored-by: Ionen Wolkens <sudinave@gmail.com>
Signed-off-by: Ionen Wolkens <sudinave@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/18931
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'games-emulation')
-rw-r--r-- | games-emulation/pcsx2/pcsx2-9999.ebuild | 51 |
1 files changed, 21 insertions, 30 deletions
diff --git a/games-emulation/pcsx2/pcsx2-9999.ebuild b/games-emulation/pcsx2/pcsx2-9999.ebuild index c6a8c52c1625..192f835dfe62 100644 --- a/games-emulation/pcsx2/pcsx2-9999.ebuild +++ b/games-emulation/pcsx2/pcsx2-9999.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit cmake fcaps flag-o-matic git-r3 multilib toolchain-funcs wxwidgets +inherit cmake fcaps flag-o-matic git-r3 toolchain-funcs wxwidgets DESCRIPTION="A PlayStation 2 emulator" HOMEPAGE="https://www.pcsx2.net" @@ -13,29 +13,28 @@ EGIT_SUBMODULES=() LICENSE="GPL-3" SLOT="0" KEYWORDS="" -IUSE="" RDEPEND=" - app-arch/bzip2[abi_x86_32(-)] - app-arch/xz-utils[abi_x86_32(-)] - dev-cpp/yaml-cpp:=[abi_x86_32(-)] - dev-libs/libaio[abi_x86_32(-)] - dev-libs/libfmt:=[abi_x86_32(-)] - dev-libs/libxml2:2[abi_x86_32(-)] - media-libs/alsa-lib[abi_x86_32(-)] - media-libs/libpng:=[abi_x86_32(-)] - media-libs/libsdl2[abi_x86_32(-),haptic,joystick,sound] - media-libs/libsoundtouch[abi_x86_32(-)] - media-libs/portaudio[abi_x86_32(-)] - net-libs/libpcap[abi_x86_32(-)] - sys-libs/zlib[abi_x86_32(-)] - virtual/libudev[abi_x86_32(-)] - virtual/opengl[abi_x86_32(-)] - x11-libs/gtk+:3[abi_x86_32(-)] - x11-libs/libICE[abi_x86_32(-)] - x11-libs/libX11[abi_x86_32(-)] - x11-libs/libXext[abi_x86_32(-)] - x11-libs/wxGTK:3.0-gtk3[abi_x86_32(-),X] + app-arch/bzip2 + app-arch/xz-utils + dev-cpp/yaml-cpp:= + dev-libs/libaio + dev-libs/libfmt:= + dev-libs/libxml2:2 + media-libs/alsa-lib + media-libs/libpng:= + media-libs/libsdl2[haptic,joystick,sound] + media-libs/libsoundtouch + media-libs/portaudio + net-libs/libpcap + sys-libs/zlib + virtual/libudev + virtual/opengl + x11-libs/gtk+:3 + x11-libs/libICE + x11-libs/libX11 + x11-libs/libXext + x11-libs/wxGTK:3.0-gtk3[X] " DEPEND="${RDEPEND} dev-cpp/pngpp @@ -57,7 +56,6 @@ pkg_setup() { } src_configure() { - multilib_toolchain_setup x86 # Build with ld.gold fails # https://github.com/PCSX2/pcsx2/issues/1671 tc-ld-disable-gold @@ -65,13 +63,6 @@ src_configure() { # pcsx2 build scripts will force CMAKE_BUILD_TYPE=Devel # if it something other than "Devel|Debug|Release" local CMAKE_BUILD_TYPE="Release" - - if use amd64; then - # Passing correct CMAKE_TOOLCHAIN_FILE for amd64 - # https://github.com/PCSX2/pcsx2/pull/422 - local MYCMAKEARGS=(-DCMAKE_TOOLCHAIN_FILE=cmake/linux-compiler-i386-multilib.cmake) - fi - local mycmakeargs=( -DARCH_FLAG= -DDISABLE_BUILD_DATE=TRUE |