commit: 76c425b34e508524a964d0292aa9e4fea28bea31
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 14 20:22:20 2025 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Mon Jul 14 21:13:12 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76c425b3
games-emulation/ppsspp: bump to 1.19.3
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
games-emulation/ppsspp/Manifest | 1 +
games-emulation/ppsspp/ppsspp-1.19.3.ebuild | 97 +++++++++++++++++++++++++++++
2 files changed, 98 insertions(+)
diff --git a/games-emulation/ppsspp/Manifest b/games-emulation/ppsspp/Manifest
index 115cafdeaedd..220fac15dfd6 100644
--- a/games-emulation/ppsspp/Manifest
+++ b/games-emulation/ppsspp/Manifest
@@ -1,2 +1,3 @@
DIST ppsspp-1.18.1.tar.xz 54239412 BLAKE2B
c0a59b63be4fdf8db1bb4c30192adc37874f1976baa0876a21722d8b86dac5a245cd5dbcea2f9ca89fef2035338c1786bbcf9b3c379d48d5a633ddd263b6e8d3
SHA512
00531109d67a35fe252b1af7d41a41ec85950f5d7c818bcdfb713d74b2b94f81f5af12e3e68d49ab0f7c7d29ccc42ca3ae7956f438964a205004293bb7e07510
+DIST ppsspp-1.19.3.tar.xz 58144916 BLAKE2B
7799613c360fe1b9e597a28a6b89edcdb8160ebf861ea39d95273e6dfbf49abd8de5d708b552b3b06417e7ac9dd1575767e614f449fea2c0fcb4ef4e174013ee
SHA512
03d75dc4fa488a659570c8c9d8c94e1c59c1d94c2f71edb54adae8807ad4322b4d7e6d8b94193a90c335cb7b3a889cc4f5bde604d0bc577b9407249913f4c04f
DIST ppsspp-1.19.tar.xz 57827660 BLAKE2B
53efc9f5d1eac5e4d97f7cd5dea42d92065df04bf81045018ed6175c37c01c1897c263c59c55a23143097d7bbd31aefdf38657ee625f5de8fad1aae82130e60d
SHA512
3423778a8b45fd77078ea17c1bbd17b692eda9d094433ab2184805c1da74cf6034a8cb242f8f937b3466d8ba247b97f629a3be4ba39454767a22b08340cb22d0
diff --git a/games-emulation/ppsspp/ppsspp-1.19.3.ebuild
b/games-emulation/ppsspp/ppsspp-1.19.3.ebuild
new file mode 100644
index 000000000000..aeb8aa32f047
--- /dev/null
+++ b/games-emulation/ppsspp/ppsspp-1.19.3.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..13} )
+
+inherit ffmpeg-compat flag-o-matic python-any-r1 xdg cmake
+
+DESCRIPTION="A PSP emulator written in C++"
+HOMEPAGE="https://www.ppsspp.org/
+ https://github.com/hrydgard/ppsspp/"
+
+if [[ "${PV}" == *9999* ]] ; then
+ inherit git-r3
+
+ EGIT_REPO_URI="https://github.com/hrydgard/${PN}.git"
+else
+
SRC_URI="https://github.com/hrydgard/${PN}/releases/download/v${PV}/${P}.tar.xz"
+
+ KEYWORDS="~amd64"
+fi
+
+LICENSE="Apache-2.0 BSD BSD-2 GPL-2 JSON MIT"
+SLOT="0"
+IUSE="discord qt5 test wayland"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ >=media-libs/sdl2-ttf-2.24.0
+ app-arch/snappy:=
+ app-arch/zstd:=
+ dev-libs/libzip:=
+ media-libs/glew:=
+ media-libs/libpng:=
+ media-libs/libsdl2[joystick]
+ media-video/ffmpeg-compat:6=
+ sys-libs/zlib:=
+ virtual/opengl
+ qt5? (
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5[-gles2-only]
+ dev-qt/qtmultimedia:5[-gles2-only]
+ dev-qt/qtopengl:5[-gles2-only]
+ dev-qt/qtwidgets:5[-gles2-only]
+ )
+ !qt5? (
+ media-libs/libsdl2[X,opengl,sound,video,wayland?]
+ )
+"
+DEPEND="
+ ${RDEPEND}
+"
+BDEPEND="
+ ${PYTHON_DEPS}
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-1.17.1-SpvBuilder-cstdint.patch"
+ "${FILESDIR}/${PN}-1.17.1-cmake-cxx.patch"
+)
+
+pkg_setup() {
+ python-any-r1_pkg_setup
+}
+
+src_configure() {
+ # bug https://bugs.gentoo.org/926079
+ filter-lto
+
+ local -a mycmakeargs=(
+ -DBUILD_SHARED_LIBS="OFF"
+ -DCMAKE_SKIP_RPATH="ON"
+ -DHEADLESS="OFF"
+ -DUSE_CCACHE="OFF"
+ -DUSE_SYSTEM_FFMPEG="ON"
+ -DUSE_SYSTEM_LIBZIP="ON"
+ -DUSE_SYSTEM_SNAPPY="ON"
+ -DUSE_SYSTEM_ZSTD="ON"
+ -DUSE_DISCORD="$(usex discord)"
+ -DUSE_WAYLAND_WSI="$(usex wayland)"
+ -DUSING_QT_UI="$(usex qt5)"
+ -DUNITTEST="$(usex test)"
+ )
+
+ # TODO: fix with >=ffmpeg-7 then drop compat (bug #948816).
+ # Unfortunately not using pkg-config and needs both flags and dir.
+ ffmpeg_compat_setup 6
+ ffmpeg_compat_add_flags
+ mycmakeargs+=( -DFFMPEG_DIR="${SYSROOT}$(ffmpeg_compat_get_prefix 6)" )
+
+ cmake_src_configure
+}
+
+src_test() {
+ cmake_src_test -E "glslang-testsuite|matrix_transpose"
+}