From 34b241368cd2ecc778fd90071df2a83e7d35cd0b Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 12 Feb 2023 19:14:00 +0000 Subject: app-emulation/steam : adjust PRELOAD && update md5-cache --- app-emulation/steam/files/redcore-steam | 2 +- app-emulation/steam/steam-1.0.0.71-r1.ebuild | 65 ---------------------------- app-emulation/steam/steam-1.0.0.71-r2.ebuild | 65 ++++++++++++++++++++++++++++ 3 files changed, 66 insertions(+), 66 deletions(-) delete mode 100644 app-emulation/steam/steam-1.0.0.71-r1.ebuild create mode 100644 app-emulation/steam/steam-1.0.0.71-r2.ebuild (limited to 'app-emulation/steam') diff --git a/app-emulation/steam/files/redcore-steam b/app-emulation/steam/files/redcore-steam index 9b899f3e..05ae70a7 100644 --- a/app-emulation/steam/files/redcore-steam +++ b/app-emulation/steam/files/redcore-steam @@ -21,7 +21,7 @@ do_remove () { do_preload () { einfo "Preloading system libraries (libstdc++, libgcc_s)" - export LD_PRELOAD='/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/32/libstdc++.so.6 /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/32/libgcc_s.so.1 /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/libgcc_s.so.1 /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/32/libstdc++.so.6' + export LD_PRELOAD='/usr/lib/gcc/x86_64-pc-linux-gnu/12/32/libstdc++.so.6 /usr/lib/gcc/x86_64-pc-linux-gnu/12/32/libgcc_s.so.1 /usr/lib/gcc/x86_64-pc-linux-gnu/12/libgcc_s.so.1 /usr/lib/gcc/x86_64-pc-linux-gnu/12/32/libstdc++.so.6' } launch_steam () { diff --git a/app-emulation/steam/steam-1.0.0.71-r1.ebuild b/app-emulation/steam/steam-1.0.0.71-r1.ebuild deleted file mode 100644 index d8c5bce6..00000000 --- a/app-emulation/steam/steam-1.0.0.71-r1.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - - -EAPI=6 - -inherit eutils - -DESCRIPTION="Digital distribution client bootstrap package" -HOMEPAGE="http://steampowered.com/" -SRC_URI="http://repo.steampowered.com/"${PN}"/pool/"${PN}"/s/"${PN}"/"${PN}"_"${PV}".tar.gz" - -LICENSE="custom" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - dev-util/desktop-file-utils - gnome-extra/zenity - media-libs/alsa-lib[abi_x86_32(-)] - media-libs/freetype[abi_x86_32(-)] - media-libs/mesa[abi_x86_32(-)] - net-misc/curl[abi_x86_32(-)] - sys-apps/dbus[abi_x86_32(-),X] - sys-apps/gentoo-functions - virtual/ttf-fonts - x11-libs/gdk-pixbuf[abi_x86_32(-)] - x11-libs/libX11[abi_x86_32(-)] - x11-libs/libxcb[abi_x86_32(-)] - x11-themes/hicolor-icon-theme" - -S="${WORKDIR}"/"${PN}-launcher" - -PATCHES=( "${FILESDIR}/redcore-${PN}.patch" ) - -src_prepare() { - default - sed -r 's|("0666")|"0660", TAG+="uaccess"|g' -i subprojects/steam-devices/60-steam-input.rules - sed -r 's|("misc")|\1, OPTIONS+="static_node=uinput"|g' -i subprojects/steam-devices/60-steam-input.rules - sed -r 's|(, TAG\+="uaccess")|, MODE="0660"\1|g' -i subprojects/steam-devices/60-steam-vr.rules - - sed -i 's|PrefersNonDefaultGPU=true||g' ${PN}.desktop - sed -i 's|X-KDE-RunOnDiscreteGpu=true||g' ${PN}.desktop -} - -src_install() { - # make install - emake DESTDIR="${D}" install - - # inject our wrapper binary - dobin "${FILESDIR}"/redcore-steam - - # blank steamdeps because apt-get - rm -rf "${D}"/usr/bin/steamdeps - dosym /bin/true /usr/bin/steamdeps - - # docs - rm -rf "${D}"/usr/share/doc/"${PN}" - dodoc steam_subscriber_agreement.txt - - # udev rules - insinto usr/lib/udev/rules.d - newins subprojects/steam-devices/60-steam-input.rules 70-steam-input.rules - newins subprojects/steam-devices/60-steam-vr.rules 70-steam-vr.rules -} diff --git a/app-emulation/steam/steam-1.0.0.71-r2.ebuild b/app-emulation/steam/steam-1.0.0.71-r2.ebuild new file mode 100644 index 00000000..d8c5bce6 --- /dev/null +++ b/app-emulation/steam/steam-1.0.0.71-r2.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + + +EAPI=6 + +inherit eutils + +DESCRIPTION="Digital distribution client bootstrap package" +HOMEPAGE="http://steampowered.com/" +SRC_URI="http://repo.steampowered.com/"${PN}"/pool/"${PN}"/s/"${PN}"/"${PN}"_"${PV}".tar.gz" + +LICENSE="custom" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-util/desktop-file-utils + gnome-extra/zenity + media-libs/alsa-lib[abi_x86_32(-)] + media-libs/freetype[abi_x86_32(-)] + media-libs/mesa[abi_x86_32(-)] + net-misc/curl[abi_x86_32(-)] + sys-apps/dbus[abi_x86_32(-),X] + sys-apps/gentoo-functions + virtual/ttf-fonts + x11-libs/gdk-pixbuf[abi_x86_32(-)] + x11-libs/libX11[abi_x86_32(-)] + x11-libs/libxcb[abi_x86_32(-)] + x11-themes/hicolor-icon-theme" + +S="${WORKDIR}"/"${PN}-launcher" + +PATCHES=( "${FILESDIR}/redcore-${PN}.patch" ) + +src_prepare() { + default + sed -r 's|("0666")|"0660", TAG+="uaccess"|g' -i subprojects/steam-devices/60-steam-input.rules + sed -r 's|("misc")|\1, OPTIONS+="static_node=uinput"|g' -i subprojects/steam-devices/60-steam-input.rules + sed -r 's|(, TAG\+="uaccess")|, MODE="0660"\1|g' -i subprojects/steam-devices/60-steam-vr.rules + + sed -i 's|PrefersNonDefaultGPU=true||g' ${PN}.desktop + sed -i 's|X-KDE-RunOnDiscreteGpu=true||g' ${PN}.desktop +} + +src_install() { + # make install + emake DESTDIR="${D}" install + + # inject our wrapper binary + dobin "${FILESDIR}"/redcore-steam + + # blank steamdeps because apt-get + rm -rf "${D}"/usr/bin/steamdeps + dosym /bin/true /usr/bin/steamdeps + + # docs + rm -rf "${D}"/usr/share/doc/"${PN}" + dodoc steam_subscriber_agreement.txt + + # udev rules + insinto usr/lib/udev/rules.d + newins subprojects/steam-devices/60-steam-input.rules 70-steam-input.rules + newins subprojects/steam-devices/60-steam-vr.rules 70-steam-vr.rules +} -- cgit v1.2.3