games-util/itch-bin: Remove old ebuild.

Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
This commit is contained in:
Ronny (tastytea) Gutbrod
2021-05-15 22:51:52 +02:00
parent 071f823476
commit a062bbad0e

View File

@@ -1,57 +0,0 @@
# Copyright 2020-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
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"
KEYWORDS="~amd64"
LICENSE="MIT"
SLOT="0"
BDEPEND="app-arch/unzip"
RDEPEND="
x11-libs/gtk+:3[X,cups]
x11-libs/libXtst
gnome-base/gconf
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
media-video/ffmpeg[chromium]
"
QA_PREBUILT="
/opt/itch-bin/itch
/opt/itch-bin/libvk_swiftshader.so
"
S="${WORKDIR}"
src_install() {
local destdir="${EPREFIX}/opt/${PN}"
insinto "${destdir}"
doins -r locales resources
doins *.pak *.dat *.bin *.json version libvk_swiftshader.so
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"
}