Accepting request 1225467 from Emulators

OBS-URL: https://build.opensuse.org/request/show/1225467
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ppsspp?expand=0&rev=24
This commit is contained in:
Ana Guerrero 2024-11-21 14:18:25 +00:00 committed by Git OBS Bridge
commit 857c5b2661
5 changed files with 45 additions and 27 deletions

View File

@ -12,11 +12,11 @@ sed -i \
-e 's|^#include [\"<]libpng1[0-9]/png.h[\">]|#include <png.h>|g' \
{} \;
Index: ppsspp-1.15.4/CMakeLists.txt
Index: ppsspp-1.18.1/CMakeLists.txt
===================================================================
--- ppsspp-1.15.4.orig/CMakeLists.txt
+++ ppsspp-1.15.4/CMakeLists.txt
@@ -326,7 +326,7 @@ foreach (LANGUAGE C CXX)
--- 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)
@ -24,8 +24,8 @@ Index: ppsspp-1.15.4/CMakeLists.txt
+ # NEON optimizations in libpng16 seem to cause PNG load errors, see #14485.
add_definitions(-DPNG_ARM_NEON_OPT=0)
if(ANDROID)
@@ -1069,7 +1069,7 @@ else()
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()
set(LIBZIP_LIBRARY libzip)
endif()
@ -34,7 +34,7 @@ Index: ppsspp-1.15.4/CMakeLists.txt
if(ANDROID OR ARMV7 OR ARM64 OR ARM OR IOS)
set(PNG_REQUIRED_VERSION 1.7)
else()
@@ -1084,43 +1084,43 @@ if(PNG_FOUND)
@@ -1220,43 +1220,43 @@ if(PNG_FOUND)
else()
if(ARM)
set(PNG_ARM_INCLUDES
@ -108,10 +108,10 @@ Index: ppsspp-1.15.4/CMakeLists.txt
endif()
add_library(basis_universal STATIC
Index: ppsspp-1.15.4/ext/native/tools/atlastool.cpp
Index: ppsspp-1.18.1/ext/native/tools/atlastool.cpp
===================================================================
--- ppsspp-1.15.4.orig/ext/native/tools/atlastool.cpp
+++ ppsspp-1.15.4/ext/native/tools/atlastool.cpp
--- ppsspp-1.18.1.orig/ext/native/tools/atlastool.cpp
+++ ppsspp-1.18.1/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:23e0b8649cc8124b0c22a62d4d41b592b6bd4064bce8c09b0d4abce895e132ae
size 54663108

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

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

View File

@ -1,3 +1,21 @@
-------------------------------------------------------------------
Fri Nov 15 20:19:42 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
- ppsspp 1.18.1:
* IR Interpreter: work on correctness and optimizations
* Interpreted Vertex Decoder optimizations
* SDL fixes
* Improve performance of CHD loading
* Many crash, hang and performance fixes around the UI
New post proc filter "Sharp bilinear"
* 3 new themes
* Install save games from ZIP file
* More input-mappable actions like Reset, allow mapping Alt key
* Fix regression of the AxisSwap feature
* Many emulation fixes
* Multiple rendering fixes
* VR: New immersive mode
-------------------------------------------------------------------
Mon Feb 5 05:24:19 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>

View File

@ -2,6 +2,7 @@
# spec file for package ppsspp
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 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
@ -18,11 +19,10 @@
%define _lto_cflags %{nil}
Name: ppsspp
Version: 1.17.1
Version: 1.18.1
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
Group: System/Emulators/Other
URL: https://www.ppsspp.org
Source: https://github.com/hrydgard/ppsspp/releases/download/v%{version}/%{name}-%{version}.tar.xz
@ -32,20 +32,12 @@ BuildRequires: cmake >= 3.6
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: glslang-devel
BuildRequires: pkgconfig
BuildRequires: snappy-devel
BuildRequires: unzip
# Does not build with FFmpeg 5.0 yet
# https://github.com/hrydgard/ppsspp/issues/15308
BuildRequires: libavcodec-devel < 5
BuildRequires: pkgconfig(libavcodec)
BuildRequires: pkgconfig(libavdevice)
BuildRequires: pkgconfig(libavfilter)
BuildRequires: pkgconfig(libavformat)
BuildRequires: pkgconfig(libavutil)
BuildRequires: pkgconfig(libpostproc)
BuildRequires: pkgconfig(libswresample)
BuildRequires: pkgconfig(libswscale)
BuildRequires: pkgconfig
BuildRequires: snappy-devel
BuildRequires: unzip
#Desktop icon deps
BuildRequires: update-desktop-files
BuildRequires: wayland-devel
@ -55,7 +47,15 @@ BuildRequires: pkgconfig(Qt5Multimedia)
BuildRequires: pkgconfig(Qt5OpenGL)
BuildRequires: pkgconfig(gl)
BuildRequires: pkgconfig(glew)
BuildRequires: pkgconfig(libavcodec)
BuildRequires: pkgconfig(libavdevice)
BuildRequires: pkgconfig(libavfilter)
BuildRequires: pkgconfig(libavformat)
BuildRequires: pkgconfig(libavutil)
BuildRequires: pkgconfig(libpng)
BuildRequires: pkgconfig(libpostproc)
BuildRequires: pkgconfig(libswresample)
BuildRequires: pkgconfig(libswscale)
BuildRequires: pkgconfig(libzip)
BuildRequires: pkgconfig(libzstd)
BuildRequires: pkgconfig(sdl2)
@ -63,7 +63,7 @@ BuildRequires: pkgconfig(vulkan)
BuildRequires: pkgconfig(zlib)
Requires: %{name}-common
Requires(post): hicolor-icon-theme
Requires(postun):hicolor-icon-theme
Requires(postun): hicolor-icon-theme
# never built for PowerPC/Arm on 20200721
ExcludeArch: aarch64 %{arm} ppc ppc64 ppc64le s390x