%global debug_package %{nil} %global __requires_exclude_from ^%{_datadir}/steam/compatibilitytools.d/%{name}/.* %global __provides_exclude_from ^%{_datadir}/steam/compatibilitytools.d/%{name}/.* %define _protondir %{_datadir}/steam/compatibilitytools.d/%{name} %define _protoncfg %{_protondir}/user_settings.py %define _tarball GE-Proton10-26 Name: proton-ge-custom Version: 10.26 Release: 1%{?dist} Summary: Compatibility tool for Steam Play based on Wine and additional components. License: BSD & LGPL & zlib & MIT & MPL & custom URL: https://github.com/GloriousEggroll/proton-ge-custom Source0: %{_tarball}.tar.gz Source1: user_settings.py Source2: pam_limits.conf Source3: proton-ge-custom.conf Source4: proton-ge ExclusiveArch: x86_64 BuildRequires: sed %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 %{_tarball} %build sed -i "s|_proton=echo|_proton=/%{_protondir}/proton|" %{SOURCE4} sed -i -r 's|"GE-Proton.*"|"Proton-GE"|' compatibilitytool.vdf cd files cd bin strip --preserve-dates --strip-unneeded wine* %install %{__install} -d %{buildroot}%{_protondir} %{__install} -d %{buildroot}%{_bindir} %{__install} -d %{buildroot}%{_sysconfdir}/security/limits.d/ %{__install} -d %{buildroot}%{_libdir}/modules-load.d/ %{__install} --mode=0775 %{SOURCE1} %{buildroot}%{_protoncfg} %{__install} --mode=0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/security/limits.d/10-games.conf %{__install} --mode=0644 %{SOURCE3} %{buildroot}%{_libdir}/modules-load.d/%{name}.conf %{__install} --mode=0755 %{SOURCE4} %{buildroot}%{_bindir} mv $(pwd)/* %{buildroot}%{_protondir}/ ln -sf unzip %{buildroot}%{_protondir}/protonfixes/files/bin/zipinfo %files %{_bindir}/proton-ge %{_protondir}/files/* %{_protondir}/protonfixes/* %{_protondir}/compatibilitytool.vdf %{_protondir}/LICENSE %{_protondir}/LICENSE.OFL %{_protondir}/PATENTS.AV1 %{_protondir}/proton_3.7_tracked_files %{_protondir}/toolmanifest.vdf %{_protondir}/version %{_protondir}/proton %{_protondir}/filelock.py %{_protondir}/user_settings.sample.py %attr(0775, root, root) %{_protondir}/user_settings.py %{_libdir}/modules-load.d/%{name}.conf %{_sysconfdir}/security/limits.d/10-games.conf %changelog %autochangelog