From e1114f7a914a6679ee7751c878b857b2fc193b52 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 1 Jul 2023 17:28:37 +0100 Subject: gentoo auto-resync : 01:07:2023 - 17:28:37 --- games-util/Manifest.gz | Bin 8048 -> 8219 bytes games-util/heroic-bin/Manifest | 5 + games-util/heroic-bin/heroic-bin-2.8.0.ebuild | 132 ++++++++++++++++++++++++++ games-util/heroic-bin/metadata.xml | 18 ++++ 4 files changed, 155 insertions(+) create mode 100644 games-util/heroic-bin/Manifest create mode 100644 games-util/heroic-bin/heroic-bin-2.8.0.ebuild create mode 100644 games-util/heroic-bin/metadata.xml (limited to 'games-util') diff --git a/games-util/Manifest.gz b/games-util/Manifest.gz index 1d00fd09f6e3..ae10bb9c8453 100644 Binary files a/games-util/Manifest.gz and b/games-util/Manifest.gz differ diff --git a/games-util/heroic-bin/Manifest b/games-util/heroic-bin/Manifest new file mode 100644 index 000000000000..5c61236dd48f --- /dev/null +++ b/games-util/heroic-bin/Manifest @@ -0,0 +1,5 @@ +DIST com.heroicgameslauncher.hgl.desktop-6dfb2758e531af693f0baffa15240f152aadd68b 317 BLAKE2B e4c7cc834bc8688703b982897b13542543a3d28c50f7fe3f8e680c233762d612c0b24f7036919571451b96002f493cb55fb6d75241e124879ae486c5b4053f96 SHA512 314c7449ee7b83c77eda117536d0c2da1c5d3882a3f08f5fe0381451de734ed388e8941de8440521dad2f2fc335d214345e7301a2929b8fefa4f64a7a2ff804e +DIST com.heroicgameslauncher.hgl.png-6dfb2758e531af693f0baffa15240f152aadd68b 9797 BLAKE2B c6f76df4ec2fd25323f5c37e03605647ede8f8c2ed48cfbb8af11aad22ae90182d3678b943633b46a2d8dfb0c1cbd1a275b6c62dde238b9b0f68cbafb4bf3697 SHA512 68e9881fb4f123008398409825aa8cf70cec34365a23adb1234f7c054a14f40d159e7d8912cfedac0bb2b12f1d3c3c980469c2fca9735d4bc06bd4074aecc7e3 +DIST heroic-bin-2.8.0.tar.xz 98002940 BLAKE2B 43059c4be66e86a3a3bb8b1b93fb41259dfc8a773ccaacb4e91a5eb955e602dab21100840eded9a710950d2b9d8f1df7c2c62a48f37738ed7f1ab5a40cc46198 SHA512 e0bd8e4b36149766d4f5485ba19752058a689d234f90caa89ca707e46295bf52b52e454768da6e298608894fdca0cd44128a56b0974ff93aac49f9fbce58dd05 +EBUILD heroic-bin-2.8.0.ebuild 3046 BLAKE2B 405afef39539fc83ee272a7be31ec36f7b729f27369b8a2bed6d3714a596de5ac0ab34a5cb77d1fb30cc23e2de2d46bfc93c5db5913d227a8151c98f7f47b4f6 SHA512 41b51ef550766701dd3d816b7ba9787137d5f44528cc20230282936c4addbeac019113daa38ef7778d8ccc7f9e11109f24b86ed2d50f0e1a9afa06d9e8f8654f +MISC metadata.xml 713 BLAKE2B 3cc0678930075e7751c2368901934ba93bebe7934449f1fdec62d21d2b418f8902660c2b6e998aeaf20559cd97c2cd333054bdd465924fd3eef630b31113ea23 SHA512 038cf66c580bd66cc692764aa0a5144146d520182f42b730ecb238a123982e7d37370c074409dd3e430372fe8e89d4ffa68e9412545b957723e70787b9f4d180 diff --git a/games-util/heroic-bin/heroic-bin-2.8.0.ebuild b/games-util/heroic-bin/heroic-bin-2.8.0.ebuild new file mode 100644 index 000000000000..986384bbf90f --- /dev/null +++ b/games-util/heroic-bin/heroic-bin-2.8.0.ebuild @@ -0,0 +1,132 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +APP_NAME=${P/-bin/} +APP_URI="https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher" +APP_RESOURCES_COMMIT=6dfb2758e531af693f0baffa15240f152aadd68b + +CHROMIUM_LANGS=" + af am ar bg bn ca cs da de el en-GB en-US es es-419 et fa fi fil fr gu he hi + hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr sv + sw ta te th tr uk ur vi zh-CN zh-TW +" + +inherit chromium-2 desktop xdg + +DESCRIPTION="GOG and Epic Games Launcher for Linux" +HOMEPAGE="https://heroicgameslauncher.com/ + https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/" +SRC_URI=" + ${APP_URI}/releases/download/v${PV}/heroic-${PV}.tar.xz + -> ${P}.tar.xz + + ${APP_URI}/raw/${APP_RESOURCES_COMMIT}/flatpak/com.heroicgameslauncher.hgl.desktop + -> com.heroicgameslauncher.hgl.desktop-${APP_RESOURCES_COMMIT} + + ${APP_URI}/raw/${APP_RESOURCES_COMMIT}/flatpak/com.heroicgameslauncher.hgl.png + -> com.heroicgameslauncher.hgl.png-${APP_RESOURCES_COMMIT} +" +S="${WORKDIR}"/${APP_NAME} + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + app-accessibility/at-spi2-core + app-arch/brotli + app-arch/bzip2 + dev-libs/expat + dev-libs/fribidi + dev-libs/glib + dev-libs/gmp + dev-libs/libffi + dev-libs/libpcre2 + dev-libs/libtasn1 + dev-libs/nettle + dev-libs/nspr + dev-libs/nss + dev-libs/wayland + media-gfx/graphite2 + media-libs/alsa-lib + media-libs/fontconfig + media-libs/freetype + media-libs/harfbuzz + media-libs/libepoxy + media-libs/libjpeg-turbo + media-libs/libpng + media-libs/mesa + media-video/ffmpeg + net-dns/libidn2 + net-libs/gnutls + net-print/cups + sys-apps/dbus + sys-libs/glibc + sys-libs/zlib + x11-libs/cairo + x11-libs/gdk-pixbuf + x11-libs/gtk+:3 + x11-libs/libX11 + x11-libs/libXau + x11-libs/libXcomposite + x11-libs/libXcursor + x11-libs/libXdamage + x11-libs/libXdmcp + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXi + x11-libs/libXrandr + x11-libs/libXrender + x11-libs/libdrm + x11-libs/libxcb + x11-libs/libxkbcommon + x11-libs/pango + x11-libs/pixman +" + +QA_PREBUILT=".*" + +src_unpack() { + unpack ${P}.tar.xz +} + +src_configure() { + default + + chromium_suid_sandbox_check_kernel_config +} + +src_prepare() { + default + + cd locales || die + chromium_remove_language_paks +} + +src_install() { + local app_root=/opt/${APP_NAME} + local app_dest="${ED}"/${app_root} + + dodoc LICENSE.* + rm LICENSE.* || die + + dodir "${app_root%/*}" + cp -r "${S}" "${app_dest}" || die + + # Chrome-sandbox requires the setuid bit to be specifically set. + # see https://github.com/electron/electron/issues/17972 + fowners root "${app_root}"/chrome-sandbox + fperms 4711 "${app_root}"/chrome-sandbox + + find "${app_dest}" -type f -name "*.a" -exec rm {} + || die + + dosym -r "${app_root}"/heroic /usr/bin/heroic-run + + # Install resources: desktop file and icon. + newmenu "${DISTDIR}"/com.heroicgameslauncher.hgl.desktop-${APP_RESOURCES_COMMIT} \ + com.heroicgameslauncher.hgl.desktop + newicon "${DISTDIR}"/com.heroicgameslauncher.hgl.png-${APP_RESOURCES_COMMIT} \ + com.heroicgameslauncher.hgl.png +} diff --git a/games-util/heroic-bin/metadata.xml b/games-util/heroic-bin/metadata.xml new file mode 100644 index 000000000000..9eb38ef64fd9 --- /dev/null +++ b/games-util/heroic-bin/metadata.xml @@ -0,0 +1,18 @@ + + + + + + xgqt@gentoo.org + Maciej Barć + + + Heroic is an Open Source Game Launcher for Linux, Windows and macOS. Right + now it supports launching games from the Epic Games Store using Legendary + and GOG Games using our custom implementation with gogdl. + + + https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/issues/ + Heroic-Games-Launcher/HeroicGamesLauncher + + -- cgit v1.2.3