diff options
Diffstat (limited to 'games-util')
-rw-r--r-- | games-util/Manifest.gz | bin | 8220 -> 8216 bytes | |||
-rw-r--r-- | games-util/cartridges/Manifest | 2 | ||||
-rw-r--r-- | games-util/cartridges/cartridges-2.6.2.ebuild | 60 | ||||
-rw-r--r-- | games-util/heroic-bin/Manifest | 2 | ||||
-rw-r--r-- | games-util/heroic-bin/heroic-bin-2.10.0.ebuild | 139 |
5 files changed, 203 insertions, 0 deletions
diff --git a/games-util/Manifest.gz b/games-util/Manifest.gz Binary files differindex 7718ea8b3e16..a67ff1462063 100644 --- a/games-util/Manifest.gz +++ b/games-util/Manifest.gz diff --git a/games-util/cartridges/Manifest b/games-util/cartridges/Manifest index 383f17d8f618..2d5992d96d0e 100644 --- a/games-util/cartridges/Manifest +++ b/games-util/cartridges/Manifest @@ -1,7 +1,9 @@ AUX cartridges-1.5.4-dont-validate-appstream.patch 304 BLAKE2B bc6f26ccc39f2029a0d09a767843139b219692159e1b3036e40845a14db2bf43f4510ab29b626cc9acfa140123a841b36536b767187b792ce545737914bebd1e SHA512 2a5b2a8a4dbd0614f7fdabb487e2df5c63c0718b11320fefa8894c1dd166438d7238e1d4703c9e9aeac2bf540ecaa4c0cbf6e5a64343d8bce80d5e1033a6dd14 DIST cartridges-2.3.tar.gz 1282083 BLAKE2B 1e6ef65ba223af5b65af922c90b61b5c1bca1859b4231632b2c2996258f562719340f7cb9c6facc6f8151bac8388bcfe3c549131bee9b249d0d03310a622538b SHA512 d5f2d29414d1e347e0459003890f018e585450cc3b6663e922696f04c1eff3a864364a08dfa17ea6fe4e87aa47c28485f0954a4376c1d1695039e478a7dbe7f4 DIST cartridges-2.6.1.tar.gz 1083018 BLAKE2B a760cc3651775139d6151530df20d94a292841f60918cd76e9f77b9d081bbbc71571173d60766b7e7880d7c6f74cadad2711c3d16e6b2bcf904e13b05a1494cd SHA512 dfe5a0c2bcf9cbf83811915cfb00b0f625dd7847ac979e5cb45ca0b907d59c010cc13c048db779b9543d45a5ddc8a4f1bd01322f64f76d0b39433969458bb75f +DIST cartridges-2.6.2.tar.gz 1083203 BLAKE2B ee7ff5efea06f61152e913b351dfefb9f3355e853966b8425d09912463a28165207908cae2f4bdd3af19a0020fe82eb0f1f0bdbaa7ee2d94de294daf81439818 SHA512 8521c859f33ae78c4ed7d75fed73f6a9b695f89ae21e3072f9cb878facdd85dffefb8ea8491def0732c415c89965f5152d8458cbe5c25433b0f7a44388ff7da5 EBUILD cartridges-2.3.ebuild 1210 BLAKE2B 601e7149b337cb55f4cb287db1fed12e8b991d9383fb45f9fa841818e3b62cdda70770d94350aadd6070a97a4fae2922da322c7d2f69788cdbf733b864929d3f SHA512 dc76fee26ca7c5a6e27c641fed1172af916b4901a98b3930246f12cb5a11cb7edbbfc2d1e2abdaeebb8f7a6341c7446636c6a1875cae8f6d5b1ea09fb6b95456 EBUILD cartridges-2.6.1.ebuild 1215 BLAKE2B 63466a82eae0d57b908d99059b7bdf45d072bfeb050295cabd38e78009ed58a21da8b3a176e6fa05f05b9d4e1c3d2f597874810c587b9bb37822cae465e80eea SHA512 79de146cc9ca4e023f01db3c81b6e33e2fd861c4d6d17e081e8d69470085f33fe607d0137eaa389c84d4b11ca567a1d3dfd0bca5e71e85bbd27a4c62c9377c51 +EBUILD cartridges-2.6.2.ebuild 1215 BLAKE2B 63466a82eae0d57b908d99059b7bdf45d072bfeb050295cabd38e78009ed58a21da8b3a176e6fa05f05b9d4e1c3d2f597874810c587b9bb37822cae465e80eea SHA512 79de146cc9ca4e023f01db3c81b6e33e2fd861c4d6d17e081e8d69470085f33fe607d0137eaa389c84d4b11ca567a1d3dfd0bca5e71e85bbd27a4c62c9377c51 EBUILD cartridges-9999.ebuild 1211 BLAKE2B 0e60e0ea4c9e0648cf1a7ef8b19984297119434aa842b306eca685420fb52e42c9722386104c6157ec02e6833e30375564162d0575f7790047558f27c60a9cae SHA512 42c13c130ea48ceb33eeab935d66c74a3943fa742c2a3d8e562cd33810836d4038174724a296117758386abc43819d7f50eb15c30173d44d6907e3259ed61bef MISC metadata.xml 760 BLAKE2B f57df1306fd66ac7c1275d2c77ced58a333f3e47a7f02ae643d8fe4bceb7f28dfc796e3898fb28eef7f6e4ee250e762ca208c662be94a12e89a098ec45d5b482 SHA512 e70a9f88c0cdb41276783878ccaf24623f8c97fafc55d88ab564604cb534b4ea7426eb50d3c9ba9ee091e7adf5bea6d68e919c0c84a496be3d8c6497394cd2b7 diff --git a/games-util/cartridges/cartridges-2.6.2.ebuild b/games-util/cartridges/cartridges-2.6.2.ebuild new file mode 100644 index 000000000000..a0ac6894055e --- /dev/null +++ b/games-util/cartridges/cartridges-2.6.2.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) + +inherit gnome2-utils meson python-single-r1 xdg + +DESCRIPTION="Simple game launcher written in Python using GTK4 and Libadwaita" +HOMEPAGE="https://github.com/kra-mo/cartridges/" + +if [[ "${PV}" == *9999* ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/kra-mo/${PN}.git" +else + SRC_URI="https://github.com/kra-mo/${PN}/archive/v${PV}.tar.gz + -> ${P}.tar.gz" + + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-3+" +SLOT="0" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + >=gui-libs/libadwaita-1.4.0:1[introspection] + gui-libs/gtk:4[introspection] + $(python_gen_cond_dep ' + dev-python/pygobject:3[${PYTHON_USEDEP}] + ') +" +BDEPEND=" + ${RDEPEND} + dev-libs/appstream-glib + dev-util/blueprint-compiler + dev-util/desktop-file-utils +" + +PATCHES=( "${FILESDIR}/${PN}-1.5.4-dont-validate-appstream.patch" ) + +src_install() { + meson_src_install + + python_fix_shebang "${ED}/usr/bin" + python_optimize "${ED}/usr/share/cartridges/cartridges" +} + +pkg_postinst() { + gnome2_schemas_update + xdg_pkg_postinst +} + +pkg_postrm() { + gnome2_schemas_update + xdg_pkg_postrm +} diff --git a/games-util/heroic-bin/Manifest b/games-util/heroic-bin/Manifest index f5b787e6b3e8..af444e765040 100644 --- a/games-util/heroic-bin/Manifest +++ b/games-util/heroic-bin/Manifest @@ -1,7 +1,9 @@ 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.10.0.tar.xz 103110396 BLAKE2B 6f6921f8e75802427cd6f21a7666b33a67b553b79937de2a4ebae0a690cf87657b730b5306f61e909bccab80fd68b923346b14be6cc674d913769d1e4ed9f268 SHA512 1748f80341276d6ca9bd3375333c11fb22908413eb69ad47f61b2450fa98015a4e12426d8b825b8113cd218f4a01567faeff6cf41f5aa4b87dbf7c06d7feedad DIST heroic-bin-2.8.0.tar.xz 98002940 BLAKE2B 43059c4be66e86a3a3bb8b1b93fb41259dfc8a773ccaacb4e91a5eb955e602dab21100840eded9a710950d2b9d8f1df7c2c62a48f37738ed7f1ab5a40cc46198 SHA512 e0bd8e4b36149766d4f5485ba19752058a689d234f90caa89ca707e46295bf52b52e454768da6e298608894fdca0cd44128a56b0974ff93aac49f9fbce58dd05 DIST heroic-bin-2.9.2.tar.xz 101500808 BLAKE2B 93776e387e5934b59ad901cad564702a9b519dc40c5782a75cc1da111cd9cc9ec56876387aeed525d03ef425580bd49d1ef6425345c5c1d24c0fd8bbdf3dfde4 SHA512 146421dee45d1e93233a7936642146d42db307349551058dea858a869f04f32d2921b3bcc45be3ba041c9a48ae11641dce6d16b72186c4c385a7f25aa3ff19d3 +EBUILD heroic-bin-2.10.0.ebuild 3302 BLAKE2B ab986a318231e5ac5444f31712da0ba1356bab3e5a96bbf48e50dd829bdf3b36592b8457d5cd48760e6eb4446b4a16e119ec618f8a4b449752c6d1c50d02d8ce SHA512 7abb6783cf62a319d2692f5eebb7ca7fe9ef3d671fd54aed25e771bdf4926bb3a50090dc0e1bcedfd26772c0915ee8b5603ce1e612f3b85f22824da6cad457ae EBUILD heroic-bin-2.8.0.ebuild 3280 BLAKE2B ab3cd28a5fe209a663df24ceeb8efba11c95dd3c78e69afa7a682a33f31fd2313a33f4344cbad9fa42cfa333399eda28c871be0b6bd35a552c69ecae991e08b1 SHA512 d0329a1d7a39e54414a1832a3512dd4e1ecbb4b5bd619feaf34b285ad46f33da46204ecc438d272870a3cdf2901efdfe4496a9833bd87012ec903fc8fecfadca EBUILD heroic-bin-2.9.2.ebuild 3302 BLAKE2B ab986a318231e5ac5444f31712da0ba1356bab3e5a96bbf48e50dd829bdf3b36592b8457d5cd48760e6eb4446b4a16e119ec618f8a4b449752c6d1c50d02d8ce SHA512 7abb6783cf62a319d2692f5eebb7ca7fe9ef3d671fd54aed25e771bdf4926bb3a50090dc0e1bcedfd26772c0915ee8b5603ce1e612f3b85f22824da6cad457ae MISC metadata.xml 713 BLAKE2B 3cc0678930075e7751c2368901934ba93bebe7934449f1fdec62d21d2b418f8902660c2b6e998aeaf20559cd97c2cd333054bdd465924fd3eef630b31113ea23 SHA512 038cf66c580bd66cc692764aa0a5144146d520182f42b730ecb238a123982e7d37370c074409dd3e430372fe8e89d4ffa68e9412545b957723e70787b9f4d180 diff --git a/games-util/heroic-bin/heroic-bin-2.10.0.ebuild b/games-util/heroic-bin/heroic-bin-2.10.0.ebuild new file mode 100644 index 000000000000..41737f425914 --- /dev/null +++ b/games-util/heroic-bin/heroic-bin-2.10.0.ebuild @@ -0,0 +1,139 @@ +# 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 +" +PYTHON_COMPAT=( python3_{10..12} ) + +inherit chromium-2 desktop python-single-r1 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" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + 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-fonts/freefont + 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 + + dosym -r "${PYTHON}" \ + "${app_root}"/resources/app.asar.unpacked/node_modules/register-scheme/build/node_gyp_bins/python3 + + 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 +} |