mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
(cherry picked from commit 8d75eecabe)
Signed-off-by: Gilver <rockgrub@disroot.org>
Co-authored-by: Gilver <rockgrub@disroot.org>
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
|
||||
Name: steam
|
||||
Version: 1.0.0.82
|
||||
Release: 3%?dist
|
||||
Release: 4%?dist
|
||||
Summary: Installer for the Steam software distribution service
|
||||
# Redistribution and repackaging for Linux is allowed, see license file. udev rules are MIT.
|
||||
License: Steam License Agreement and MIT
|
||||
@@ -179,6 +179,10 @@ install -m 644 -p %{SOURCE7} %{buildroot}%{_prefix}/lib/systemd/system.conf.d/
|
||||
install -m 644 -p %{SOURCE7} %{buildroot}%{_prefix}/lib/systemd/user.conf.d/
|
||||
install -m 775 -p %{SOURCE9} %{buildroot}%{_bindir}/steamrestart
|
||||
|
||||
# https://github.com/ValveSoftware/steam-for-linux/issues/9940
|
||||
desktop-file-edit --remove-key=PrefersNonDefaultGPU %{buildroot}%{_datadir}/applications/%{name}.desktop
|
||||
desktop-file-edit --remove-key=X-KDE-RunOnDiscreteGpu %{buildroot}%{_datadir}/applications/%{name}.desktop
|
||||
|
||||
%check
|
||||
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
|
||||
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{appstream_id}.metainfo.xml
|
||||
|
||||
Reference in New Issue
Block a user