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

Levente Polyak anthraxx at archlinux.org
Thu Sep 29 23:06:24 UTC 2016


    Date: Thursday, September 29, 2016 @ 23:06:24
  Author: anthraxx
Revision: 191031

upgpkg: steam 1.0.0.52-3 (adding steam-native-runtime support)

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

----------------------+
 PKGBUILD             |   36 +++++++++-------
 steam-native.desktop |  107 +++++++++++++++++++++++++++++++++++++++++++++++++
 steam-native.sh      |    6 ++
 3 files changed, 133 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-09-29 21:13:22 UTC (rev 191030)
+++ PKGBUILD	2016-09-29 23:06:24 UTC (rev 191031)
@@ -4,46 +4,50 @@
 
 pkgname=steam
 pkgver=1.0.0.52
-pkgrel=2
+pkgrel=3
 pkgdesc="Valve's digital software delivery system"
 url='http://steampowered.com/'
 arch=('i686' 'x86_64')
 license=('custom')
-depends=(
-  'bash' 'desktop-file-utils' 'hicolor-icon-theme' 'curl'
-  'dbus' 'freetype2'  'gdk-pixbuf2' 'ttf-font' 'zenity'
+depends=('bash' 'desktop-file-utils' 'hicolor-icon-theme' 'curl' 'dbus' 'freetype2' 'gdk-pixbuf2' 'ttf-font' 'zenity')
+optdepends=('steam-native-runtime: steam native runtime support')
+depends_x86_64=('lib32-libgl' 'lib32-gcc-libs' 'lib32-libx11' 'lib32-libxss')
+optdepends_x86_64=(
+  'lib32-mesa-dri: for open source driver users'
+  'lib32-catalyst-utils: for AMD Catalyst users'
+  'lib32-nvidia-utils: for NVIDIA proprietary blob users'
+  'lib32-alsa-plugins: for pulseaudio on some games'
 )
-if [[ "${CARCH}" == "x86_64" ]]; then
-  depends+=('lib32-libgl' 'lib32-gcc-libs' 'lib32-libx11' 'lib32-libxss')
-  optdepends=(
-    'lib32-mesa-dri: for open source driver users'
-    'lib32-catalyst-utils: for AMD Catalyst users'
-    'lib32-nvidia-utils: for NVIDIA proprietary blob users'
-    'lib32-alsa-plugins: for pulseaudio on some games'
-  )
-fi
 install=steam.install
 source=(http://repo.steampowered.com/${pkgname}/pool/${pkgname}/s/${pkgname}/${pkgname}_${pkgver}.tar.gz
+        steam-native.sh
+        steam-native.desktop
         alsa_sdl_audiodriver.patch
         80-steam-controller-permission.rules)
 sha512sums=('eefff7b2d223305fa8ff8b2419f9806e21784044c2832b42c5583bac4b9391d66444903e2753153842a85eab196418ca47d9b4b3a1daaf839e1eb15edfff891e'
+            'fdf7c26e6b9459b6351485df4ff3fe5e0be17d842eda314a77d6537c9efdcc73ffff734cbf0bbb3f70f7a7fc62d591cc7e08425945a1b9059d84b9c182199f2d'
+            '088db8265e9f35a61c3ff1e26654c1d3d53fe51ca6791f8210db0edc21e8ddc698c4c943895b9682e8d34c93675548d7b6a5bc687f02228e0cc85e267d12df33'
             '5c6117d86cb95071246434851bae3bf7d1c2174b0c8744e33e9c98ccc22efae0c956e1d7e3969c572aa96259b1b8164992d265541bce49a24daa12555d825fd5'
             'f2b45659524a23e97ac271629ae525823f3d613e94f3fb72dfb67a21b7edfda6d07bff623187582c6d0888501e98536d114ccb27d9a7d7065c51fc11f7d8b18f')
 prepare() {
-    patch -d "${pkgname}" -Np1 < "${srcdir}/alsa_sdl_audiodriver.patch"
+  patch -d "${pkgname}" -Np1 < "${srcdir}/alsa_sdl_audiodriver.patch"
 }
 
 package() {
   make -C "${pkgname}" DESTDIR="${pkgdir}" install
 
+  install -Dm 755 "${srcdir}/steam-native.sh" "${pkgdir}/usr/bin/steam-native"
+  install -Dm 644 "${srcdir}/steam-native.desktop" -t "${pkgdir}/usr/share/applications"
+
   install -Dm 644 "${pkgdir}/usr/share/doc/steam/steam_install_agreement.txt" \
-	  "${pkgdir}/usr/share/licenses/steam/LICENSE"
+    "${pkgdir}/usr/share/licenses/steam/LICENSE"
 
   # blank steamdeps because apt-get
   ln -sf /usr/bin/true "${pkgdir}/usr/bin/steamdeps"
 
   install -Dm 644 "${srcdir}/80-steam-controller-permission.rules" \
-	  "${pkgdir}/usr/lib/udev/rules.d/80-steam-controller-permission.rules"
+    "${pkgdir}/usr/lib/udev/rules.d/80-steam-controller-permission.rules"
+
 }
 
 # vim: ts=2 sw=2 et:

Added: steam-native.desktop
===================================================================
--- steam-native.desktop	                        (rev 0)
+++ steam-native.desktop	2016-09-29 23:06:24 UTC (rev 191031)
@@ -0,0 +1,107 @@
+[Desktop Entry]
+Name=Steam (Native)
+Comment=Application for managing and playing games on Steam
+Exec=/usr/bin/steam-native %U
+Icon=steam
+Terminal=false
+Type=Application
+Categories=Network;FileTransfer;Game;
+MimeType=x-scheme-handler/steam;
+Actions=Store;Community;Library;Servers;Screenshots;News;Settings;BigPicture;Friends;
+
+[Desktop Action Store]
+Name=Store
+Name[de]=Shop
+Name[es]=Tienda
+Name[fr]=Magasin
+Name[it]=Negozio
+Name[pt]=Loja
+Name[ru]=Магазин
+Name[zh_CN]=商店
+Name[zh_TW]=商店
+Exec=steam steam://store
+
+[Desktop Action Community]
+Name=Community
+Name[es]=Comunidad
+Name[fr]=Communauté
+Name[it]=Comunità
+Name[pt]=Comunidade
+Name[ru]=Сообщество
+Name[zh_CN]=社区
+Name[zh_TW]=社群
+Exec=steam steam://url/SteamIDControlPage
+
+[Desktop Action Library]
+Name=Library
+Name[de]=Bibliothek
+Name[es]=Biblioteca
+Name[fr]=Bibliothèque
+Name[it]=Libreria
+Name[pt]=Biblioteca
+Name[ru]=Библиотека
+Name[zh_CN]=库
+Name[zh_TW]=遊戲庫
+Exec=steam steam://open/games
+
+[Desktop Action Servers]
+Name=Servers
+Name[de]=Server
+Name[es]=Servidores
+Name[fr]=Serveurs
+Name[it]=Server
+Name[pt]=Servidores
+Name[ru]=Серверы
+Name[zh_CN]=服务器
+Name[zh_TW]=伺服器
+Exec=steam steam://open/servers
+
+[Desktop Action Screenshots]
+Name=Screenshots
+Name[es]=Capturas
+Name[fr]=Captures d'écran
+Name[it]=Screenshot
+Name[ru]=Скриншоты
+Name[zh_CN]=截图
+Name[zh_TW]=螢幕擷圖
+Exec=steam steam://open/screenshots
+
+[Desktop Action News]
+Name=News
+Name[de]=Neuigkeiten
+Name[es]=Noticias
+Name[fr]=Actualités
+Name[it]=Notizie
+Name[pt]=Notícias
+Name[ru]=Новости
+Name[zh_CN]=新闻
+Name[zh_TW]=新聞
+Exec=steam steam://open/news
+
+[Desktop Action Settings]
+Name=Settings
+Name[de]=Einstellungen
+Name[es]=Parámetros
+Name[fr]=Paramètres
+Name[it]=Impostazioni
+Name[pt]=Configurações
+Name[ru]=Настройки
+Name[zh_CN]=设置
+Name[zh_TW]=設定
+Exec=steam steam://open/settings
+
+[Desktop Action BigPicture]
+Name=Big Picture
+Exec=steam steam://open/bigpicture
+
+[Desktop Action Friends]
+Name=Friends
+Name[de]=Freunde
+Name[es]=Amigos
+Name[fr]=Amis
+Name[it]=Amici
+Name[pt]=Amigos
+Name[ru]=Друзья
+Name[zh_CN]=好友
+Name[zh_TW]=好友
+Exec=steam steam://open/friends

Added: steam-native.sh
===================================================================
--- steam-native.sh	                        (rev 0)
+++ steam-native.sh	2016-09-29 23:06:24 UTC (rev 191031)
@@ -0,0 +1,6 @@
+#!/bin/sh
+export STEAM_RUNTIME=0
+# Workaround for dbus fatal termination related coredumps (SIGABRT)
+# https://github.com/ValveSoftware/steam-for-linux/issues/4464
+export DBUS_FATAL_WARNINGS=0
+exec /usr/bin/steam $*



More information about the arch-commits mailing list