summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Konotopov <ykonotopov@gnome.org>2019-08-27 15:03:52 +0400
committerJoonas Niilola <juippis@gentoo.org>2019-08-28 18:54:05 +0300
commit57b4a9d03988ca21db72dab9b524aec96f18504a (patch)
treed1159626a5dceba7cf1f8ed804099891279fb46c /games-emulation/pcsx2/pcsx2-9999.ebuild
parentnet-libs/gloox: fix slot operators for dependencies (diff)
downloadgentoo-57b4a9d03988ca21db72dab9b524aec96f18504a.tar.gz
gentoo-57b4a9d03988ca21db72dab9b524aec96f18504a.tar.bz2
gentoo-57b4a9d03988ca21db72dab9b524aec96f18504a.zip
games-emulation/pcsx2: ebuild enhancements.
Closes: https://bugs.gentoo.org/692208 Signed-off-by: Yuri Konotopov <ykonotopov@gnome.org> Closes: https://github.com/gentoo/gentoo/pull/12798 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'games-emulation/pcsx2/pcsx2-9999.ebuild')
-rw-r--r--games-emulation/pcsx2/pcsx2-9999.ebuild22
1 files changed, 11 insertions, 11 deletions
diff --git a/games-emulation/pcsx2/pcsx2-9999.ebuild b/games-emulation/pcsx2/pcsx2-9999.ebuild
index f79952eccb67..9e646daf5853 100644
--- a/games-emulation/pcsx2/pcsx2-9999.ebuild
+++ b/games-emulation/pcsx2/pcsx2-9999.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
inherit cmake-utils git-r3 multilib toolchain-funcs wxwidgets
@@ -25,20 +25,19 @@ RDEPEND="
media-libs/libsoundtouch[abi_x86_32(-)]
media-libs/portaudio[abi_x86_32(-)]
net-libs/libpcap[abi_x86_32(-)]
- >=sys-libs/zlib-1.2.4[abi_x86_32(-)]
+ sys-libs/zlib[abi_x86_32(-)]
virtual/libudev[abi_x86_32(-)]
virtual/opengl[abi_x86_32(-)]
x11-libs/gtk+:2[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[abi_x86_32(-),-sdl,X]
+ x11-libs/wxGTK:3.0-gtk3[abi_x86_32(-),-sdl,X]
"
# Ensure no incompatible headers from eselect-opengl are installed, bug #510730
DEPEND="${RDEPEND}
- >=app-eselect/eselect-opengl-1.3.1
dev-cpp/pngpp
- >=dev-cpp/sparsehash-1.5
+ dev-cpp/sparsehash
"
pkg_setup() {
@@ -77,20 +76,21 @@ src_configure() {
-DCMAKE_LIBRARY_PATH="/usr/$(get_libdir)/${PN}"
-DDOC_DIR=/usr/share/doc/"${PF}"
-DEGL_API=FALSE
- -DGTK3_API=FALSE
+ -DGTK3_API=TRUE
-DPLUGIN_DIR="/usr/$(get_libdir)/${PN}"
# wxGTK must be built against same sdl version
-DSDL2_API=TRUE
- -DWX28_API=FALSE
)
- WX_GTK_VER="3.0" need-wxwidgets unicode
+ WX_GTK_VER="3.0-gtk3" setup-wxwidgets
cmake-utils_src_configure
}
src_install() {
- # Upstream issue: https://github.com/PCSX2/pcsx2/issues/417
- QA_TEXTRELS="usr/$(get_libdir)/pcsx2/*"
-
+ # Upstream issues:
+ # https://github.com/PCSX2/pcsx2/issues/417
+ # https://github.com/PCSX2/pcsx2/issues/3077
+ QA_EXECSTACK="usr/bin/PCSX2"
+ QA_TEXTRELS="usr/$(get_libdir)/pcsx2/* usr/bin/PCSX2"
cmake-utils_src_install
}