summaryrefslogtreecommitdiff
path: root/app-emulation/steam
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-08-05 01:20:57 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-08-05 01:20:57 +0100
commitab25d73a3c73b68087af1fd47fdba69541701f10 (patch)
tree6282582f84c0c91da52293cc994b87e4e24db144 /app-emulation/steam
parentc5c0dbbfb1f391b057ca79bd560f1ede2d83e18b (diff)
app-emulation/steam{,-native-runtime} : version bump
Diffstat (limited to 'app-emulation/steam')
-rw-r--r--app-emulation/steam/Manifest2
-rw-r--r--app-emulation/steam/files/redcore-steam2
-rw-r--r--app-emulation/steam/steam-1.0.0.71.ebuild (renamed from app-emulation/steam/steam-1.0.0.61-r2.ebuild)17
3 files changed, 12 insertions, 9 deletions
diff --git a/app-emulation/steam/Manifest b/app-emulation/steam/Manifest
index dcfbea53..2a009356 100644
--- a/app-emulation/steam/Manifest
+++ b/app-emulation/steam/Manifest
@@ -1 +1 @@
-DIST steam_1.0.0.61.tar.gz 2875970 BLAKE2B e17d0afab1fe01919679535bc8d0f1dee5c6626562026ce2a82d47626424740a847576f17bd69b111a0c0ace7d1a63f857943b6dc74091fbcf18b1462e91298e SHA512 14b4e2d10953dea7e062205f986d95ea46f0791a964c0dcfac905b707da55b25142cb2bc056c5488e0309f7ef4521b44f1540ce14617deb5f1df57a8fd1f723e
+DIST steam_1.0.0.71.tar.gz 3432069 BLAKE2B 10cea5d3f31cd55401d68831f95a593e62a41b274cfd6e1da10585249a43e7e21f8d281e9df2b3407ceccbbec401be5d75a9951c5787cef49686acc8431e14a0 SHA512 20205ccd14dd1b48b85a3288cdce39116a601260e70b9d5811cb1786be766f235153d199e64dd4e794553c5957ce41e9b671cf044f2bdddbb0f99f0c1e08b83e
diff --git a/app-emulation/steam/files/redcore-steam b/app-emulation/steam/files/redcore-steam
index 95e15792..7f5469fa 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/lib64/gcc/x86_64-pc-linux-gnu/10.3.0/32/libstdc++.so.6 /usr/lib64/gcc/x86_64-pc-linux-gnu/10.3.0/32/libgcc_s.so.1 /usr/lib64/gcc/x86_64-pc-linux-gnu/10.3.0/libgcc_s.so.1 /usr/lib64/gcc/x86_64-pc-linux-gnu/10.3.0/32/libstdc++.so.6'
+ export LD_PRELOAD='/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/32/libstdc++.so.6 /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/32/libgcc_s.so.1 /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/libgcc_s.so.1 /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/32/libstdc++.so.6'
}
launch_steam () {
diff --git a/app-emulation/steam/steam-1.0.0.61-r2.ebuild b/app-emulation/steam/steam-1.0.0.71.ebuild
index 2b8eabd3..0c4a7c8e 100644
--- a/app-emulation/steam/steam-1.0.0.61-r2.ebuild
+++ b/app-emulation/steam/steam-1.0.0.71.ebuild
@@ -29,15 +29,18 @@ RDEPEND="
x11-libs/libxcb[abi_x86_32(-)]
x11-themes/hicolor-icon-theme"
-S="${WORKDIR}"/"${PN}"
+S="${WORKDIR}"/"${PN}-launcher"
PATCHES=( "${FILESDIR}/redcore-${PN}.patch" )
src_prepare() {
default
- sed -r 's|("0666")|"0660", TAG+="uaccess"|g' -i lib/udev/rules.d/60-steam-input.rules
- sed -r 's|("misc")|\1, OPTIONS+="static_node=uinput"|g' -i lib/udev/rules.d/60-steam-input.rules
- sed -r 's|(, TAG\+="uaccess")|, MODE="0660"\1|g' -i lib/udev/rules.d/60-steam-vr.rules
+ 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() {
@@ -45,7 +48,7 @@ src_install() {
emake DESTDIR="${D}" install
# inject our wrapper binary
- dobin "${FILESDIR}"/redcore-steam
+ #dobin "${FILESDIR}"/redcore-steam
# blank steamdeps because apt-get
rm -rf "${D}"/usr/bin/steamdeps
@@ -57,6 +60,6 @@ src_install() {
# udev rules
insinto usr/lib/udev/rules.d
- newins lib/udev/rules.d/60-steam-input.rules 70-steam-input.rules
- newins lib/udev/rules.d/60-steam-vr.rules 70-steam-vr.rules
+ newins subprojects/steam-devices/60-steam-input.rules 70-steam-input.rules
+ newins subprojects/steam-devices/60-steam-vr.rules 70-steam-vr.rules
}