commit:     ae52fbe3bbab4062579b69996cb4712b21f686e0
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 31 11:09:25 2025 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sun Aug 31 12:20:55 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae52fbe3

games-emulation/ppsspp: bump cmake_minimum_required

Closes: https://bugs.gentoo.org/962191
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 games-emulation/ppsspp/ppsspp-1.19.3.ebuild | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/games-emulation/ppsspp/ppsspp-1.19.3.ebuild 
b/games-emulation/ppsspp/ppsspp-1.19.3.ebuild
index 54d2a873993c..82a1e4cccfff 100644
--- a/games-emulation/ppsspp/ppsspp-1.19.3.ebuild
+++ b/games-emulation/ppsspp/ppsspp-1.19.3.ebuild
@@ -64,6 +64,16 @@ pkg_setup() {
        python-any-r1_pkg_setup
 }
 
+src_prepare() {
+       find . -type f \
+               \( -iname "*CMakeLists.txt*" -or -iname "*-config.cmake" \) \
+               -exec \
+               sed -e "/^cmake_minimum_required/I s|(.*)|(VERSION 3.20)|g" -i 
{} \; \
+               || die
+
+       cmake_src_prepare
+}
+
 src_configure() {
        # bug https://bugs.gentoo.org/926079
        filter-lto

Reply via email to