summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-emulation/linux-steam-integration/Manifest1
-rw-r--r--app-emulation/linux-steam-integration/files/bzip2.patch12
-rw-r--r--app-emulation/linux-steam-integration/linux-steam-integration-0.7.3.ebuild35
-rwxr-xr-xapp-emulation/steam-native-runtime/files/redcore-steam-native37
-rw-r--r--app-emulation/steam-native-runtime/files/steam-native-runtime.desktop280
-rw-r--r--app-emulation/steam-native-runtime/steam-native-runtime-1.0.0.61.ebuild77
6 files changed, 442 insertions, 0 deletions
diff --git a/app-emulation/linux-steam-integration/Manifest b/app-emulation/linux-steam-integration/Manifest
new file mode 100644
index 00000000..809748ae
--- /dev/null
+++ b/app-emulation/linux-steam-integration/Manifest
@@ -0,0 +1 @@
+DIST linux-steam-integration-0.7.3.tar.xz 188732 BLAKE2B 93f95947d70f03ad44e4851574bb6aaea032ca2d90147ea8b25f97a20d7c372a86470aa03d67b859b60087084ded2f73a15f3fdf201a2936c779a7e552d5140d SHA512 b68ae89c5e93d6424fe1b91666cac32c241f7f3cff24cf7f4f6b1ad57c1d537fbce60a6d64999c7e568f1f29152a44a7366d100c7ad1a70cdb1e0a8fb7cf8b6a
diff --git a/app-emulation/linux-steam-integration/files/bzip2.patch b/app-emulation/linux-steam-integration/files/bzip2.patch
new file mode 100644
index 00000000..4a1d42d2
--- /dev/null
+++ b/app-emulation/linux-steam-integration/files/bzip2.patch
@@ -0,0 +1,12 @@
+diff -Nur a/src/intercept/main.c b/src/intercept/main.c
+--- a/src/intercept/main.c 2019-01-15 12:00:18.000000000 +0000
++++ b/src/intercept/main.c 2020-01-06 00:18:30.413665541 +0000
+@@ -323,7 +323,7 @@
+ "libcurl-gnutls.so.4",
+ "libcurl.so.4",
+
+- "libbz2.so.1.0.6",
++ "libbz2.so.1.0",
+
+ "libudev.so.1",
+ };
diff --git a/app-emulation/linux-steam-integration/linux-steam-integration-0.7.3.ebuild b/app-emulation/linux-steam-integration/linux-steam-integration-0.7.3.ebuild
new file mode 100644
index 00000000..92912dfd
--- /dev/null
+++ b/app-emulation/linux-steam-integration/linux-steam-integration-0.7.3.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit meson multilib-minimal
+
+DESCRIPTION="Helper for enabling better Steam integration on Linux"
+HOMEPAGE="https://github.com/clearlinux/linux-steam-integration"
+SRC_URI="https://github.com/clearlinux/"${PN}"/releases/download/v"${PV}"/"${P}".tar.xz"
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="app-emulation/steam"
+DEPEND="x11-libs/gtk+:3
+ virtual/pkgconfig[${MULTILIB_USEDEP}]"
+
+PATCHES=( "${FILESDIR}"/bzip2.patch )
+
+multilib_src_configure() {
+ local emesonargs=(
+ -Dwith-shim=co-exist \
+ -Dwith-frontend=true \
+ -Dwith-steam-binary=/usr/bin/steam \
+ -Dwith-new-libcxx-abi=true
+ )
+ meson_src_configure
+}
+
+multilib_src_install() {
+ meson_src_install
+}
diff --git a/app-emulation/steam-native-runtime/files/redcore-steam-native b/app-emulation/steam-native-runtime/files/redcore-steam-native
new file mode 100755
index 00000000..677761b7
--- /dev/null
+++ b/app-emulation/steam-native-runtime/files/redcore-steam-native
@@ -0,0 +1,37 @@
+#!/usr/bin/env bash
+
+# steam-runtime is a somewhat a mess bundled with old libraries
+# due to this reason, system native graphic drivers may not load
+#
+# if we remove some bundled libs and preload some system libs
+# system native graphic drivers will be able to load
+#
+# however we must do this everytime when we launch steam, because
+# steam-runtime is being fixed right away by steam client
+
+
+source /lib/gentoo/functions.sh
+
+do_remove () {
+ einfo "Removing bundled libraries (libxcb, libstdc++, libgcc_s)"
+ find /home/$USER/.local/share/Steam -name 'libxcb*' -type f | grep -v installed | xargs rm -rf
+ find /home/$USER/.local/share/Steam -name 'libstdc++.so.6*' -type f | grep -v installed | xargs rm -rf
+ find /home/$USER/.local/share/Steam -name 'libgcc_s*' -type f | grep -v installed | xargs rm -rf
+}
+
+do_preload () {
+ einfo "Preloading system libraries (libstdc++, libgcc_s)"
+ 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'
+}
+
+launch_steam () {
+ do_remove
+ do_preload
+ export DISPLAY=:0
+ export STEAM_RUNTIME=0
+ export STEAM_RUNTIME_HEAVY=0
+ export DBUS_FATAL_WARNINGS=0
+ steam
+}
+
+launch_steam
diff --git a/app-emulation/steam-native-runtime/files/steam-native-runtime.desktop b/app-emulation/steam-native-runtime/files/steam-native-runtime.desktop
new file mode 100644
index 00000000..acca4a54
--- /dev/null
+++ b/app-emulation/steam-native-runtime/files/steam-native-runtime.desktop
@@ -0,0 +1,280 @@
+[Desktop Entry]
+Name=Steam (native runtime)
+Comment=Application for managing and playing games on Steam
+Comment[pt_BR]=Aplicativo para jogar e gerenciar jogos no Steam
+Comment[bg]=Приложение за ръководене и пускане на игри в Steam
+Comment[cs]=Aplikace pro spravování a hraní her ve službě Steam
+Comment[da]=Applikation til at håndtere og spille spil på Steam
+Comment[nl]=Applicatie voor het beheer en het spelen van games op Steam
+Comment[fi]=Steamin pelien hallintaan ja pelaamiseen tarkoitettu sovellus
+Comment[fr]=Application de gestion et d'utilisation des jeux sur Steam
+Comment[de]=Anwendung zum Verwalten und Spielen von Spielen auf Steam
+Comment[el]=Εφαρμογή διαχείρισης παιχνιδιών στο Steam
+Comment[hu]=Alkalmazás a Steames játékok futtatásához és kezeléséhez
+Comment[it]=Applicazione per la gestione e l'esecuzione di giochi su Steam
+Comment[ja]=Steam 上でゲームを管理&プレイするためのアプリケーション
+Comment[ko]=Steam에 있는 게임을 관리하고 플레이할 수 있는 응용 프로그램
+Comment[no]=Program for å administrere og spille spill på Steam
+Comment[pt_PT]=Aplicação para organizar e executar jogos no Steam
+Comment[pl]=Aplikacja do zarządzania i uruchamiania gier na platformie Steam
+Comment[ro]=Aplicație pentru administrarea și jucatul jocurilor pe Steam
+Comment[ru]=Приложение для игр и управления играми в Steam
+Comment[es]=Aplicación para administrar y ejecutar juegos en Steam
+Comment[sv]=Ett program för att hantera samt spela spel på Steam
+Comment[zh_CN]=管理和进行 Steam 游戏的应用程序
+Comment[zh_TW]=管理並執行 Steam 遊戲的應用程式
+Comment[th]=โปรแกรมสำหรับจัดการและเล่นเกมบน Steam
+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/redcore-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[pt_BR]=Loja
+Name[bg]=Магазин
+Name[cs]=Obchod
+Name[da]=Butik
+Name[nl]=Winkel
+Name[fi]=Kauppa
+Name[fr]=Magasin
+Name[de]=Shop
+Name[el]=ΚΑΤΑΣΤΗΜΑ
+Name[hu]=Áruház
+Name[it]=Negozio
+Name[ja]=ストア
+Name[ko]=상점
+Name[no]=Butikk
+Name[pt_PT]=Loja
+Name[pl]=Sklep
+Name[ro]=Magazin
+Name[ru]=Магазин
+Name[es]=Tienda
+Name[sv]=Butik
+Name[zh_CN]=商店
+Name[zh_TW]=商店
+Name[th]=ร้านค้า
+Name[tr]=Mağaza
+Name[uk]=Крамниця
+Name[vi]=Cửa hàng
+Exec=redcore-steam-native steam://store
+
+[Desktop Action Community]
+Name=Community
+Name[pt_BR]=Comunidade
+Name[bg]=Общност
+Name[cs]=Komunita
+Name[da]=Fællesskab
+Name[nl]=Community
+Name[fi]=Yhteisö
+Name[fr]=Communauté
+Name[de]=Community
+Name[el]=Κοινότητα
+Name[hu]=Közösség
+Name[it]=Comunità
+Name[ja]=コミュニティ
+Name[ko]=커뮤니티
+Name[no]=Samfunn
+Name[pt_PT]=Comunidade
+Name[pl]=Społeczność
+Name[ro]=Comunitate
+Name[ru]=Сообщество
+Name[es]=Comunidad
+Name[sv]=Gemenskap
+Name[zh_CN]=社区
+Name[zh_TW]=社群
+Name[th]=ชุมชน
+Name[tr]=Topluluk
+Name[uk]=Спільнота
+Name[vi]=Cộng đồng
+Exec=redcore-steam-native steam://url/SteamIDControlPage
+
+[Desktop Action Library]
+Name=Library
+Name[pt_BR]=Biblioteca
+Name[bg]=Библиотека
+Name[cs]=Knihovna
+Name[da]=Bibliotek
+Name[nl]=Bibliotheek
+Name[fi]=Kokoelma
+Name[fr]=Bibliothèque
+Name[de]=Bibliothek
+Name[el]=Συλλογή
+Name[hu]=Könyvtár
+Name[it]=Libreria
+Name[ja]=ライブラリ
+Name[ko]=라이브러리
+Name[no]=Bibliotek
+Name[pt_PT]=Biblioteca
+Name[pl]=Biblioteka
+Name[ro]=Colecţie
+Name[ru]=Библиотека
+Name[es]=Biblioteca
+Name[sv]=Bibliotek
+Name[zh_CN]=库
+Name[zh_TW]=收藏庫
+Name[th]=คลัง
+Name[tr]=Kütüphane
+Name[uk]=Бібліотека
+Name[vi]=Thư viện
+Exec=redcore-steam-native steam://open/games
+
+[Desktop Action Servers]
+Name=Servers
+Name[pt_BR]=Servidores
+Name[bg]=Сървъри
+Name[cs]=Servery
+Name[da]=Servere
+Name[nl]=Servers
+Name[fi]=Palvelimet
+Name[fr]=Serveurs
+Name[de]=Server
+Name[el]=Διακομιστές
+Name[hu]=Szerverek
+Name[it]=Server
+Name[ja]=サーバー
+Name[ko]=서버
+Name[no]=Tjenere
+Name[pt_PT]=Servidores
+Name[pl]=Serwery
+Name[ro]=Servere
+Name[ru]=Серверы
+Name[es]=Servidores
+Name[sv]=Servrar
+Name[zh_CN]=服务器
+Name[zh_TW]=伺服器
+Name[th]=เซิร์ฟเวอร์
+Name[tr]=Sunucular
+Name[uk]=Сервери
+Name[vi]=Máy chủ
+Exec=redcore-steam-native steam://open/servers
+
+[Desktop Action Screenshots]
+Name=Screenshots
+Name[pt_BR]=Capturas de tela
+Name[bg]=Снимки
+Name[cs]=Snímky obrazovky
+Name[da]=Skærmbilleder
+Name[nl]=Screenshots
+Name[fi]=Kuvankaappaukset
+Name[fr]=Captures d'écran
+Name[de]=Screenshots
+Name[el]=Φωτογραφίες
+Name[hu]=Képernyőmentések
+Name[it]=Screenshot
+Name[ja]=スクリーンショット
+Name[ko]=스크린샷
+Name[no]=Skjermbilder
+Name[pt_PT]=Capturas de ecrã
+Name[pl]=Zrzuty ekranu
+Name[ro]=Capturi de ecran
+Name[ru]=Скриншоты
+Name[es]=Capturas
+Name[sv]=Skärmdumpar
+Name[zh_CN]=截图
+Name[zh_TW]=螢幕擷圖
+Name[th]=ภาพหน้าจอ
+Name[tr]=Ekran Görüntüleri
+Name[uk]=Скріншоти
+Name[vi]=Ảnh chụp
+Exec=redcore-steam-native steam://open/screenshots
+
+[Desktop Action News]
+Name=News
+Name[pt_BR]=Notícias
+Name[bg]=Новини
+Name[cs]=Zprávy
+Name[da]=Nyheder
+Name[nl]=Nieuws
+Name[fi]=Uutiset
+Name[fr]=Actualités
+Name[de]=Neuigkeiten
+Name[el]=Νέα
+Name[hu]=Hírek
+Name[it]=Notizie
+Name[ja]=ニュース
+Name[ko]=뉴스
+Name[no]=Nyheter
+Name[pt_PT]=Novidades
+Name[pl]=Aktualności
+Name[ro]=Știri
+Name[ru]=Новости
+Name[es]=Noticias
+Name[sv]=Nyheter
+Name[zh_CN]=新闻
+Name[zh_TW]=新聞
+Name[th]=ข่าวสาร
+Name[tr]=Haberler
+Name[uk]=Новини
+Name[vi]=Tin tức
+Exec=redcore-steam-native steam://open/news
+
+[Desktop Action Settings]
+Name=Settings
+Name[pt_BR]=Configurações
+Name[bg]=Настройки
+Name[cs]=Nastavení
+Name[da]=Indstillinger
+Name[nl]=Instellingen
+Name[fi]=Asetukset
+Name[fr]=Paramètres
+Name[de]=Einstellungen
+Name[el]=Ρυθμίσεις
+Name[hu]=Beállítások
+Name[it]=Impostazioni
+Name[ja]=設定
+Name[ko]=설정
+Name[no]=Innstillinger
+Name[pt_PT]=Definições
+Name[pl]=Ustawienia
+Name[ro]=Setări
+Name[ru]=Настройки
+Name[es]=Parámetros
+Name[sv]=Inställningar
+Name[zh_CN]=设置
+Name[zh_TW]=設定
+Name[th]=การตั้งค่า
+Name[tr]=Ayarlar
+Name[uk]=Налаштування
+Name[vi]=Thiết lập
+Exec=redcore-steam-native steam://open/settings
+
+[Desktop Action BigPicture]
+Name=Big Picture
+Exec=redcore-steam-native steam://open/bigpicture
+
+[Desktop Action Friends]
+Name=Friends
+Name[pt_BR]=Amigos
+Name[bg]=Приятели
+Name[cs]=Přátelé
+Name[da]=Venner
+Name[nl]=Vrienden
+Name[fi]=Kaverit
+Name[fr]=Amis
+Name[de]=Freunde
+Name[el]=Φίλοι
+Name[hu]=Barátok
+Name[it]=Amici
+Name[ja]=フレンド
+Name[ko]=친구
+Name[no]=Venner
+Name[pt_PT]=Amigos
+Name[pl]=Znajomi
+Name[ro]=Prieteni
+Name[ru]=Друзья
+Name[es]=Amigos
+Name[sv]=Vänner
+Name[zh_CN]=好友
+Name[zh_TW]=好友
+Name[th]=เพื่อน
+Name[tr]=Arkadaşlar
+Name[uk]=Друзі
+Name[vi]=Bạn bè
+Exec=redcore-steam-native steam://open/friends
diff --git a/app-emulation/steam-native-runtime/steam-native-runtime-1.0.0.61.ebuild b/app-emulation/steam-native-runtime/steam-native-runtime-1.0.0.61.ebuild
new file mode 100644
index 00000000..b65a36ce
--- /dev/null
+++ b/app-emulation/steam-native-runtime/steam-native-runtime-1.0.0.61.ebuild
@@ -0,0 +1,77 @@
+# Copyright 2016-2020 Redcore Linux Project
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=7
+
+DESCRIPTION="Native replacement for the Steam runtime using system libraries"
+SRC_URI=""
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64"
+IUSE="+trayicon pulseaudio"
+
+DEPEND=""
+RDEPEND="
+ app-arch/bzip2[abi_x86_32]
+ dev-libs/atk[abi_x86_32]
+ dev-libs/dbus-glib[abi_x86_32]
+ dev-libs/expat[abi_x86_32]
+ dev-libs/glib:2[abi_x86_32]
+ dev-libs/nspr[abi_x86_32]
+ dev-libs/nss[abi_x86_32]
+ media-libs/alsa-lib[abi_x86_32]
+ media-libs/fontconfig[abi_x86_32]
+ media-libs/freetype[abi_x86_32]
+ media-libs/libcaca[abi_x86_32]
+ media-libs/libcanberra[abi_x86_32]
+ media-libs/libpng-compat:1.2[abi_x86_32]
+ media-libs/libsdl[abi_x86_32]
+ media-libs/sdl-image[abi_x86_32]
+ media-libs/sdl-mixer[abi_x86_32]
+ media-libs/sdl-ttf[abi_x86_32]
+ media-libs/libsdl2[abi_x86_32]
+ media-libs/sdl2-image[abi_x86_32]
+ media-libs/sdl2-mixer[abi_x86_32]
+ media-libs/sdl2-ttf[abi_x86_32]
+ media-libs/mesa[abi_x86_32]
+ media-libs/openal[abi_x86_32]
+ net-misc/curl[abi_x86_32]
+ net-print/cups[abi_x86_32]
+ sys-apps/dbus[abi_x86_32,X]
+ sys-libs/libudev-compat[abi_x86_32]
+ sys-libs/zlib[abi_x86_32]
+ virtual/jpeg[abi_x86_32
+ virtual/opengl[abi_x86_32]
+ virtual/libusb[abi_x86_32]
+ x11-libs/gdk-pixbuf[abi_x86_32]
+ x11-libs/gtk+:2[abi_x86_32,cups]
+ x11-libs/libdrm[abi_x86_32]
+ x11-libs/libICE[abi_x86_32]
+ x11-libs/libSM[abi_x86_32]
+ x11-libs/libva-compat:1[abi_x86_32]
+ x11-libs/libvdpau[abi_x86_32]
+ x11-libs/libX11[abi_x86_32]
+ x11-libs/libXScrnSaver[abi_x86_32]
+ x11-libs/libXcomposite[abi_x86_32]
+ x11-libs/libXcursor[abi_x86_32]
+ x11-libs/libXdamage[abi_x86_32]
+ x11-libs/libXext[abi_x86_32]
+ x11-libs/libXfixes[abi_x86_32]
+ x11-libs/libXi[abi_x86_32]
+ x11-libs/libXinerama[abi_x86_32]
+ x11-libs/libXrandr[abi_x86_32]
+ x11-libs/libXrender[abi_x86_32]
+ x11-libs/libXtst[abi_x86_32]
+ x11-libs/pango[abi_x86_32]
+
+ trayicon? ( dev-libs/libappindicator:2[abi_x86_32] )
+ pulseaudio? ( media-sound/pulseaudio[abi_x86_32,caps] )
+ !pulseaudio? ( media-sound/apulse[abi_x86_32] )"
+
+src_install() {
+ dobin "${FILESDIR}"/redcore-steam-native
+ insinto usr/share/applications
+ doins "${FILESDIR}"/"{P}".desktop
+}