Обновлён steam-launcher

atratsevskiy
Alexander Tratsevskiy 9 years ago
parent 34a0b60b87
commit 4b926f956f

@ -1 +1,2 @@
DIST steam_1.0.0.49.tar.gz 2179436 SHA256 fd893b5c2f5585be1cd8a83f4a6c7d523a2bd985a91587adb5afaccd6fa12fb0 SHA512 52a26bee229dfaf5bb0974340edaa4e07a7a8aa908b6e5187b61933ffbb9848cf6ea4803890334d976126c3a20b91d040a49782163000421beff0e9a036d144a WHIRLPOOL 8350e6f45f74cdfa310b94214ae367006fa824a4509d33ecad9f5f5f852990cb62af7be00c007de1a926172aa2a83b3658de809ab8f23f3496ea537f6c0bf623
DIST steam_1.0.0.50.tar.gz 2729990 SHA256 be6388c0ab36799d6173276ac75b4d92c6623a53d901395c9fc1963cfd245573 SHA512 bf068742d89690b545def7754a5f916256e2ebaaf8dd6ae6f07f154e40fe4bd5216ca02698f8dc9b794b56325c7dc66c435b8b2b6cd30141f814a4902810b531 WHIRLPOOL 7d650bfca5469f2c2118e13693ec403bbda4a9e7bac07b734cfb14a1b98b56df92b9112bf2bc29f05c3f906a01f1d72991dcd036bce4118facd290c88f1edbf1

@ -0,0 +1,30 @@
--- /usr/bin/steam 2015-03-31 21:21:06.000000000 +0200
+++ steam 2015-05-05 13:34:16.462812460 +0200
@@ -31,6 +31,27 @@
fi
fi
+# Finds joystick devices so we can coerce Steam's old SDL library into using them
+function enum_joysticks {
+ local joyprop=ID_INPUT_JOYSTICK=1
+ for f in /dev/input/*; do
+ if [ ! -c $f ]; then
+ continue
+ elif udevadm info --query=property --name=$f | grep --quiet $joyprop; then
+ echo $f
+ fi
+ done
+}
+
+# Uses the first arg as a separator to join the remaining args
+function join {
+ local IFS="$1"
+ shift
+ echo "$*"
+}
+
+export SDL_JOYSTICK_DEVICE=$(join : $(enum_joysticks))
+
function show_message()
{
style=$1

@ -1,4 +1,4 @@
# Copyright 1999-2013 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
@ -31,16 +31,11 @@ RDEPEND="
amd64? (
steamruntime? (
|| (
>=app-emulation/emul-linux-x86-xlibs-20121028[-abi_x86_32(-)]
(
x11-libs/libX11[abi_x86_32]
x11-libs/libXau[abi_x86_32]
x11-libs/libxcb[abi_x86_32]
x11-libs/libXdmcp[abi_x86_32]
)
x11-libs/libX11[abi_x86_32]
x11-libs/libXau[abi_x86_32]
x11-libs/libxcb[abi_x86_32]
x11-libs/libXdmcp[abi_x86_32]
)
)
!steamruntime? ( >=games-util/steam-client-meta-0-r20141204[steamruntime?] )
>=sys-devel/gcc-4.6.0[multilib]
>=sys-libs/glibc-2.15[multilib]
@ -58,6 +53,7 @@ S=${WORKDIR}/steam/
src_prepare() {
epatch "${FILESDIR}"/steam-fix-ld-library-path.patch
epatch "${FILESDIR}"/steam-fix-joystick-detection.patch
if ! use steamruntime; then
# use system libraries if user has not set the variable otherwise and add dirty hack for unbound LD_LIBRARY_PATH if it is not set
@ -65,7 +61,7 @@ src_prepare() {
# use violent force to load the system's SDL library
#sed -i '/export STEAM_RUNTIME=0; fi/a if \[ \"$STEAM_RUNTIME\" == "0" \]; then export LD_PRELOAD="/usr/lib32/libSDL2-2.0.so.0"; fi' steam || die
fi
# dirty workaround to avoid crashing distro detection
sed -i '/(export TEXTDOMAIN=steam)/a export DISTRIB_RELEASE="FixMe"' steam || die

@ -8,7 +8,7 @@
~dev-libs/nss-3.19.2 amd64 x86
~dev-python/sip-4.16.8 amd64 x86
~dev-util/bless-0.6.0 amd64 x86
~games-util/steam-launcher-1.0.0.49 amd64 x86
~games-util/steam-launcher-1.0.0.50 amd64 x86
~mail-client/claws-mail-3.11.1 amd64 x86
~mail-client/thunderbird-38.1.0 amd64 x86
~media-gfx/blender-2.72b amd64 x86

Loading…
Cancel
Save