commit: 4a5a35dbff21c977c55b60b2137aaf793055a5fa Author: Yuri Konotopov <ykonotopov <AT> gnome <DOT> org> AuthorDate: Tue Nov 10 09:42:31 2020 +0000 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> CommitDate: Thu Nov 12 21:27:57 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a5a35db
games-emulation/pcsx2: update live version to match upstream changes. Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Yuri Konotopov <ykonotopov <AT> gnome.org> Closes: https://github.com/gentoo/gentoo/pull/18210 Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org> games-emulation/pcsx2/pcsx2-9999.ebuild | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/games-emulation/pcsx2/pcsx2-9999.ebuild b/games-emulation/pcsx2/pcsx2-9999.ebuild index 3de99b80312..764020699ad 100644 --- a/games-emulation/pcsx2/pcsx2-9999.ebuild +++ b/games-emulation/pcsx2/pcsx2-9999.ebuild @@ -3,11 +3,12 @@ EAPI=7 -inherit cmake flag-o-matic git-r3 multilib toolchain-funcs wxwidgets +inherit cmake fcaps flag-o-matic git-r3 multilib toolchain-funcs wxwidgets DESCRIPTION="A PlayStation 2 emulator" HOMEPAGE="https://www.pcsx2.net" EGIT_REPO_URI="https://github.com/PCSX2/${PN}.git" +EGIT_SUBMODULES=() LICENSE="GPL-3" SLOT="0" @@ -18,6 +19,7 @@ RDEPEND=" app-arch/bzip2[abi_x86_32(-)] app-arch/xz-utils[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(-)] @@ -39,6 +41,10 @@ DEPEND="${RDEPEND} dev-cpp/sparsehash " +FILECAPS=( + "CAP_NET_RAW+eip CAP_NET_ADMIN+eip" usr/bin/PCSX2 +) + pkg_setup() { if [[ ${MERGE_TYPE} != binary && $(tc-getCC) == *gcc* ]]; then # -mxsave flag is needed when GCC >= 8.2 is used @@ -69,6 +75,7 @@ src_configure() { -DARCH_FLAG= -DDISABLE_BUILD_DATE=TRUE -DDISABLE_PCSX2_WRAPPER=TRUE + -DDISABLE_SETCAP=TRUE -DEXTRA_PLUGINS=FALSE -DOPTIMIZATION_FLAG= -DPACKAGE_MODE=TRUE @@ -76,9 +83,7 @@ src_configure() { -DCMAKE_LIBRARY_PATH="/usr/$(get_libdir)/${PN}" -DDOC_DIR=/usr/share/doc/"${PF}" - -DEGL_API=FALSE -DGTK3_API=TRUE - -DOPENCL_API=FALSE -DPLUGIN_DIR="/usr/$(get_libdir)/${PN}" # wxGTK must be built against same sdl version -DSDL2_API=TRUE
