forked from pool/rpcs3
ec8bb2d220
- Update to version 0.0.6~git20190414: * Ignore sorting on ranged combobox and log message * Change EnhanceComboBox to optionally sort the settings list before adding it to the combo box * SPU ASMJIT: avoid AVX in verification (experimental) * Increase max stack size to 8 MB on Windows * SPU ASMJIT: move vzeroupper a bit * SPU: write cache before compiling * mutex.h: fix warning (unary minus unsigned) * fs::rename, use renameat2 on Linux * Update LLVM - Update to version 0.0.6~git20190412: * rsx: Improve texture sourcing and clipping when reverse scanning is enabled - When reverse scanning, offsets are inverted and offset value of 0 is logically equivalent to an offset of -1 - Add an explicit message if clipping happens to avoid silent errors/bugs * sys_fs_unlink: add CELL_EISDIR check * Fix cellVdecOpen * Travis: disable gcc build * Add _sys_ppu_thread_create and sys_ppu_thread_rename error checks * SPU LLVM: Fix branch to self at start of block state check * SPU LLVM: Fix CFLTU * SPU: Implement BISLED * Prefetch byteswapped opcodes in ppu interpreter * Make sure to update cia when calling in unknown hle table func access * PPU LLVM: Fix STSWI and LSWI * Implement fallback for PPU LLVM * ppu Fast/Precise: Fix SIMD instructions VSUM2SWS, VPKSWSS, VPKSHUS, VPKSHSS * ppu interpreter: Improve FPCC field handling * Fix default PPU nj status * Check start status in sys_prx_start/stop_module * Fix timespec for MSVC * Initial sys_overlay * hle: Add some more functions * Qt: add version update hint to game list * Implement vfs::host::unlink * Add fs::file::set_delete * Simplify fs::file::get_handle * Implement vfs::host::rename * PPU/SPU transactions: ease cache line interference (TSX path) * vk: Dynamic heap management to potentially fix ring buffer overflows - Allows checking one heap type at a time, on demand - Should avoid OOM situations unless inside an uninterruptible block * rsx: Fixups for swizzled texture scanning - Revert to using block metrics, but with optional per-channel decode stage for the final transfer. Much cleaner than hacking in the width to be in channels instead of blocks. * rsx: Fixups for data cast operations via typeless transfer * rsx: Remove some old restrictions affecting memory persistence * rsx: Implement RGB655 decode * gl: Register a few more missing formats for conversion * rsx: Fix temporary subresource caching behaviour - Do not cache if a gathered subresource contains a bound RTT - Change op to dynamic copy if parent is still bound * rsx: Improvements to texture scanning - Removes CPU-only transforms that broke GPU-side code. -- Channels in GPU compute are laid out in cell-order, but CPU was uploading in favorable order and compensating with swizzles. -- This leads to 2 different layouts depending on the location of the data (CPU vs GPU) - Implement R8G8_R8B8 interleaved format decode - General improvements * vk: Implement copy-to-buffer and copy-from-buffer for depth_stencil formats - Allows D24S8 and D32S8 transport via typeless channels - Allows uploading and downloading D24S8 data easily - TODO: Implement optional byteswapping to fix flushed readbacks with the same method * rsx: Preliminary support for format conversions using typeless resolve * rsx: Tighten format checks in cache hit tests * rsx: Blit engine clipping fixes - Do not round up sub-pixel offsets, round down instead - Do not allow incomplete sources for hw blit transfer - Reimplement src clipping (slice_h) - Check 'area' of incoming texels and correct for them before RTT lookup/transfer - Filter out incomplete targets when performing RTT lookup (1 texel or less contribution) * hle: Add more missing functions * Correct travis deploy behavior (bug). cd returns an error code, thus overwriting '0' OBS-URL: https://build.opensuse.org/request/show/694648 OBS-URL: https://build.opensuse.org/package/show/Emulators/rpcs3?expand=0&rev=22
140 lines
3.7 KiB
RPMSpec
140 lines
3.7 KiB
RPMSpec
#
|
|
# spec file for package RPCS3
|
|
#
|
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
#
|
|
# 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 http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: rpcs3
|
|
Version: 0.0.6~git20190414
|
|
Release: 0
|
|
Summary: PS3 emulator/debugger
|
|
License: GPL-2.0
|
|
Url: https://rpcs3.net/
|
|
Source0: %{name}-%{version}.tar.xz
|
|
ExclusiveArch: x86_64
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: cmake
|
|
BuildRequires: pkgconfig(glew)
|
|
BuildRequires: pkgconfig(glu)
|
|
BuildRequires: pkgconfig(libpng)
|
|
BuildRequires: pkgconfig(openal)
|
|
BuildRequires: pkgconfig(alsa)
|
|
BuildRequires: pkgconfig(libpulse-simple)
|
|
BuildRequires: pkgconfig(libevdev)
|
|
BuildRequires: pkgconfig(yaml-cpp)
|
|
BuildRequires: pkgconfig(libudev)
|
|
BuildRequires: vulkan-devel
|
|
BuildRequires: -post-build-checks
|
|
|
|
#ffmpeg deps
|
|
BuildRequires: pkgconfig(libavcodec)
|
|
BuildRequires: pkgconfig(libswscale)
|
|
BuildRequires: pkgconfig(libavformat)
|
|
|
|
#qt deps
|
|
BuildRequires: pkgconfig(Qt5Core) >= 5.10
|
|
BuildRequires: pkgconfig(Qt5Widgets) >= 5.10
|
|
BuildRequires: pkgconfig(Qt5DBus) >= 5.10
|
|
BuildRequires: pkgconfig(Qt5Network) >= 5.10
|
|
BuildRequires: pkgconfig(Qt5Qml) >= 5.10
|
|
BuildRequires: libqt5-qtbase-private-headers-devel >= 5.10
|
|
|
|
#LLVM deps
|
|
#BuildRequires: llvm4-devel
|
|
#BuildRequires: libLLVM4
|
|
|
|
|
|
Requires(post): hicolor-icon-theme
|
|
Requires(postun): hicolor-icon-theme
|
|
Requires(post): update-desktop-files
|
|
Requires(postun): update-desktop-files
|
|
|
|
%description
|
|
An open-source PlayStation 3 emulator/debugger written in C++.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
#Force Link with shared LLVM libs
|
|
#-e 's|llvm_map_components_to_libnames(LLVM_LIBS .*)|set(LLVM_LIBS LLVM)|g' \
|
|
#sed -i \
|
|
#-e 's|Qt5 5.[0-9]\+|Qt5|g' \
|
|
#%{name}/CMakeLists.txt
|
|
|
|
#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\"
|
|
|
|
// 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
|
|
cmake ../%{name}-%{version} \
|
|
-DUSE_SYSTEM_FFMPEG="OFF" \
|
|
-DUSE_SYSTEM_LIBPNG="OFF" \
|
|
-DUSE_NATIVE_INSTRUCTIONS="OFF" \
|
|
-DCMAKE_INSTALL_PREFIX="%{_prefix}" \
|
|
-DCMAKE_INSTALL_LIBEXEC="%{_libexecdir}" \
|
|
-DCMAKE_BUILD_TYPE="Release" \
|
|
-DCMAKE_SKIP_RPATH="YES" \
|
|
-DCMAKE_C_FLAGS="%{optflags} -fno-pie" \
|
|
-DCMAKE_CXX_FLAGS="%{optflags} -fno-pie"
|
|
|
|
%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
|
|
%defattr(-,root,root)
|
|
%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}.appdata.xml
|
|
|
|
%exclude %{_libexecdir}
|
|
%exclude %{_includedir}
|
|
%exclude %{_bindir}/llvm-tblgen
|
|
%exclude %{_bindir}/xxhsum
|
|
%exclude %{_libdir}/libxxhash.a
|
|
%exclude %{_datadir}/man/man1/xxhsum.1.gz
|
|
|
|
%changelog
|