diff --git a/steam/.footprint b/steam/.footprint index e4f9e6ba4..bbed4f922 100644 --- a/steam/.footprint +++ b/steam/.footprint @@ -1,12 +1,14 @@ drwxr-xr-x root/root usr/ drwxr-xr-x root/root usr/bin/ -rwxr-xr-x root/root usr/bin/steam +-rwxr-xr-x root/root usr/bin/steam-native lrwxrwxrwx root/root usr/bin/steamdeps -> /bin/true drwxr-xr-x root/root usr/lib32/ drwxr-xr-x root/root usr/lib32/steam/ -rw-r--r-- root/root usr/lib32/steam/bootstraplinux_ubuntu12_32.tar.xz drwxr-xr-x root/root usr/share/ drwxr-xr-x root/root usr/share/applications/ +-rw-r--r-- root/root usr/share/applications/steam-native.desktop -rw-r--r-- root/root usr/share/applications/steam.desktop drwxr-xr-x root/root usr/share/icons/ drwxr-xr-x root/root usr/share/icons/hicolor/ diff --git a/steam/.md5sum b/steam/.md5sum index edca977a7..805f458ce 100644 --- a/steam/.md5sum +++ b/steam/.md5sum @@ -1,2 +1,4 @@ ac0e03d70f1101331598b2b32ed9bac3 alsa_sdl_audiodriver.patch -18fe1e009d229ec2eb28e4e7fa87ebc8 steam_1.0.0.52.tar.gz +389e2b73c412250c6e9f19dcadad1bc3 steam-native.desktop +0b7196d5a5419a3d296716241378b79e steam-native.sh +2c1ff88d15d64c3997551a9874b7b830 steam_1.0.0.53.tar.gz diff --git a/steam/Pkgfile b/steam/Pkgfile index 44fe618f6..8a6161332 100644 --- a/steam/Pkgfile +++ b/steam/Pkgfile @@ -6,22 +6,29 @@ # Optional: pulseaudio-32 name=steam -version=1.0.0.52 +version=1.0.0.53 release=1 source=(http://repo.steampowered.com/$name/pool/$name/s/$name/${name}_$version.tar.gz + steam-native.sh + steam-native.desktop alsa_sdl_audiodriver.patch) build() { cd $name patch -p1 -i $SRC/alsa_sdl_audiodriver.patch + + install -m 0755 -D $SRC/steam-native.sh \ + $PKG/usr/bin/steam-native + + install -m 0644 -D $SRC/steam-native.desktop \ + -t $PKG/usr/share/applications make DESTDIR=$PKG install # blank steamdeps because apt-get ln -sf /bin/true $PKG/usr/bin/steamdeps - mv $PKG/usr/lib $PKG/usr/lib32 sed \ diff --git a/steam/steam-native.desktop b/steam/steam-native.desktop new file mode 100644 index 000000000..3668eddb3 --- /dev/null +++ b/steam/steam-native.desktop @@ -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 diff --git a/steam/steam-native.sh b/steam/steam-native.sh new file mode 100644 index 000000000..2283eeee4 --- /dev/null +++ b/steam/steam-native.sh @@ -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 "$@"