summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2021-06-29 15:49:20 -0400
committerIonen Wolkens <ionen@gentoo.org>2021-06-29 16:53:14 -0400
commit671d46737165eecb6d91bb39e4c05e391a3b40af (patch)
tree322b77cf445ae01e78c0035cacfe9d3c9d4d03c9
parentgames-board/megamek: add .desktop icon (diff)
downloadgentoo-671d46737165eecb6d91bb39e4c05e391a3b40af.tar.gz
gentoo-671d46737165eecb6d91bb39e4c05e391a3b40af.tar.bz2
gentoo-671d46737165eecb6d91bb39e4c05e391a3b40af.zip
games-rpg/egoboo: add .desktop icon, EAPI 7->8
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
-rw-r--r--games-rpg/egoboo/Manifest1
-rw-r--r--games-rpg/egoboo/egoboo-2.8.1-r2.ebuild9
2 files changed, 7 insertions, 3 deletions
diff --git a/games-rpg/egoboo/Manifest b/games-rpg/egoboo/Manifest
index 5a4082211d96..27a34b8b6552 100644
--- a/games-rpg/egoboo/Manifest
+++ b/games-rpg/egoboo/Manifest
@@ -1 +1,2 @@
DIST egoboo-2.8.1.tar.gz 150029960 BLAKE2B 582db0f3c033523f7b55e205aec5f7012301e3edb7a4667f49d6c4a26f99572b4652e3cf4b8ed0f9e4c4cf2f6129615a315955d0193f851fc7c16ab7eaf7e482 SHA512 5793a63ba90f461ae99bcb81bf4ddf287b203bc2d401e1f697f1f4f93e1d681954e09b23938eb1a36e7dd535e2d12b8882efd77572cc63392cad5f9462ac3054
+DIST egoboo.png 7903 BLAKE2B a9ba1d15bd2363d7155b817bcf4d4ce1c378d6a5f2266774772e288a862d1ed1659bb67ec0f73eb089ee8e31725035b7fc2f29c490ace7e17cb336bc9479c9ab SHA512 6a18c269f9159f7b0cf9201662f9755b3317156849ed126d215aa104ae88faeb4950911821a74720b20ccac74498cb4473e2c1170596207b496ca8efb37c1247
diff --git a/games-rpg/egoboo/egoboo-2.8.1-r2.ebuild b/games-rpg/egoboo/egoboo-2.8.1-r2.ebuild
index e3b415e57a83..bf1c7737e7f0 100644
--- a/games-rpg/egoboo/egoboo-2.8.1-r2.ebuild
+++ b/games-rpg/egoboo/egoboo-2.8.1-r2.ebuild
@@ -1,13 +1,15 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit desktop toolchain-funcs
DESCRIPTION="3D dungeon crawling adventure in the spirit of NetHack"
HOMEPAGE="http://egoboo.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+SRC_URI="
+ mirror://sourceforge/${PN}/${P}.tar.gz
+ https://dev.gentoo.org/~ionen/distfiles/${PN}.png"
LICENSE="GPL-3+"
SLOT="0"
@@ -53,5 +55,6 @@ src_install() {
insinto /etc/${PN}
doins controls.txt setup.txt
- make_desktop_entry ${PN} Egoboo applications-games "Game;"
+ doicon "${DISTDIR}"/${PN}.png
+ make_desktop_entry ${PN} Egoboo
}