steamdeps: add explicit deps from gcc to prevent installing gcc-multilib [release 1.0.0.75-3mamba;Thu Sep 29 2022]
This commit is contained in:
parent
e7c6b94fc9
commit
36c9d95b0a
25
steam.spec
25
steam.spec
@ -1,6 +1,6 @@
|
|||||||
Name: steam
|
Name: steam
|
||||||
Version: 1.0.0.75
|
Version: 1.0.0.75
|
||||||
Release: 1mamba
|
Release: 3mamba
|
||||||
Summary: Valve's distribution platform, created to kick-start the digital distribution era for games
|
Summary: Valve's distribution platform, created to kick-start the digital distribution era for games
|
||||||
Group: Graphical Desktop/Applications/Games
|
Group: Graphical Desktop/Applications/Games
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -28,8 +28,21 @@ Steam is Valve's distribution platform, created to kick-start the digital distri
|
|||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%makeinstall
|
%makeinstall
|
||||||
|
|
||||||
# blank steamdeps because apt-get
|
%ifarch x86_64
|
||||||
ln -sf /bin/true %{buildroot}%{_bindir}/steamdeps
|
cat > %{buildroot}%{_prefix}/lib/steam/bin_steamdeps.sh << _EOF
|
||||||
|
#!/bin/bash
|
||||||
|
# Install 32-bits deps from x86 legacy repository
|
||||||
|
if [ ! -e /usr/lib/libGL.so.1 -o ! -e /usr/lib/libstdc++.so.6 ]; then
|
||||||
|
pkexec dnf install -y --disablerepo=rolling glibc.i586 libglvnd.i586 \
|
||||||
|
libmesa.i586 libdrm.i586 libstdc++6.i586 libgcc.i586 libatomic.i586
|
||||||
|
fi
|
||||||
|
_EOF
|
||||||
|
chmod +x %{buildroot}%{_prefix}/lib/steam/bin_steamdeps.sh
|
||||||
|
|
||||||
|
ln -sf %{_prefix}/lib/steam/bin_steamdeps.sh %{buildroot}%{_bindir}/steamdeps
|
||||||
|
%else
|
||||||
|
ln -sf true %{buildroot}%{_bindir}/steamdeps
|
||||||
|
%endif
|
||||||
|
|
||||||
install -Dm 644 subprojects/steam-devices/60-steam-input.rules \
|
install -Dm 644 subprojects/steam-devices/60-steam-input.rules \
|
||||||
%{buildroot}%{_udevrulesdir}/70-steam-input.rules
|
%{buildroot}%{_udevrulesdir}/70-steam-input.rules
|
||||||
@ -59,6 +72,12 @@ install -Dm 644 subprojects/steam-devices/60-steam-vr.rules \
|
|||||||
%doc COPYING
|
%doc COPYING
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Sep 29 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.0.75-3mamba
|
||||||
|
- steamdeps: add explicit deps from gcc to prevent installing gcc-multilib
|
||||||
|
|
||||||
|
* Wed Aug 03 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.0.75-2mamba
|
||||||
|
- provide steamdeps script to install deps from i586 repository
|
||||||
|
|
||||||
* Sat Jul 16 2022 Automatic Build System <autodist@mambasoft.it> 1.0.0.75-1mamba
|
* Sat Jul 16 2022 Automatic Build System <autodist@mambasoft.it> 1.0.0.75-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user