diff options
author | tea <gentoo@tastytea.de> | 2024-06-12 18:41:51 +0200 |
---|---|---|
committer | tea <gentoo@tastytea.de> | 2024-06-12 18:42:49 +0200 |
commit | 3ff6f514bb718a3c9e3b3ae137bf258377a33236 (patch) | |
tree | 187f81c44081d51358025df1c82ba19c7d3f249e /games-util | |
parent | dev-util/dockerfile-language-server: drop 0.10.2 (diff) | |
download | guru-3ff6f514bb718a3c9e3b3ae137bf258377a33236.tar.gz guru-3ff6f514bb718a3c9e3b3ae137bf258377a33236.tar.bz2 guru-3ff6f514bb718a3c9e3b3ae137bf258377a33236.zip |
games-util/itch-bin: add 26.1.9
Signed-off-by: tea <gentoo@tastytea.de>
Diffstat (limited to 'games-util')
-rw-r--r-- | games-util/itch-bin/Manifest | 1 | ||||
-rw-r--r-- | games-util/itch-bin/itch-bin-26.1.9.ebuild | 67 |
2 files changed, 68 insertions, 0 deletions
diff --git a/games-util/itch-bin/Manifest b/games-util/itch-bin/Manifest index d5afea702..4e9414708 100644 --- a/games-util/itch-bin/Manifest +++ b/games-util/itch-bin/Manifest @@ -1 +1,2 @@ DIST itch-bin-25.5.1.zip 81447648 BLAKE2B 5c0ef34b71d5ba1f771a8e8ba8fa9b012df17a2109061837af6a3d86e94c97a61c564d9752d550cc30be9f306543a622badc3c7165465a5c0fb48966f800a52e SHA512 17a55680570c6a2bf82336b1825742f6b1d64158c97cf1a8734688957d642e6ea48d9b9526fef9cf81f1c5869e5425111e90b94d2154966addd504dc3f66530d +DIST itch-bin-26.1.9.zip 118731612 BLAKE2B 1261fe71242350abe0f23f044d2e5e97286554ef1474568d7737fb0a5d473715f1cebea1918338187a3a4ad139464763ef4e9fecd6119c6dc511eb033bf68430 SHA512 aed3753623ee949236e389bfdc6aa9ab4160e82f366990347e7ae57895e81d396bd5c507069c99f41a1c019d3e15c42184c081bdb976cfbe793cae750f0c9a75 diff --git a/games-util/itch-bin/itch-bin-26.1.9.ebuild b/games-util/itch-bin/itch-bin-26.1.9.ebuild new file mode 100644 index 000000000..3dabe9b28 --- /dev/null +++ b/games-util/itch-bin/itch-bin-26.1.9.ebuild @@ -0,0 +1,67 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop xdg + +DESCRIPTION="itch.io game browser, installer and launcher" +HOMEPAGE="https://itch.io/" +SRC_URI="https://broth.itch.ovh/itch/linux-amd64/${PV}/archive/default -> ${P}.zip" + +S="${WORKDIR}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="system-ffmpeg" + +BDEPEND="app-arch/unzip" +RDEPEND=" + x11-libs/gtk+:3[X,cups] + x11-libs/libXtst + dev-libs/nss + media-libs/alsa-lib + media-libs/freetype + x11-libs/pixman + media-libs/libpng:* + dev-libs/libpcre + net-dns/libidn2 + net-libs/gnutls + dev-libs/libbsd + sys-apps/util-linux + media-gfx/graphite2 + media-libs/vulkan-loader + system-ffmpeg? ( media-video/ffmpeg[chromium] ) +" + +QA_PREBUILT=" + opt/itch-bin/itch + opt/itch-bin/libvk_swiftshader.so + !system-ffmpeg? ( opt/itch-bin/libffmpeg.so ) +" + +src_install() { + local destdir="${EPREFIX}/opt/${PN}" + insinto "${destdir}" + doins -r locales resources + doins ./*.pak ./*.dat ./*.bin ./*.json version libvk_swiftshader.so + + if use system-ffmpeg; then # bug 710944 + rm libffmpeg.so || die + dosym -r "${EPREFIX}/usr/$(get_libdir)/chromium/libffmpeg.so" \ + ${destdir}/libffmpeg.so + else + doins libffmpeg.so + fi + + exeinto "${destdir}" + doexe itch + dosym "${destdir}/itch" /usr/bin/itch-bin + + newicon -s 256 "resources/app/src/static/images/tray/itch.png" "${PN}.png" + newicon -s 128 "resources/app/src/static/images/window/itch/icon.png" "${PN}.png" + + make_desktop_entry itch-bin Itch itch-bin "Network;Game" +} |