steam: only preload lib{ssl,crypto} if nvidia is not installed.
This is the only workaround that I've found so far to make this work with mesa and nvidia.
This commit is contained in:
parent
3fd67a49ef
commit
6f8675fbe2
16
srcpkgs/steam/patches/void.patch
Normal file
16
srcpkgs/steam/patches/void.patch
Normal file
@ -0,0 +1,16 @@
|
||||
--- steam.orig 2016-02-16 08:28:31.191216344 +0100
|
||||
+++ steam 2016-02-16 08:30:59.849711436 +0100
|
||||
@@ -183,6 +183,13 @@ if ! check_bootstrap "$LAUNCHSTEAMDIR";
|
||||
exit 1
|
||||
fi
|
||||
|
||||
+# --*-- void --*--
|
||||
+if ! xbps-uhelper version nvidia &>/dev/null; then
|
||||
+ STEAM_RUNTIME=${DEFAULTSTEAMDIR}/ubuntu12_32/steam-runtime
|
||||
+ export LD_PRELOAD="$STEAM_RUNTIME/i386/lib/i386-linux-gnu/libcrypto.so.1.0.0:$STEAM_RUNTIME/i386/lib/i386-linux-gnu/libssl.so.1.0.0"
|
||||
+fi
|
||||
+# --*-- void --*--
|
||||
+
|
||||
# go to the install directory and run the client
|
||||
cp "$LAUNCHSTEAMBOOTSTRAPFILE" "$LAUNCHSTEAMDIR/bootstrap.tar.xz"
|
||||
cd "$LAUNCHSTEAMDIR"
|
@ -4,7 +4,7 @@ only_for_archs="i686 x86_64"
|
||||
|
||||
pkgname=steam
|
||||
version=1.0.0.51
|
||||
revision=4
|
||||
revision=5
|
||||
wrksrc=steam
|
||||
depends="zenity xterm xz curl dbus freetype gdk-pixbuf hicolor-icon-theme desktop-file-utils liberation-fonts-ttf"
|
||||
repository="nonfree"
|
||||
|
Loading…
x
Reference in New Issue
Block a user