diff options
author | Yuri Konotopov <ykonotopov@gnome.org> | 2020-11-10 13:42:31 +0400 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2020-11-12 22:27:57 +0100 |
commit | 4a5a35dbff21c977c55b60b2137aaf793055a5fa (patch) | |
tree | 3ae759e4c5527c52fc5d39d96c5fa7ba12304e60 /games-emulation | |
parent | dev-lang/go: 1.15.5 bump (diff) | |
download | gentoo-4a5a35dbff21c977c55b60b2137aaf793055a5fa.tar.gz gentoo-4a5a35dbff21c977c55b60b2137aaf793055a5fa.tar.bz2 gentoo-4a5a35dbff21c977c55b60b2137aaf793055a5fa.zip |
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@gnome.org>
Closes: https://github.com/gentoo/gentoo/pull/18210
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'games-emulation')
-rw-r--r-- | games-emulation/pcsx2/pcsx2-9999.ebuild | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/games-emulation/pcsx2/pcsx2-9999.ebuild b/games-emulation/pcsx2/pcsx2-9999.ebuild index 3de99b803123..764020699ad5 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 |