forked from pool/rpcs3
Update to version 0.0.32~git20240810
Fixed formatting of .changes file OBS-URL: https://build.opensuse.org/package/show/Emulators/rpcs3?expand=0&rev=118
This commit is contained in:
commit
542d723b2a
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
42
_service
Normal file
42
_service
Normal file
@ -0,0 +1,42 @@
|
||||
<services>
|
||||
<service name="tar_scm" mode="localonly">
|
||||
<param name="scm">git</param>
|
||||
<param name="url">https://github.com/RPCS3/rpcs3.git</param>
|
||||
<param name="filename">rpcs3</param>
|
||||
<param name="versionformat">@PARENT_TAG@~git%cd</param>
|
||||
<param name="versionrewrite-pattern">v(.*)</param>
|
||||
<param name="changesgenerate">enable</param>
|
||||
<param name="exclude">3rdparty/curl/curl</param>
|
||||
<param name="exclude">3rdparty/ffmpeg</param>
|
||||
<param name="exclude">3rdparty/libpng/libpng</param>
|
||||
<param name="exclude">3rdparty/libsdl-org</param>
|
||||
<param name="exclude">3rdparty/libusb</param>
|
||||
<param name="exclude">3rdparty/llvm/llvm</param>
|
||||
<param name="exclude">3rdparty/XAudio2Redist</param>
|
||||
<param name="exclude">3rdparty/zlib/zlib</param>
|
||||
<param name="exclude">*.bat</param>
|
||||
<param name="exclude">*.cmd</param>
|
||||
<param name="exclude">*.dll</param>
|
||||
<param name="exclude">*.vcproj</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="tar_scm" mode="localonly">
|
||||
<param name="scm">git</param>
|
||||
<param name="url">https://github.com/intel/ittapi.git</param>
|
||||
<param name="filename">intel-ittapi</param>
|
||||
<param name="version">_none_</param>
|
||||
</service>
|
||||
<service name="recompress" mode="localonly">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">xz</param>
|
||||
</service>
|
||||
<service name="set_version" mode="localonly">
|
||||
<param name="basename">rpcs3</param>
|
||||
</service>
|
||||
<service name="download_files" mode="localonly"/>
|
||||
</services>
|
8
_servicedata
Normal file
8
_servicedata
Normal file
@ -0,0 +1,8 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">git://github.com/RPCS3/rpcs3</param>
|
||||
<param name="changesrevision">7d84d084a44f9a13aa3262822de7f3bce0b20142</param>
|
||||
</service>
|
||||
<service name="tar_scm">
|
||||
<param name="url">https://github.com/RPCS3/rpcs3.git</param>
|
||||
<param name="changesrevision">7d84d084a44f9a13aa3262822de7f3bce0b20142</param></service></servicedata>
|
11
fix-test-files.patch
Normal file
11
fix-test-files.patch
Normal file
@ -0,0 +1,11 @@
|
||||
diff --git a/rpcs3/CMakeLists.txt b/rpcs3/CMakeLists.txt
|
||||
index 72b3e06e0bd..5a599102287 100644
|
||||
--- a/rpcs3/CMakeLists.txt
|
||||
+++ b/rpcs3/CMakeLists.txt
|
||||
@@ -217,6 +217,4 @@ if(UNIX AND NOT APPLE)
|
||||
DESTINATION ${CMAKE_INSTALL_DATADIR}/rpcs3)
|
||||
install(DIRECTORY ../bin/git
|
||||
DESTINATION ${CMAKE_INSTALL_DATADIR}/rpcs3)
|
||||
- install(DIRECTORY ../bin/test
|
||||
- DESTINATION ${CMAKE_INSTALL_DATADIR}/rpcs3)
|
||||
endif()
|
86
fix-toolbar-color.patch
Normal file
86
fix-toolbar-color.patch
Normal file
@ -0,0 +1,86 @@
|
||||
From 40133bb5a3a4240b9ea6f617fdf353e4f4507ffb Mon Sep 17 00:00:00 2001
|
||||
From: Guo Yunhe <i@guoyunhe.me>
|
||||
Date: Tue, 11 Apr 2023 23:00:47 +0800
|
||||
Subject: [PATCH 1/3] fix toolbar text color in dark theme
|
||||
|
||||
---
|
||||
rpcs3/rpcs3qt/stylesheets.h | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/rpcs3/rpcs3qt/stylesheets.h b/rpcs3/rpcs3qt/stylesheets.h
|
||||
index 9121d03609c..89488a36e99 100644
|
||||
--- a/rpcs3/rpcs3qt/stylesheets.h
|
||||
+++ b/rpcs3/rpcs3qt/stylesheets.h
|
||||
@@ -17,7 +17,7 @@ namespace gui
|
||||
"QSlider#sizeSlider::groove:horizontal { border-radius: .15em; background: #5b5b5b; height: .3em; }"
|
||||
|
||||
// main window toolbar
|
||||
- "QToolBar#mw_toolbar { background-color: #F0F0F0; border: none; }"
|
||||
+ "QToolBar#mw_toolbar { color: #505050; background-color: #F0F0F0; border: none; }"
|
||||
"QToolBar#mw_toolbar::separator { background-color: rgba(207, 207, 207, 235); width: 0.125em; margin-top: 0.250em; margin-bottom: 0.250em; }"
|
||||
|
||||
// main window toolbar icon color
|
||||
|
||||
From 564e4cfce0b32effcf104c07a243a6ef68177631 Mon Sep 17 00:00:00 2001
|
||||
From: Guo Yunhe <i@guoyunhe.me>
|
||||
Date: Tue, 11 Apr 2023 23:34:15 +0800
|
||||
Subject: [PATCH 2/3] Update stylesheets.h
|
||||
|
||||
---
|
||||
rpcs3/rpcs3qt/stylesheets.h | 6 +++---
|
||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/rpcs3/rpcs3qt/stylesheets.h b/rpcs3/rpcs3qt/stylesheets.h
|
||||
index 89488a36e99..17a686acefa 100644
|
||||
--- a/rpcs3/rpcs3qt/stylesheets.h
|
||||
+++ b/rpcs3/rpcs3qt/stylesheets.h
|
||||
@@ -17,11 +17,11 @@ namespace gui
|
||||
"QSlider#sizeSlider::groove:horizontal { border-radius: .15em; background: #5b5b5b; height: .3em; }"
|
||||
|
||||
// main window toolbar
|
||||
- "QToolBar#mw_toolbar { color: #505050; background-color: #F0F0F0; border: none; }"
|
||||
- "QToolBar#mw_toolbar::separator { background-color: rgba(207, 207, 207, 235); width: 0.125em; margin-top: 0.250em; margin-bottom: 0.250em; }"
|
||||
+ //"QToolBar#mw_toolbar { color: #505050; background-color: #F0F0F0; border: none; }"
|
||||
+ //"QToolBar#mw_toolbar::separator { background-color: rgba(207, 207, 207, 235); width: 0.125em; margin-top: 0.250em; margin-bottom: 0.250em; }"
|
||||
|
||||
// main window toolbar icon color
|
||||
- "QLabel#toolbar_icon_color { color: #5b5b5b; }"
|
||||
+ //"QLabel#toolbar_icon_color { color: #5b5b5b; }"
|
||||
|
||||
// thumbnail icon color
|
||||
"QLabel#thumbnail_icon_color { color: rgba(0, 100, 231, 255); }"
|
||||
|
||||
From 5db33b57999d935b6d7d1ebd428237e89dfe12cb Mon Sep 17 00:00:00 2001
|
||||
From: Guo Yunhe <i@guoyunhe.me>
|
||||
Date: Tue, 11 Apr 2023 23:43:03 +0800
|
||||
Subject: [PATCH 3/3] Update stylesheets.h
|
||||
|
||||
---
|
||||
rpcs3/rpcs3qt/stylesheets.h | 10 +++++-----
|
||||
1 file changed, 5 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/rpcs3/rpcs3qt/stylesheets.h b/rpcs3/rpcs3qt/stylesheets.h
|
||||
index 17a686acefa..787981920e4 100644
|
||||
--- a/rpcs3/rpcs3qt/stylesheets.h
|
||||
+++ b/rpcs3/rpcs3qt/stylesheets.h
|
||||
@@ -9,15 +9,15 @@ namespace gui
|
||||
const QString default_style_sheet
|
||||
(
|
||||
// main window toolbar search
|
||||
- "QLineEdit#mw_searchbar { padding: 0 1em; background: #fdfdfd; selection-background-color: #148aff; margin: .8em; color:#000000; }"
|
||||
+ //"QLineEdit#mw_searchbar { padding: 0 1em; background: #fdfdfd; selection-background-color: #148aff; margin: .8em; color:#000000; }"
|
||||
|
||||
// main window toolbar slider
|
||||
- "QSlider#sizeSlider { color: #505050; background: #F0F0F0; }"
|
||||
- "QSlider#sizeSlider::handle:horizontal { border: 0em smooth rgba(227, 227, 227, 255); border-radius: .58em; background: #404040; width: 1.2em; margin: -.5em 0; }"
|
||||
- "QSlider#sizeSlider::groove:horizontal { border-radius: .15em; background: #5b5b5b; height: .3em; }"
|
||||
+ //"QSlider#sizeSlider { color: #505050; background: #F0F0F0; }"
|
||||
+ //"QSlider#sizeSlider::handle:horizontal { border: 0em smooth rgba(227, 227, 227, 255); border-radius: .58em; background: #404040; width: 1.2em; margin: -.5em 0; }"
|
||||
+ //"QSlider#sizeSlider::groove:horizontal { border-radius: .15em; background: #5b5b5b; height: .3em; }"
|
||||
|
||||
// main window toolbar
|
||||
- //"QToolBar#mw_toolbar { color: #505050; background-color: #F0F0F0; border: none; }"
|
||||
+ //"QToolBar#mw_toolbar { background-color: #F0F0F0; border: none; }"
|
||||
//"QToolBar#mw_toolbar::separator { background-color: rgba(207, 207, 207, 235); width: 0.125em; margin-top: 0.250em; margin-bottom: 0.250em; }"
|
||||
|
||||
// main window toolbar icon color
|
3
intel-ittapi.tar.xz
Normal file
3
intel-ittapi.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:aff580aac953a8fe9c3b796a6ab538b532179de1a1a41c171f960cad24c544d0
|
||||
size 131108
|
3
rpcs3-0.0.32~git20240530.tar.xz
Normal file
3
rpcs3-0.0.32~git20240530.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0789424ef20c09540c42196310138bbe20c96d20735b504da265df4839df9ac3
|
||||
size 35813780
|
3
rpcs3-0.0.32~git20240810.tar.xz
Normal file
3
rpcs3-0.0.32~git20240810.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f4be95050ed5a8228cf27b48191a8764309c03bb5ec94c3f074cb1717b77a063
|
||||
size 206677424
|
15258
rpcs3.changes
Normal file
15258
rpcs3.changes
Normal file
File diff suppressed because it is too large
Load Diff
175
rpcs3.spec
Normal file
175
rpcs3.spec
Normal file
@ -0,0 +1,175 @@
|
||||
#
|
||||
# spec file for package rpcs3
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: rpcs3
|
||||
Version: 0.0.32~git20240810
|
||||
Release: 0
|
||||
Summary: PS3 emulator/debugger
|
||||
License: GPL-2.0-only
|
||||
URL: https://rpcs3.net
|
||||
Source0: %{name}-%{version}.tar.xz
|
||||
Source1: intel-ittapi.tar.xz
|
||||
Patch1: fix-test-files.patch
|
||||
Patch2: fix-toolbar-color.patch
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: (llvm-devel >= 16 with llvm-devel <= 18)
|
||||
BuildRequires: cmake(x86-64) >= 3.14.1
|
||||
BuildRequires: pkgconfig(libcurl)
|
||||
BuildRequires: pkgconfig(libedit)
|
||||
BuildRequires: pkgconfig(libevdev)
|
||||
BuildRequires: pkgconfig(libpng)
|
||||
BuildRequires: pkgconfig(libudev)
|
||||
BuildRequires: pkgconfig(libusb-1.0)
|
||||
BuildRequires: pkgconfig(x11)
|
||||
BuildRequires: pkgconfig(yaml-cpp)
|
||||
BuildRequires: pkgconfig(zlib)
|
||||
|
||||
#graphics backend dependencies:
|
||||
#-------------------------------------------------
|
||||
##opengl:
|
||||
BuildRequires: pkgconfig(glew) >= 1.13.0
|
||||
BuildRequires: pkgconfig(glu)
|
||||
BuildRequires: pkgconfig(sdl2)
|
||||
|
||||
##vulkan:
|
||||
BuildRequires: pkgconfig(vulkan) >= 1.1.126
|
||||
#-------------------------------------------------
|
||||
|
||||
#audio backend dependencies:
|
||||
#-------------------------------------------------
|
||||
##alsa:
|
||||
BuildRequires: pkgconfig(alsa)
|
||||
|
||||
##pulseaudio:
|
||||
BuildRequires: pkgconfig(libpulse)
|
||||
BuildRequires: pkgconfig(libpulse-mainloop-glib)
|
||||
BuildRequires: pkgconfig(libpulse-simple)
|
||||
|
||||
##openal:
|
||||
BuildRequires: pkgconfig(openal)
|
||||
|
||||
##faudio:
|
||||
BuildRequires: pkgconfig(sdl2)
|
||||
#-------------------------------------------------
|
||||
|
||||
#ffmpeg dependencies
|
||||
BuildRequires: pkgconfig(libavcodec)
|
||||
BuildRequires: pkgconfig(libavformat)
|
||||
BuildRequires: pkgconfig(libavutil)
|
||||
BuildRequires: pkgconfig(libswscale)
|
||||
|
||||
#qt dependencies
|
||||
BuildRequires: pkgconfig(Qt6Concurrent)
|
||||
BuildRequires: qt6-base-private-devel
|
||||
BuildRequires: pkgconfig(Qt6Core)
|
||||
BuildRequires: pkgconfig(Qt6DBus)
|
||||
BuildRequires: pkgconfig(Qt6Multimedia)
|
||||
BuildRequires: pkgconfig(Qt6MultimediaWidgets)
|
||||
BuildRequires: pkgconfig(Qt6Network)
|
||||
BuildRequires: pkgconfig(Qt6Qml)
|
||||
BuildRequires: pkgconfig(Qt6Svg)
|
||||
BuildRequires: pkgconfig(Qt6Widgets)
|
||||
|
||||
ExclusiveArch: x86_64
|
||||
|
||||
Requires(post): hicolor-icon-theme
|
||||
Requires(post): update-desktop-files
|
||||
Requires(postun): hicolor-icon-theme
|
||||
Requires(postun): update-desktop-files
|
||||
|
||||
# Xbox One/Series controller wireless driver
|
||||
Recommends: xpadneo
|
||||
|
||||
%description
|
||||
An open-source PlayStation 3 emulator/debugger written in C++.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -a 1
|
||||
|
||||
#Generate Version Strings
|
||||
GIT_VERSION=$(echo %{version} | sed 's|.*git|git~|g')
|
||||
|
||||
echo "// This is a generated file.
|
||||
|
||||
#define RPCS3_GIT_VERSION \"$GIT_VERSION\"
|
||||
#define RPCS3_GIT_BRANCH \"master\"
|
||||
#define RPCS3_GIT_FULL_BRANCH \"RPCS3/rpcs3/master\"
|
||||
|
||||
// If you don't want this file to update/recompile, change to 1.
|
||||
|
||||
#define RPCS3_GIT_VERSION_NO_UPDATE 1
|
||||
" > %{name}/git-version.h
|
||||
|
||||
%build
|
||||
|
||||
## llvm intel-ittapi workarounds
|
||||
|
||||
# Work around git revision issues
|
||||
#sed -i -e 's:FATAL_ERROR:WARNING:g' llvm/lib/ExecutionEngine/IntelJITEvents/CMakeLists.txt
|
||||
|
||||
# Fix paths
|
||||
mv intel-ittapi ittapi && mkdir intel-ittapi && mv ittapi intel-ittapi/
|
||||
export ITTAPI_DIR="$(pwd)/intel-ittapi"
|
||||
|
||||
mkdir ../%{name}_build
|
||||
cd ../%{name}_build
|
||||
# FIXME: you should use the %%cmake macros
|
||||
%__cmake ../%{name}-%{version} \
|
||||
-DITTAPI_SOURCE_DIR="${ITTAPI_DIR}" \
|
||||
-DUSE_PCH=OFF \
|
||||
-DENABLE_PCH=OFF \
|
||||
-DSKIP_PRECOMPILE_HEADERS=ON \
|
||||
-DUSE_PRECOMPILED_HEADERS=OFF \
|
||||
-DUSE_SYSTEM_CURL=ON \
|
||||
-DUSE_SYSTEM_FFMPEG=ON \
|
||||
-DUSE_SYSTEM_LIBPNG=ON \
|
||||
-DUSE_SYSTEM_LIBUSB=ON \
|
||||
-DUSE_SYSTEM_SDL=ON \
|
||||
-DUSE_SYSTEM_ZLIB=ON \
|
||||
-DUSE_NATIVE_INSTRUCTIONS=OFF \
|
||||
-DCMAKE_INSTALL_PREFIX="%{_prefix}" \
|
||||
-DCMAKE_INSTALL_LIBEXEC="%{_libexecdir}" \
|
||||
-DCMAKE_BUILD_TYPE="Release" \
|
||||
-DCMAKE_SKIP_RPATH="YES"
|
||||
|
||||
%make_jobs
|
||||
|
||||
%post
|
||||
%desktop_database_post
|
||||
%icon_theme_cache_post
|
||||
|
||||
%postun
|
||||
%desktop_database_postun
|
||||
%icon_theme_cache_postun
|
||||
|
||||
%install
|
||||
cd ../%{name}_build
|
||||
%make_install
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
|
||||
%attr(755, root, root) %{_bindir}/%{name}
|
||||
%{_datadir}/applications/%{name}.desktop
|
||||
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
|
||||
%{_datadir}/icons/hicolor/48x48/apps/%{name}.png
|
||||
%{_datadir}/%{name}
|
||||
%{_datadir}/metainfo/%{name}.metainfo.xml
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user