Accepting request 1037773 from Emulators
ppsspp 1.13.2 stable, with spec file tweak and _constraint OBS-URL: https://build.opensuse.org/request/show/1037773 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ppsspp?expand=0&rev=16
This commit is contained in:
commit
07bf03a2f5
8
_constraints
Normal file
8
_constraints
Normal file
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0"?>
|
||||
<constraints>
|
||||
<hardware>
|
||||
<disk>
|
||||
<size unit="G">6</size>
|
||||
</disk>
|
||||
</hardware>
|
||||
</constraints>
|
26
_service
26
_service
@ -1,26 +0,0 @@
|
||||
<services>
|
||||
<service name="tar_scm" mode="localonly">
|
||||
<param name="scm">git</param>
|
||||
<param name="url">https://github.com/hrydgard/ppsspp.git</param>
|
||||
<param name="filename">ppsspp</param>
|
||||
<param name="versionformat">@PARENT_TAG@~git%cd</param>
|
||||
<param name="versionrewrite-pattern">v(.*)</param>
|
||||
<param name="changesgenerate">enable</param>
|
||||
<param name="exclude">dx9sdk</param>
|
||||
<param name="exclude">UWP</param>
|
||||
<param name="exclude">Windows</param>
|
||||
<param name="exclude">*.cmd</param>
|
||||
<param name="exclude">*.dll</param>
|
||||
<param name="exclude">*.vcxproj</param>
|
||||
<param name="exclude">*.vcxproj.user</param>
|
||||
<param name="exclude">*.vcxproj.filters</param>
|
||||
<param name="exclude">*.yml</param>
|
||||
<param name="exclude">*.props</param>
|
||||
<param name="exclude">*.sln</param>
|
||||
</service>
|
||||
<service name="recompress" mode="localonly">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">xz</param>
|
||||
</service>
|
||||
<service name="set_version" mode="localonly"/>
|
||||
</services>
|
@ -1,4 +0,0 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">https://github.com/hrydgard/ppsspp.git</param>
|
||||
<param name="changesrevision">1f502b8f948c9607a3d5127531461878752b5d81</param></service></servicedata>
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b6fb0a910f97d8e66cdd1781fd9b8c2728e8fe549b057a7ececca2d9b17279f5
|
||||
size 229701664
|
3
ppsspp-1.13.2.tar.xz
Normal file
3
ppsspp-1.13.2.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:df0edaff6ccee55d5bc245ef84190801279214ec2e3d1d3673329e01662764ee
|
||||
size 40363040
|
5222
ppsspp.changes
5222
ppsspp.changes
File diff suppressed because it is too large
Load Diff
36
ppsspp.spec
36
ppsspp.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package ppsspp
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -18,13 +18,13 @@
|
||||
|
||||
%define _lto_cflags %{nil}
|
||||
Name: ppsspp
|
||||
Version: 1.12.3~git20211106
|
||||
Version: 1.13.2
|
||||
Release: 0
|
||||
Summary: PlayStation Portable Emulator
|
||||
License: GPL-2.0-or-later
|
||||
Group: System/Emulators/Other
|
||||
URL: http://www.ppsspp.org
|
||||
Source: %{name}-%{version}.tar.xz
|
||||
URL: https://www.ppsspp.org
|
||||
Source: https://github.com/hrydgard/ppsspp/releases/download/v%{version}/%{name}-%{version}.tar.xz
|
||||
BuildRequires: Mesa-devel
|
||||
BuildRequires: cmake >= 3.6
|
||||
BuildRequires: fdupes
|
||||
@ -52,6 +52,7 @@ BuildRequires: pkgconfig(gl)
|
||||
BuildRequires: pkgconfig(glew)
|
||||
BuildRequires: pkgconfig(libpng)
|
||||
BuildRequires: pkgconfig(libzip)
|
||||
BuildRequires: pkgconfig(libzstd)
|
||||
BuildRequires: pkgconfig(sdl2)
|
||||
BuildRequires: pkgconfig(vulkan)
|
||||
BuildRequires: pkgconfig(zlib)
|
||||
@ -59,7 +60,7 @@ Requires: %{name}-common
|
||||
Requires(post): hicolor-icon-theme
|
||||
Requires(postun):hicolor-icon-theme
|
||||
# never built for PowerPC/Arm on 20200721
|
||||
ExcludeArch: aarch64 %arm ppc ppc64 ppc64le s390x
|
||||
ExcludeArch: aarch64 %{arm} ppc ppc64 ppc64le s390x
|
||||
|
||||
%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).
|
||||
@ -83,12 +84,13 @@ PPSSPP build using the Qt framework
|
||||
%package common
|
||||
Summary: PPSSPP assets
|
||||
Group: System/Emulators/Other
|
||||
BuildArch: noarch
|
||||
|
||||
%description common
|
||||
Required assets for PPSSPP GUI and assorted configuration files
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%autosetup -p1
|
||||
|
||||
sed -i \
|
||||
-e 's|png17|png16|g' \
|
||||
@ -114,32 +116,35 @@ const char *PPSSPP_GIT_VERSION = \"%{version}\";
|
||||
mkdir build-headless build-qt build
|
||||
|
||||
cd build-headless
|
||||
# FIXME: you should use the %%cmake macros
|
||||
cmake .. \
|
||||
-DUSE_SYSTEM_FFMPEG="ON" \
|
||||
-DHEADLESS="ON" \
|
||||
-DCMAKE_C_FLAGS="%optflags" \
|
||||
-DCMAKE_CXX_FLAGS="%optflags" \
|
||||
-DCMAKE_C_FLAGS="%{optflags}" \
|
||||
-DCMAKE_CXX_FLAGS="%{optflags}" \
|
||||
-DCMAKE_BUILD_TYPE="Release|RelWithDebugInfo" \
|
||||
-DCMAKE_SKIP_RPATH="YES" \
|
||||
-Wno-dev
|
||||
%make_jobs
|
||||
|
||||
cd ../build-qt
|
||||
# FIXME: you should use the %%cmake macros
|
||||
cmake .. \
|
||||
-DUSE_SYSTEM_FFMPEG="ON" \
|
||||
-DUSING_QT_UI="ON" \
|
||||
-DCMAKE_C_FLAGS="%optflags" \
|
||||
-DCMAKE_CXX_FLAGS="%optflags" \
|
||||
-DCMAKE_C_FLAGS="%{optflags}" \
|
||||
-DCMAKE_CXX_FLAGS="%{optflags}" \
|
||||
-DCMAKE_BUILD_TYPE="Release|RelWithDebugInfo" \
|
||||
-DCMAKE_SKIP_RPATH="YES" \
|
||||
-Wno-dev
|
||||
%make_jobs
|
||||
|
||||
cd ../build
|
||||
# FIXME: you should use the %%cmake macros
|
||||
cmake .. \
|
||||
-DUSE_SYSTEM_FFMPEG="ON" \
|
||||
-DCMAKE_C_FLAGS="%optflags" \
|
||||
-DCMAKE_CXX_FLAGS="%optflags" \
|
||||
-DCMAKE_C_FLAGS="%{optflags}" \
|
||||
-DCMAKE_CXX_FLAGS="%{optflags}" \
|
||||
-DCMAKE_BUILD_TYPE="Release|RelWithDebugInfo" \
|
||||
-DCMAKE_SKIP_RPATH="YES" \
|
||||
-Wno-dev
|
||||
@ -233,18 +238,17 @@ install -m 444 -D icons/icon.svg %{buildroot}%{_datadir}/pixmaps/%{name}.svg
|
||||
%icon_theme_cache_postun
|
||||
|
||||
%files headless
|
||||
%defattr(644,root,root)
|
||||
%license LICENSE.TXT
|
||||
%attr(755,root,root) %{_bindir}/%{name}-headless
|
||||
%attr(755,root,root) %{_libexecdir}/%{name}/%{name}-headless
|
||||
|
||||
%files qt
|
||||
%defattr(644,root,root)
|
||||
%license LICENSE.TXT
|
||||
%attr(755, root, root) %{_bindir}/%{name}-qt
|
||||
%attr(755, root, root) %{_libexecdir}/%{name}/%{name}-qt
|
||||
%{_datadir}/applications/%{name}-qt.desktop
|
||||
|
||||
%files common
|
||||
%defattr(644,root,root)
|
||||
%doc README.md
|
||||
%license LICENSE.TXT
|
||||
%{_libexecdir}/%{name}/assets
|
||||
@ -253,7 +257,7 @@ install -m 444 -D icons/icon.svg %{buildroot}%{_datadir}/pixmaps/%{name}.svg
|
||||
%config(noreplace) %{_sysconfdir}/%{name}
|
||||
|
||||
%files
|
||||
%defattr(644,root,root)
|
||||
%license LICENSE.TXT
|
||||
%dir %{_libexecdir}/%{name}
|
||||
%attr(755, root, root) %{_bindir}/%{name}
|
||||
%attr(755, root, root) %{_libexecdir}/%{name}/%{name}
|
||||
|
Loading…
Reference in New Issue
Block a user