forked from pool/rpcs3
78006b1460
- Update to version v0.0.18~git20211024: * Qt: Add camera settings dialog * cellCamera: don't flip qt image vertically by default * Qt: add QtMultimedia to ci * cellCamera: fix compilation on linux * cellCamera: support all formats and set RGB32 if possible * cellCamera: add some more logging and fix some warnings * cellCamera: Implement dynamic camera selection * cellCamera: fix some typos (fixes camera attachment in Kung Fu Live) * cellCamera: silence some log errors * cellCamera: fix regular YUV422 conversion of qt camera handler * cellCamera: fix qt camera handler format * cellCamera: fix buffer allocation * cellCamera: log qt camera handler status strings * cellCamera: move camera handler interaction to seperate functions * cellCamera: improve image conversion speed * cellCamera: sprinkle some mutexes and handle disconnected cameras during open phase * cellCamera: fix camera interaction * cellCamera: fix buffer size for YUV * cellCamera: add error handling to qt camera * cellCamera: implement CELL_CAMERA_READ_DIRECT * cellCamera: fix qt camera width and height for non-default resolutions * cellCamera: Add qt camera handler * Allow booting any ELF inside disc directory, not just ones at 'PS3_GAME/USRDIR/' * Qt: fix richtext_item_delegate palette * Screenshot: sort folders by Title IDs * Add emulated Guitar Hero Live guitar controller in Settings I/O tab * [Win32] Allow renaming uppercase RAP/EDAT to lowercase with drag-and-drop from /exdata - Update to version v0.0.18~git20211023: * fix: cleanup basic handler in np term * Fix possible fs::create_path recursion overflow * glslang: Update from 11.5.0 to 11.6.0 * stb_truetype: Update from 1.25 to 1.26 * cURL: Update from 7.77.0 to 7.79.1 * FAudio: Update from 21.07 to 21.10 * XAudio2: Update from 1.2.6 to 1.2.8 * SPU: Implement interrupts handling for remaining events * vk: Fully allow CB change in emit_geometry * Linux: add org.mate.ScreenSaver as fallback * Qt: remove pad settings size constraint * vm_native.cpp: Fix DeviceIoControl usage (#11029) - Update to version v0.0.18~git20211017: * SPU/PPU DisAsm: Implement more constant formation patterns * PPUDisAsm: Fix MFSPR/MTSPR disassembly * sys_net: getsockname on unbound p2p socket fix * sys_net: redirects 0.0.0.0 packets on windows * PPUDisAsm: Fixup SC printing, support LV1 syscalls - Update to version v0.0.18~git20211015: * DS4: add version check * mmjoy: add member prefix to blacklist * sceNpDrmIsAvailable: fix error check * RPCN: Set error state on empty login/password * Enables resend token button * PPU/SPU LLVM: Emulate VPERM2B with a 256 bit wide VPERMB - Save 1 uop by using 256 wide VPERMB instead of VPERM2B. (Compiles down to a vinserti128 and vpermb) * Defaults to 127.0.0.1 when failing to discover IP * Add emulated DJ Hero turntable controller in Settings I/O tab * GUI Utilities: Implement instruction search, PPU/SPU disasm improvements (#10968) * rpcn: wait for signal before connect * Fix rpcn create/login not returning proper error * rsx: Fix some texture decode instructions * vm_native: simplify vm.overcommit sysctl * vm_native: unbreak runtime on FreeBSD after 63104af8e9ee * sceNpFriendlist: some improvements * sceNpCustomMenu: improvements * sceNp: more error checks * sceNpInit: fix error check order * sceNpDrmIsAvailable: add param checks * rpcn v0.4.0 * PPU DisAsm: Fix CMPLI disassembly * rsx: Fix decoding of linear cubemaps * gl: Alias register binding points a bit * DS4: add ZEROPLUS Brook Mars controller * input: log hid_get_feature_report return values * Qt: write version changes to update.log * fs: Add fs::write_new, promotes safe file creation (no overwrite) * Make pad and patches config savinng atomic - Update to version v0.0.18~git20211009: * rsx: Rewrite shader decompiler texture dispatch * vk: Silence compiler warning - Update to version v0.0.18~git20211007: * Add edat install support * cellKb: implement key repeat * Update yaml-cpp * Add missing cpu_flag formatting * Fix config mode reset * input: increase mouse acceleration maximum * Overlays: fix small performance overlay font sizes - Update to version v0.0.18~git20211002: * GUI Utilities: Implement PS3 SDAT/EDAT decryption * Fix clang-format for new ugly lambda indentations * Set up VS environment before calling cmake in glslang and spirv (#10952) - Update to version v0.0.18~git20210930: * Suggest tweaking the setting "Stub PPU Traps" after PPU trap (#10921) * Update unpkg.cpp * PKG: Simplify files management * SPU LLVM Fixup for VDBPSADBW * LLVM DSL: reimplement vdbpsadbw * SPU LLVM: Optimize branches following byteswaps - The first element can be extracted via vmovd rather than vpextrd, which saves 1 uop. * SPU LLVM: Use VDBPSADBW in SUMB - This instruction can be used to sum bytes horrizontally if the second input vector is all zeroes. * Qt/Linux: Properly hide taskbar progress when done * Qt/Linux: Implement SignalFailure with dbus * Qt: Add sound if download fails * Qt: fix downloader taskbar progress * settings_dialog: Add Restore Defaults button * settings: Fixup for ranged combobox fallback * vk: Use a dynamic number of descriptor allocations * vk: Clean up around vkQueueSubmit handling * vk: Add deregister event for sets * vk: Make the new descriptor system spec compliant * Whitespace fix * vk: Implement descriptor allocation batching * rsx: Optimize thread self-tests * vk: Enable deferred descriptor updates via descriptor-indexing * Optimize basic descriptor batching * vk: Implement basic descriptor updates batching * vk: Refactor descriptors a bit * vk: Enable descriptor indexing extension if supported * rsx: refactor rsx_utils a bit * vk: Simplify texture cache OOM tracking a bit * rsx: Avoid get_system_time for simple draw ordering * rsx: Avoid calling get_system_time() every draw call * rsx: Minor optimization; avoid preparing unused vertex streams * Bugfix after recent PPU patches pr * Debugger/Disasm: Name PPU Syscalls * Remove some lwmutex log spam * Patches/PPU: Implement HLE/LLE/With-TOC function call patches - Update to version v0.0.18~git20210926: * Qt: Fix SnapSlider in settings - Update to version v0.0.18~git20210926: * config: Remove Lower SPU Priority setting * ui: Remove SPU Cache from settings dialog * config: Disable SPU loop detection by default * VFS: move VFS settings to seperate file * Fix VFS regression * VFS: add logging to mount * Remove unused lambda * Debugger: Implement editing instruction for entire SPU group * ci: Switch QT mirror (#10918) * vk: Fix scanning for upload heap types. - Update to version v0.0.18~git20210922: * sys_fs: Add write log messages for SDATA/EDATA * sys_fs: Fix sys_fs_read/write when nbytes is 0 * sys_fs: Fix SDATA/EDATA file-stat * Fix cellFsSdataOpenByFd flags * perf_overlay: fix initial graph positions with detail level none * cellOsk: partially implement continuous mode * cellOsk: partially implement cellOskDialogExtUpdateInputText * cellOsk: do not notify INPUT_ENTERED on each input * cellOsk: reset options after unload * cellOsk: stub some settings * cellOsk: fix dialog abort w/o user interaction * cellOsk: dont send INPUT_ENTERED unless continuous * rsx: Fix 3D texture decode * rsx: Invariably clear the texture state if referenced. * vk: Enable sampler mirror-clamped-to-edge as an extension * rsx: Rework how depth/stencil initialization+clear works * vk: Rewrite memory initialization * Enable stencil export extension when required * Fix memory leak in cellOskDialog (#10895) * cellAudio fix * input: fix keyboard_pad_handler pressure sensitivity * Overlays: Fix position of centered perf-overlay - Update to version v0.0.18~git20210918: * edat: Check for the correct directory * unpkg: Don't append title ID to license packages * SPU: cpu_work() fixup, fix recursion in AV handler * SPU MFC: Add shuffling in steps setting * GUI Settings: Add MFC Delay Command checkbox * CLI: add "high-res-timer" argument (defaults to 1) * rsx: wait when emulation is paused * silence some warnings * System: only init fxo objects if a game is started * System.cpp: Remove outdated and bugged code-block * Fix Emulator::IsPathInsideDir * PKG: Implement SDATA decryption * PKG: Debugging messages * GUI: PARAM.SFO formatting * Implement Emulator::GetFakeCat() * Emu: Fix disc game move from hdd0/game * rsx: Fix stupid overflow - Update to version v0.0.18~git20210917: * CPUThread: Prevent recursive check_state calls * SPU MFC: Implement MFC commands execution shuffling * SPU LLVM: implement SQRT and DIV pattern detection (xf) * SPU LLVM: implement spu_re, spu_rsqrte * SPU LLVM: make intrinsics for most xfloat instructions * LLVM DSL / SPU LLVM: implement infinite precision shifts * LLVM DSL: implement absd and match helpers * LLVM DSL: reimplement fre, frsqe, fmax, fmin * LLVM DSL: reimplement pshufb, add 'calli' * SPU LLVM: implement FI instruction * LLVM DSL: implement fpcast * LLVM DSL: reimplement fmuladd, force hw fma if present * SPU LLVM: optimize SHUFB for permutation-only shuffles * SPU LLVM: implement missing constant mask handling in SHUFB * LLVM DSL: add line number in get_const_vector automatically * LLVM DSL: reimpelement fsqrt, fabs * LLVM DSL: reimplement avg * LLVM DSL: reimplement ctlz, ctpop * Refresh game list after installing RAP files via menus * Fully implement sceNpDrmVerifyUpgradeLicense * cellSearch: more stubs and implementations (#10578) * overlays: Show feedback while stopping ppu compilation * Fix BDVD path setting * sys_prx: Improve sys_prx_get_module_info error checking * sys_prx: Implement sys_prx_get_module_id_by_address * cmake corrections (#10782) * Switch from r16ui to r16 * Enable the precise occlusion query feature * Qt: add changelog to updater (#10844) * Qt: Reset stick positions on pad handler change * Qt: Relocate pad handler parameter changes * Qt: reset config when null pad handler is selected * Qt: fix player selection checks * Emu.Load: add more logging * Fix sys_prx_start/stop_module for older firmware * Fix user_interface::alloc_thread_bit() usage * vm: Fix vm::unmap * Fixup default config-path (#10863) * Fix vm::try_alloc regression * Add debugging info for when sys_tty_write is executed * Improve sys_fs_close logging * BUILD: a couple of cmake msvc compile fixes (#10799) * Add support for sc vtrm crypto * Patches/PPU: Add jump_link patch type * Fixup No.3 after #10779 * Reimplement config selection for game startup * Ensure frozen emulation for special executables inspection modes * Do not allow to unpause after fatal error occured in emulation * System: remove deprecated custom config location * Qt: remove deprecated playtime code * Qt: release scaled pixmaps from memory if possible * Qt: release unused data when switching list modes * input: make pad_thread a named_thread * input: reimplement lost optimization * Qt: Add missing Boot confirmation * fix * Log emulation pause/unpause events * Debugger/Disasm: Name SPU Syscalls * Enable PPU java mode handling by default (#10825) * Add enums for zcull precision control * Add ZCULL control options to the GUI * rsx: Implement ZPASS results scaling for precise stats * rsx: Implement precise ZCULL stats * remove deprecated avcodec_register_all - Update to version v0.0.18~git20210905: * VS: add missing generated file * input: fix custom pad config loading * input: fix custom pad config saving * input: fix custom pad config removal * sys_net: Anti-log spam enhancement * cellCamera: Anti-Log spam enhancement * Qt: patch creator * Silence some warnings OBS-URL: https://build.opensuse.org/request/show/928299 OBS-URL: https://build.opensuse.org/package/show/Emulators/rpcs3?expand=0&rev=34
155 lines
4.2 KiB
RPMSpec
155 lines
4.2 KiB
RPMSpec
#
|
|
# spec file for package rpcs3
|
|
#
|
|
# Copyright (c) 2021 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: v0.0.18~git20211024
|
|
Release: 0
|
|
Summary: PS3 emulator/debugger
|
|
License: GPL-2.0-only
|
|
URL: https://rpcs3.net
|
|
Source0: %{name}-%{version}.tar.xz
|
|
BuildRequires: gcc-c++ >= 9
|
|
BuildRequires: cmake(x86-64) >= 3.14.1
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: pkgconfig(libpng)
|
|
BuildRequires: pkgconfig(x11)
|
|
BuildRequires: pkgconfig(yaml-cpp)
|
|
BuildRequires: pkgconfig(zlib)
|
|
BuildRequires: pkgconfig(libevdev)
|
|
BuildRequires: pkgconfig(libudev)
|
|
BuildRequires: pkgconfig(libcurl)
|
|
BuildRequires: pkgconfig(libedit)
|
|
BuildRequires: -post-build-checks
|
|
|
|
#graphics backend dependencies:
|
|
#-------------------------------------------------
|
|
##opengl:
|
|
BuildRequires: pkgconfig(glew) >= 1.13.0
|
|
BuildRequires: pkgconfig(glu)
|
|
|
|
##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(Qt5Concurrent) >= 5.15.2
|
|
BuildRequires: pkgconfig(Qt5Core) >= 5.15.2
|
|
BuildRequires: pkgconfig(Qt5DBus) >= 5.15.2
|
|
BuildRequires: pkgconfig(Qt5Network) >= 5.15.2
|
|
BuildRequires: pkgconfig(Qt5Qml) >= 5.15.2
|
|
BuildRequires: pkgconfig(Qt5Widgets) >= 5.15.2
|
|
BuildRequires: pkgconfig(Qt5Multimedia) >= 5.15.2
|
|
BuildRequires: pkgconfig(Qt5MultimediaWidgets) >= 5.15.2
|
|
BuildRequires: libqt5-qtbase-private-headers-devel >= 5.15.2
|
|
|
|
Requires(post): hicolor-icon-theme
|
|
Requires(post): update-desktop-files
|
|
Requires(postun): hicolor-icon-theme
|
|
Requires(postun): update-desktop-files
|
|
ExclusiveArch: x86_64
|
|
|
|
%description
|
|
An open-source PlayStation 3 emulator/debugger written in C++.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
#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 \"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
|
|
|
|
mkdir ../%{name}_build
|
|
cd ../%{name}_build
|
|
# FIXME: you should use the %%cmake macros
|
|
%__cmake ../%{name}-%{version} \
|
|
-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_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
|