[arch-commits] Commit in steam-native-runtime/trunk (PKGBUILD steam-native.sh)

Levente Polyak anthraxx at archlinux.org
Wed Aug 21 22:18:33 UTC 2019


    Date: Wednesday, August 21, 2019 @ 22:18:32
  Author: anthraxx
Revision: 500448

upgpkg: steam-native-runtime 1.0.0.61-1 use STEAM_RUNTIME_HEAVY

Fixes FS#62095 by using the new flag to set runtime_heavy

Added:
  steam-native-runtime/trunk/steam-native.sh
Modified:
  steam-native-runtime/trunk/PKGBUILD

-----------------+
 PKGBUILD        |   28 +++++++++++++++++++---------
 steam-native.sh |    9 +++++++++
 2 files changed, 28 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-21 22:13:39 UTC (rev 500447)
+++ PKGBUILD	2019-08-21 22:18:32 UTC (rev 500448)
@@ -1,16 +1,16 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
 # Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
 
 pkgname=steam-native-runtime
-pkgver=1.0.0.56
-pkgrel=3
-pkgdesc='Native replacement for the Steam runtime'
+pkgver=1.0.0.61
+pkgrel=1
+pkgdesc='Native replacement for the Steam runtime using system libraries'
 arch=('x86_64')
 url='https://wiki.archlinux.org/index.php/Steam/Troubleshooting#Native_runtime'
 license=('None')
 replaces=('steam-libs')
 depends=(
-  'alsa-lib' 'alsa-plugins' 'atk' 'cairo' 'curl' 'dbus-glib' 'fontconfig'
+  'bash' 'steam' 'alsa-lib' 'alsa-plugins' 'atk' 'cairo' 'curl' 'dbus-glib' 'fontconfig'
   'freetype2' 'freeglut' 'gdk-pixbuf2' 'glew1.10' 'glib2' 'glu' 'gtk2'
   'lib32-alsa-lib' 'lib32-alsa-plugins' 'lib32-atk' 'lib32-cairo' 'lib32-curl'
   'lib32-dbus-glib' 'lib32-fontconfig' 'lib32-freetype2' 'lib32-freeglut'
@@ -24,21 +24,32 @@
   'lib32-libvorbis' 'lib32-libvpx1.3' 'lib32-libwrap' 'lib32-libxcomposite'
   'lib32-libxcursor' 'lib32-libxft' 'lib32-libxi' 'lib32-libxinerama'
   'lib32-libxmu' 'lib32-libxrandr' 'lib32-libxrender' 'lib32-libxtst'
-  'lib32-libxxf86vm' 'lib32-nspr' 'lib32-nss' 'lib32-openal'
+  'lib32-libxxf86vm' 'lib32-nspr' 'lib32-openal'
   'lib32-openssl-1.0' 'lib32-pango' 'lib32-sdl' 'lib32-sdl2' 'lib32-sdl2_image'
   'lib32-sdl2_mixer' 'lib32-sdl2_ttf' 'lib32-sdl_image' 'lib32-sdl_mixer'
-  'lib32-sdl_ttf' 'libappindicator-gtk2' 'libcaca' 'libcanberra' 'libcups'
+  'lib32-sdl_ttf' 'libcaca' 'libcanberra' 'libcups'
   'libcurl-compat' 'libcurl-gnutls' 'dbus' 'libdrm' 'libgcrypt15' 'libice'
   'libidn11' 'libjpeg6' 'libnm-glib' 'libpng12' 'libpulse' 'librsvg' 'librtmp0'
   'libsm' 'libtheora' 'libtiff4' 'libudev0-shim' 'libusb' 'libva1' 'libvdpau'
   'libvorbis' 'libvpx1.3' 'libwrap' 'libxcomposite' 'libxcursor' 'libxft'
   'libxi' 'libxinerama' 'libxmu' 'libxrandr' 'libxrender' 'libxtst'
-  'libxxf86vm' 'nspr' 'nss' 'openal' 'openssl-1.0' 'pango' 'sdl' 'sdl2'
+  'libxxf86vm' 'nspr' 'openal' 'openssl-1.0' 'pango' 'sdl' 'sdl2'
   'sdl2_image' 'sdl2_mixer' 'sdl2_ttf' 'sdl_image' 'sdl_mixer' 'sdl_ttf'
   'vulkan-icd-loader'
 )
+source=(steam-native.sh)
+sha512sums=('03e969de86a69b0d9d86508a0a0cdd13be7c0c63076f6bc77c3685839a6784e8041528f5a1e9bfcb51d27c6c9994fab591c7d70fc44cc4673a1384781433041b')
 
+prepare() {
+  cp /usr/share/applications/steam.desktop steam-native.desktop
+  sed -r 's|(Name=Steam) \(Runtime\)|\1 (Native)|' -i steam-native.desktop
+  sed -r 's|(/usr/bin/steam)-runtime|\1-native|' -i steam-native.desktop
+}
+
 package() {
+  install -Dm 644 steam-native.desktop -t "${pkgdir}/usr/share/applications"
+  install -Dm 755 steam-native.sh "${pkgdir}/usr/bin/steam-native"
+
   install -d "${pkgdir}/usr/lib/steam"
   ln -sf /usr/lib/libcurl.so.3 "${pkgdir}/usr/lib/steam/libcurl.so.3"
   ln -sf /usr/lib/libcurl.so.4.2.0 "${pkgdir}/usr/lib/steam/libcurl.so.4"
@@ -52,4 +63,3 @@
 }
 
 # vim: ts=2 sw=2 et:
-

Added: steam-native.sh
===================================================================
--- steam-native.sh	                        (rev 0)
+++ steam-native.sh	2019-08-21 22:18:32 UTC (rev 500448)
@@ -0,0 +1,9 @@
+#!/bin/bash
+export STEAM_RUNTIME=0
+export STEAM_RUNTIME_HEAVY=0
+# Workaround for dbus fatal termination related coredumps (SIGABRT)
+# https://github.com/ValveSoftware/steam-for-linux/issues/4464
+export DBUS_FATAL_WARNINGS=0
+# Override some libraries as these are what games linked against.
+export LD_LIBRARY_PATH="/usr/lib/steam:/usr/lib32/steam${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH"
+exec /usr/lib/steam/steam "$@"


Property changes on: steam-native-runtime/trunk/steam-native.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property



More information about the arch-commits mailing list