summaryrefslogtreecommitdiff
path: root/app-emulation
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-01-06 00:03:00 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-01-06 00:03:00 +0000
commit5e7eca5594bdb7c3dbade3f8c6c78c2b6d7ee05b (patch)
tree4cff25df6ad4c4be083350c6aaed5114e1811a26 /app-emulation
parentd5499544c8ec56e707bfe81c64e2b71f0bd77512 (diff)
app-emulation/steam : version bump
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/steam/Manifest2
-rwxr-xr-xapp-emulation/steam/files/redcore-steam9
-rw-r--r--app-emulation/steam/files/redcore-steam.patch76
-rw-r--r--app-emulation/steam/steam-1.0.0.61.ebuild (renamed from app-emulation/steam/steam-1.0.0.45-r5.ebuild)27
4 files changed, 62 insertions, 52 deletions
diff --git a/app-emulation/steam/Manifest b/app-emulation/steam/Manifest
index 4caeef42..dcfbea53 100644
--- a/app-emulation/steam/Manifest
+++ b/app-emulation/steam/Manifest
@@ -1 +1 @@
-DIST steam_1.0.0.45.tar.gz 2340210 BLAKE2B 7d4d0aead900ec088cdd13d7519b5df9437e074156120cc349e11744d865541ca4af7dd8a12dffcf53cab5a0a52f02684082b89e9343b02288322de415f4ece7 SHA512 a36a769478145d4e85ac051d2d3b8f27783462c9dc5f3ce6e2a8a3acbe7f92b11f026623c968c3b561142dd14cf607c179bbd4cea148f546db5208ee38a4e763
+DIST steam_1.0.0.61.tar.gz 2875970 BLAKE2B e17d0afab1fe01919679535bc8d0f1dee5c6626562026ce2a82d47626424740a847576f17bd69b111a0c0ace7d1a63f857943b6dc74091fbcf18b1462e91298e SHA512 14b4e2d10953dea7e062205f986d95ea46f0791a964c0dcfac905b707da55b25142cb2bc056c5488e0309f7ef4521b44f1540ce14617deb5f1df57a8fd1f723e
diff --git a/app-emulation/steam/files/redcore-steam b/app-emulation/steam/files/redcore-steam
index 6f1412b5..e11ba683 100755
--- a/app-emulation/steam/files/redcore-steam
+++ b/app-emulation/steam/files/redcore-steam
@@ -24,18 +24,9 @@ do_preload () {
export LD_PRELOAD='/usr/lib64/gcc/x86_64-pc-linux-gnu/8.2.0/32/libstdc++.so.6 /usr/lib64/gcc/x86_64-pc-linux-gnu/8.2.0/32/libgcc_s.so.1 /usr/lib64/gcc/x86_64-pc-linux-gnu/8.2.0/libgcc_s.so.1 /usr/lib64/gcc/x86_64-pc-linux-gnu/8.2.0/32/libstdc++.so.6'
}
-do_nvidia () {
- if [[ "$(lsmod|grep nvidia)" ]] ; then
- einfo "Preloading nvidia libraries"
- export LD_LIBRARY_PATH='$LD_LIBRARY_PATH:/usr/lib32/opengl/nvidia/lib:/usr/lib64/opengl/nvidia/lib'
- export __GLVND_DISALLOW_PATCHING=1
- fi
-}
-
launch_steam () {
do_remove
do_preload
- do_nvidia
export DISPLAY=:0
steam
}
diff --git a/app-emulation/steam/files/redcore-steam.patch b/app-emulation/steam/files/redcore-steam.patch
index a8134b20..7d74ebfc 100644
--- a/app-emulation/steam/files/redcore-steam.patch
+++ b/app-emulation/steam/files/redcore-steam.patch
@@ -1,73 +1,73 @@
diff -Nur a/steam.desktop b/steam.desktop
---- a/steam.desktop 2013-03-01 23:29:41.000000000 +0000
-+++ b/steam.desktop 2016-04-10 13:07:27.191010332 +0100
-@@ -1,7 +1,7 @@
- [Desktop Entry]
- Name=Steam
- Comment=Application for managing and playing games on Steam
+--- a/steam.desktop 2018-09-27 19:20:20.000000000 +0100
++++ b/steam.desktop 2020-01-06 00:00:32.785536584 +0000
+@@ -27,7 +27,7 @@
+ Comment[tr]=Steam üzerinden oyun oynama ve düzenleme uygulaması
+ Comment[uk]=Програма для керування іграми та запуску ігор у Steam
+ Comment[vi]=Ứng dụng để quản lý và chơi trò chơi trên Steam
-Exec=/usr/bin/steam %U
+Exec=/usr/bin/redcore-steam %U
Icon=steam
Terminal=false
Type=Application
-@@ -19,7 +19,7 @@
- Name[ru]=Магазин
- Name[zh_CN]=商店
- Name[zh_TW]=商店
+@@ -63,7 +63,7 @@
+ Name[tr]=Mağaza
+ Name[uk]=Крамниця
+ Name[vi]=Cửa hàng
-Exec=steam steam://store
+Exec=redcore-steam steam://store
[Desktop Action Community]
Name=Community
-@@ -30,7 +30,7 @@
- Name[ru]=Сообщество
- Name[zh_CN]=社区
- Name[zh_TW]=社群
+@@ -93,7 +93,7 @@
+ Name[tr]=Topluluk
+ Name[uk]=Спільнота
+ Name[vi]=Cộng đồng
-Exec=steam steam://url/SteamIDControlPage
+Exec=redcore-steam steam://url/SteamIDControlPage
[Desktop Action Library]
Name=Library
-@@ -42,7 +42,7 @@
- Name[ru]=Библиотека
- Name[zh_CN]=库
- Name[zh_TW]=遊戲庫
+@@ -123,7 +123,7 @@
+ Name[tr]=Kütüphane
+ Name[uk]=Бібліотека
+ Name[vi]=Thư viện
-Exec=steam steam://open/games
+Exec=redcore-steam steam://open/games
[Desktop Action Servers]
Name=Servers
-@@ -54,7 +54,7 @@
- Name[ru]=Серверы
- Name[zh_CN]=服务器
- Name[zh_TW]=伺服器
+@@ -153,7 +153,7 @@
+ Name[tr]=Sunucular
+ Name[uk]=Сервери
+ Name[vi]=Máy chủ
-Exec=steam steam://open/servers
+Exec=redcore-steam steam://open/servers
[Desktop Action Screenshots]
Name=Screenshots
-@@ -64,7 +64,7 @@
- Name[ru]=Скриншоты
- Name[zh_CN]=截图
- Name[zh_TW]=螢幕擷圖
+@@ -183,7 +183,7 @@
+ Name[tr]=Ekran Görüntüleri
+ Name[uk]=Скріншоти
+ Name[vi]=Ảnh chụp
-Exec=steam steam://open/screenshots
+Exec=redcore-steam steam://open/screenshots
[Desktop Action News]
Name=News
-@@ -76,7 +76,7 @@
- Name[ru]=Новости
- Name[zh_CN]=新闻
- Name[zh_TW]=新聞
+@@ -213,7 +213,7 @@
+ Name[tr]=Haberler
+ Name[uk]=Новини
+ Name[vi]=Tin tức
-Exec=steam steam://open/news
+Exec=redcore-steam steam://open/news
[Desktop Action Settings]
Name=Settings
-@@ -88,11 +88,11 @@
- Name[ru]=Настройки
- Name[zh_CN]=设置
- Name[zh_TW]=設定
+@@ -243,11 +243,11 @@
+ Name[tr]=Ayarlar
+ Name[uk]=Налаштування
+ Name[vi]=Thiết lập
-Exec=steam steam://open/settings
+Exec=redcore-steam steam://open/settings
@@ -78,9 +78,9 @@ diff -Nur a/steam.desktop b/steam.desktop
[Desktop Action Friends]
Name=Friends
-@@ -104,4 +104,4 @@
- Name[ru]=Друзья
- Name[zh_CN]=好友
- Name[zh_TW]=好友
+@@ -277,4 +277,4 @@
+ Name[tr]=Arkadaşlar
+ Name[uk]=Друзі
+ Name[vi]=Bạn bè
-Exec=steam steam://open/friends
+Exec=redcore-steam steam://open/friends
diff --git a/app-emulation/steam/steam-1.0.0.45-r5.ebuild b/app-emulation/steam/steam-1.0.0.61.ebuild
index adc1d592..5179c792 100644
--- a/app-emulation/steam/steam-1.0.0.45-r5.ebuild
+++ b/app-emulation/steam/steam-1.0.0.61.ebuild
@@ -8,11 +8,11 @@ inherit eutils
DESCRIPTION="Digital distribution client bootstrap package"
HOMEPAGE="http://steampowered.com/"
-SRC_URI="http://repo.steampowered.com/${PN}/pool/${PN}/s/${PN}/${PN}_${PV}.tar.gz"
+SRC_URI="http://repo.steampowered.com/"${PN}"/pool/"${PN}"/s/"${PN}"/"${PN}"_"${PV}".tar.gz"
LICENSE="custom"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64"
RDEPEND="
virtual/ttf-fonts
@@ -37,15 +37,34 @@ RDEPEND="
x11-libs/libxcb
)"
-S=${WORKDIR}/${PN}
+S="${WORKDIR}"/"${PN}"
PATCHES=( "${FILESDIR}/redcore-${PN}.patch" )
+src_prepare() {
+ default
+ sed -r 's|("0666")|"0660", TAG+="uaccess"|g' -i lib/udev/rules.d/60-steam-input.rules
+ sed -r 's|("misc")|\1, OPTIONS+="static_node=uinput"|g' -i lib/udev/rules.d/60-steam-input.rules
+ sed -r 's|(, TAG\+="uaccess")|, MODE="0660"\1|g' -i lib/udev/rules.d/60-steam-vr.rules
+}
+
src_install() {
+ # make install
emake DESTDIR="${D}" install
+
+ # inject our wrapper binary
dobin "${FILESDIR}"/redcore-steam
+
+ # blank steamdeps because apt-get
rm -rf "${D}"/usr/bin/steamdeps
dosym /bin/true /usr/bin/steamdeps
+
+ # docs
rm -rf "${D}"/usr/share/doc/"${PN}"
- dodoc steam_install_agreement.txt
+ dodoc steam_subscriber_agreement.txt
+
+ # udev rules
+ insinto usr/lib/udev/rules.d
+ newins lib/udev/rules.d/60-steam-input.rules 70-steam-input.rules
+ newins lib/udev/rules.d/60-steam-vr.rules 70-steam-vr.rules
}