Accepting request 1295389 from Emulators

OBS-URL: https://build.opensuse.org/request/show/1295389
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ppsspp?expand=0&rev=26
This commit was merged in pull request #1.
This commit is contained in:
2025-07-24 16:46:16 +00:00
committed by Git OBS Bridge
5 changed files with 31 additions and 22 deletions

View File

@@ -12,20 +12,11 @@ sed -i \
-e 's|^#include [\"<]libpng1[0-9]/png.h[\">]|#include <png.h>|g' \
{} \;
Index: ppsspp-1.18.1/CMakeLists.txt
Index: ppsspp-1.19.3/CMakeLists.txt
===================================================================
--- ppsspp-1.18.1.orig/CMakeLists.txt
+++ ppsspp-1.18.1/CMakeLists.txt
@@ -379,7 +379,7 @@ foreach (LANGUAGE C CXX)
endforeach()
if(NOT MSVC)
- # NEON optimizations in libpng17 seem to cause PNG load errors, see #14485.
+ # NEON optimizations in libpng16 seem to cause PNG load errors, see #14485.
add_definitions(-DPNG_ARM_NEON_OPT=0)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Werror=return-type -Wno-unused-function -Wno-sign-compare -Wno-unused-but-set-variable -Wno-reorder -Wno-unknown-pragmas -Wno-unused-value -Wno-unused-variable")
@@ -1205,7 +1205,7 @@ else()
--- ppsspp-1.19.3.orig/CMakeLists.txt
+++ ppsspp-1.19.3/CMakeLists.txt
@@ -1232,7 +1232,7 @@ else()
set(LIBZIP_LIBRARY libzip)
endif()
@@ -34,7 +25,7 @@ Index: ppsspp-1.18.1/CMakeLists.txt
if(ANDROID OR ARMV7 OR ARM64 OR ARM OR IOS)
set(PNG_REQUIRED_VERSION 1.7)
else()
@@ -1220,43 +1220,43 @@ if(PNG_FOUND)
@@ -1247,43 +1247,43 @@ if(PNG_FOUND)
else()
if(ARM)
set(PNG_ARM_INCLUDES
@@ -108,10 +99,10 @@ Index: ppsspp-1.18.1/CMakeLists.txt
endif()
add_library(basis_universal STATIC
Index: ppsspp-1.18.1/ext/native/tools/atlastool.cpp
Index: ppsspp-1.19.3/ext/native/tools/atlastool.cpp
===================================================================
--- ppsspp-1.18.1.orig/ext/native/tools/atlastool.cpp
+++ ppsspp-1.18.1/ext/native/tools/atlastool.cpp
--- ppsspp-1.19.3.orig/ext/native/tools/atlastool.cpp
+++ ppsspp-1.19.3/ext/native/tools/atlastool.cpp
@@ -19,7 +19,7 @@
// dist-per-pixel

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:78c5d17f09443d7ea450fce9fdc0581b520cf206c42095dd855e94be2e09bdcf
size 54239412

3
ppsspp-1.19.3.tar.xz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:054401fa7fffbd99b7fd80e98a2951d6f0c3de83cb4b54719899c98bfad99614
size 58131440

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Sun Jul 20 08:53:59 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
- ppsspp 1.19.3:
* Fixes for crashes, compatibility, functionality, rending
in multiple games
* New sceAtrac audio implementation
* Touch gliding support
* Add Infrastructure for multiplayer support
* UI adjustments and functionality extensions
-------------------------------------------------------------------
Wed May 7 10:20:42 UTC 2025 - Simon Lees <sflees@suse.de>

View File

@@ -2,7 +2,7 @@
# spec file for package ppsspp
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2024 Andreas Stieger <Andreas.Stieger@gmx.de>
# Copyright (c) 2025 Andreas Stieger <Andreas.Stieger@gmx.de>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
%define _lto_cflags %{nil}
Name: ppsspp
Version: 1.18.1
Version: 1.19.3
Release: 0
Summary: PlayStation Portable Emulator
License: Apache-2.0 AND BSD-1-Clause AND BSL-1.0 AND GPL-2.0-or-later AND LGPL-2.0-or-later AND LGPL-2.1-or-later AND BSD-2-Clause AND BSD-3-Clause AND (BSD-2-Clause OR GPL-2.0-or-later) AND (BSD-3-Clause OR GPL-2.0-only) AND CC0-1.0 AND GPL-2.0-or-later WITH Autoconf-exception-3.0 AND GPL-3.0-or-later WITH Bison-exception-2.2 AND Libpng AND ISC AND IJG AND Zlib AND MIT AND CC-BY-4.0 AND FTL
@@ -66,6 +66,9 @@ Requires(post): hicolor-icon-theme
Requires(postun): hicolor-icon-theme
# never built for PowerPC/Arm on 20200721
ExcludeArch: aarch64 %{arm} ppc ppc64 ppc64le s390x
%if 0%{?suse_version} < 1600
BuildRequires: gcc12-c++
%endif
%description
PPSSPP is a PSP emulator written in C++, and translates PSP CPU instructions directly into optimized x86, x64 and ARM machine code, using JIT recompilers (dynarecs).
@@ -110,6 +113,10 @@ const char *PPSSPP_GIT_VERSION = \"%{version}\";
# min cmake version - sflees.de
export CMAKE_POLICY_VERSION_MINIMUM=3.5
%if 0%{?suse_version} < 1600
export CXX=g++-12
%endif
mkdir build-headless build-qt build
cd build-headless