steam: update LD_PRELOAD and reduce depends

This commit is contained in:
Samir Benmendil 2016-12-25 23:58:56 +00:00
parent 085aac8a9e
commit 61db07874c
2 changed files with 6 additions and 8 deletions

View File

@ -1,15 +1,13 @@
pkgname=steam
pkgver=1.0.0.54
pkgrel=2
pkgrel=3
pkgdesc="Digital distribution client bootstrap package"
arch=('x86_64')
url="http://steampowered.com/"
license=('custom')
depends=('bash' 'desktop-file-utils' 'hicolor-icon-theme' 'curl'
'dbus' 'freetype2' 'gdk-pixbuf2' 'ttf-liberation' 'python3'
'lib32-sdl' 'lib32-libvorbis' 'lib32-alsa-lib' 'lib32-libgl'
'lib32-libgcrypt' 'lib32-nss' 'lib32-openal' 'lib32-gcc-libs'
'lib32-libx11' 'lib32-libxss' 'lib32-libxshmfence' 'zenity')
depends=('bash' 'desktop-file-utils' 'hicolor-icon-theme' 'curl' 'dbus'
'freetype2' 'gdk-pixbuf2' 'ttf-liberation' 'python3' 'zenity'
'lib32-libgl' 'lib32-gcc-libs' 'lib32-libx11' 'lib32-libxss' 'lib32-alsa-plugins')
optdepends=('lib32-flashplugin: for flash video'
'freshplayerplugin: alternative flash video support'
'lib32-alsa-plugins: for pulseaudio on some games'
@ -23,7 +21,7 @@ source=("http://repo.steampowered.com/$pkgname/pool/$pkgname/s/$pkgname/${pkgnam
'steam-runtime.sh')
sha256sums=('42531bf2615afed54c333ae9afeebe8cb68a31304ddfcf90e61b3532a5597386'
'174a110eda1c9d5b1c92a4490b266b31918559bbf8292a94905221c92da4bc0e'
'ab6535e17882fcfc59d6712f76f760ef49600f0ef60c2c199b5698aed8b3043e')
'3e41154cd071198bc8662d29295be0da1a1d2f7d4ff1df834e2b13289af6d3e3')
prepare() {

View File

@ -1,5 +1,5 @@
#!/usr/bin/env bash
# see https://chakraos.org/wiki/index.php?title=Steam#Missing_Direct_Rendering
export LD_PRELOAD="/usr/lib/libstdc++.so.6 /usr/lib32/libstdc++.so.6 /usr/lib/libgcc_s.so.1 /usr/lib32/libgcc_s.so.1"
export LD_PRELOAD='/usr/$LIB/libstdc++.so.6 /usr/$LIB/libgcc_s.so.1 /usr/$LIB/libxcb.so.1 /usr/$LIB/libgpg-error.so'
exec /usr/lib/steam/steam "$@"