mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
games-util/itch-bin: add 26.1.9
Signed-off-by: tea <gentoo@tastytea.de>
This commit is contained in:
@@ -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
|
||||
|
||||
67
games-util/itch-bin/itch-bin-26.1.9.ebuild
Normal file
67
games-util/itch-bin/itch-bin-26.1.9.ebuild
Normal file
@@ -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"
|
||||
}
|
||||
Reference in New Issue
Block a user