diff options
author | Eric Hameleers <alien@slackware.com> | 2015-12-18 23:29:25 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2015-12-18 23:29:25 +0000 |
commit | 7904c47dd3dc29f9374697f8c0e104a1bb9e6613 (patch) | |
tree | 4348e3a63fb48c24c46e61452575d3fef3831be7 /steamclient/build | |
parent | 8eff6631841707471b1eeeca1a56c40ea8fb5465 (diff) | |
download | asb-7904c47dd3dc29f9374697f8c0e104a1bb9e6613.tar.gz asb-7904c47dd3dc29f9374697f8c0e104a1bb9e6613.tar.xz |
steamclient: use LD_PRELOAD to favor the system ALSA library.
Diffstat (limited to 'steamclient/build')
-rwxr-xr-x | steamclient/build/steamclient.SlackBuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/steamclient/build/steamclient.SlackBuild b/steamclient/build/steamclient.SlackBuild index 3821cd7d..54602abf 100755 --- a/steamclient/build/steamclient.SlackBuild +++ b/steamclient/build/steamclient.SlackBuild @@ -75,6 +75,9 @@ # - Add uinput rule for the Steam Controller. # - Remove udev rule for the Oculus Rift VR headset. # - Add udev rule for HTC Vive VR headset. +# 1.0.0.51-2: 19/dec/2015 by Eric Hameleers <alien@slackware.com> +# - use LD_PRELOAD to favor the system ALSA library - this fixes +# a steam-runtime conflict. Thanks to Ryan McQuen. # # Run 'sh steamclient.SlackBuild' to build a Slackware package. # The package (.tgz) and .txt file as well as build logs are created in /tmp . @@ -85,7 +88,7 @@ PRGNAM=steamclient VERSION=${VERSION:-1.0.0.51} # Use "LATEST" to just dowload the latest version. ARCH=i386 -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-alien} # Where do we look for sources? @@ -231,6 +234,7 @@ cd ${PKG} sed -i -e '/env bash/ a\ # --- Start Slackware mod ---\ export LD_LIBRARY_PATH=/usr/lib/seamonkey\ +export LD_PRELOAD='"'"'/usr/$LIB/libasound.so.2'"'"'\ # Audio output goes to first "hw" device of ALSA\ export SDL_AUDIODRIVER=alsa\ #export AUDIODEV=hw\ |