%global debug_package %{nil} %global proton_name GE-Proton %global proton_version 10-29 %global proton_dir %{_datadir}/steam/compatibilitytools.d/%{name} %global __requires_exclude_from ^%{proton_dir}/.* %global __provides_exclude_from ^%{proton_dir}/.* Name: ge-proton Version: 10.29 Release: 1%{?dist} Summary: Compatibility tool for Steam Play based on Wine and additional components. License: BSD-3-Clause AND LGPL-2.1-or-later AND LGPL-2.0-or-later AND MIT AND Zlib AND MPL-2.0 AND OFL-1.1 AND GPL-2.0-or-later AND BSD-2-Clause AND MS-PL URL: https://github.com/GloriousEggroll/proton-ge-custom Source0: %{url}/releases/download/%{proton_name}%{proton_version}/%{proton_name}%{proton_version}.tar.gz Requires: vulkan-loader%{?_isa} Requires: mesa-vulkan-drivers%{?_isa} %description GloriousEggroll build of Proton with the most recent bleeding-edge Proton Experimental WINE. Things it contains that Valve's Proton does not: - Additional media foundation patches for better video playback support. - AMD FSR patches added directly to fullscreen hack that can be toggled with WINE_FULLSCREEN_FSR=1. - FSR Fake resolution patch details here. - Nvidia CUDA support for PhysX and NVAPI. - Raw input mouse support 'protonfixes' system -- this is an automated system that applies per-game fixes (such as winetricks, envvars, EAC workarounds, overrides, etc). - Various upstream WINE patches backported. - Various wine-staging patches applied as they become needed. - NTSync enablement if the kernel supports it. %prep %autosetup -n %{proton_name}%{proton_version} %build sed -i 's/"GE-Proton[^"]*"/"ge-proton"/' compatibilitytool.vdf find files/bin -type f -name 'wine*' -executable -exec \ strip --preserve-dates --strip-unneeded {} \; %install install -d %{buildroot}%{proton_dir} install -d %{buildroot}%{_docdir}/%{name} install -pm 0644 LICENSE %{buildroot}%{_docdir}/%{name}/ install -pm 0644 LICENSE.OFL %{buildroot}%{_docdir}/%{name}/ install -pm 0644 PATENTS.AV1 %{buildroot}%{_docdir}/%{name}/ cp -a compatibilitytool.vdf proton_3.7_tracked_files toolmanifest.vdf \ version proton filelock.py user_settings.sample.py \ files protonfixes \ %{buildroot}%{proton_dir}/ ln -sf unzip %{buildroot}%{proton_dir}/protonfixes/files/bin/zipinfo %files %license LICENSE LICENSE.OFL PATENTS.AV1 %doc %{_docdir}/%{name}/ %{proton_dir}/ %changelog %autochangelog