1 |
commit: 1b86e307d1a68c6ca0fa0976f13edfa595230672 |
2 |
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jun 29 19:17:50 2021 +0000 |
4 |
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 29 20:53:11 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b86e307 |
7 |
|
8 |
games-arcade/abe: add .desktop icon, EAPI 7->8 |
9 |
|
10 |
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> |
11 |
|
12 |
games-arcade/abe/Manifest | 1 + |
13 |
games-arcade/abe/abe-1.1-r1.ebuild | 13 ++++++++----- |
14 |
2 files changed, 9 insertions(+), 5 deletions(-) |
15 |
|
16 |
diff --git a/games-arcade/abe/Manifest b/games-arcade/abe/Manifest |
17 |
index 0c3cc51f301..98c62e38d0f 100644 |
18 |
--- a/games-arcade/abe/Manifest |
19 |
+++ b/games-arcade/abe/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST abe-1.1.tar.gz 3321075 BLAKE2B 2ab51bd9103e8954bbc27eceb81b4bb845ec84ee249f21aaefdc59df87689f865d3b62a8c2db9584b8361303028174b1a96b60e0caf88ee857f8ad0d3cd3d920 SHA512 6106fce9c72554596ac3f94551326381e98c0d40f7a5aa8ae7aeadaa234c113733e8df717bd1b18d2ba835f689982e859607c9d88ab2d59790ec00833a4e48c7 |
22 |
+DIST abe.png 3303 BLAKE2B a99f8a1c31b9f8704b201ca9edd7ab67b685bde4bd43f675e62f1ba3a5554a63dba009634cdc63a2855a51f82de8ea2818bfe5f390b2f9e176d55cd4476547b6 SHA512 421d87248d91bb315d9d02955271cad096c842857819fc7a91ad77571047770eb9487722cb1b2e43d602ad61e3c7eca4fd834e955724905b8b870a5dd66d2e2b |
23 |
|
24 |
diff --git a/games-arcade/abe/abe-1.1-r1.ebuild b/games-arcade/abe/abe-1.1-r1.ebuild |
25 |
index db902811eb9..d930d182e00 100644 |
26 |
--- a/games-arcade/abe/abe-1.1-r1.ebuild |
27 |
+++ b/games-arcade/abe/abe-1.1-r1.ebuild |
28 |
@@ -1,13 +1,15 @@ |
29 |
# Copyright 1999-2021 Gentoo Authors |
30 |
# Distributed under the terms of the GNU General Public License v2 |
31 |
|
32 |
-EAPI=7 |
33 |
+EAPI=8 |
34 |
|
35 |
inherit desktop toolchain-funcs |
36 |
|
37 |
DESCRIPTION="Scrolling, platform-jumping, key-collecting, ancient pyramid exploring game" |
38 |
HOMEPAGE="http://abe.sourceforge.net/" |
39 |
-SRC_URI="mirror://sourceforge/abe/${P}.tar.gz" |
40 |
+SRC_URI=" |
41 |
+ mirror://sourceforge/abe/${P}.tar.gz |
42 |
+ https://dev.gentoo.org/~ionen/distfiles/${PN}.png" |
43 |
|
44 |
LICENSE="GPL-2" |
45 |
SLOT="0" |
46 |
@@ -39,12 +41,13 @@ src_configure() { |
47 |
} |
48 |
|
49 |
src_install() { |
50 |
- dobin src/abe |
51 |
+ dobin src/${PN} |
52 |
|
53 |
insinto /usr/share/${PN} |
54 |
doins -r images maps sounds |
55 |
|
56 |
- make_desktop_entry abe "Abe's Amazing Adventure" applications-games |
57 |
- |
58 |
einstalldocs |
59 |
+ |
60 |
+ doicon "${DISTDIR}"/${PN}.png |
61 |
+ make_desktop_entry ${PN} "Abe's Amazing Adventure" |
62 |
} |