Gentoo Archives: gentoo-commits

From: Ionen Wolkens <ionen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-rpg/avadon/
Date: Sun, 18 Jul 2021 05:15:54
Message-Id: 1626585291.c68e16f09df0e8228802e35151f10363a7b97662.ionen@gentoo
1 commit: c68e16f09df0e8228802e35151f10363a7b97662
2 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jul 18 04:35:30 2021 +0000
4 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
5 CommitDate: Sun Jul 18 05:14:51 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c68e16f0
7
8 games-rpg/avadon: EAPI 6->7, tidy a bit
9
10 Do not own this game, so only doing (hopefully) safe changes.
11
12 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
13
14 games-rpg/avadon/avadon-1.0.4_p1331768904.ebuild | 30 ++++++++++--------------
15 1 file changed, 13 insertions(+), 17 deletions(-)
16
17 diff --git a/games-rpg/avadon/avadon-1.0.4_p1331768904.ebuild b/games-rpg/avadon/avadon-1.0.4_p1331768904.ebuild
18 index 4a9ff4f3cec..794827ce5ff 100644
19 --- a/games-rpg/avadon/avadon-1.0.4_p1331768904.ebuild
20 +++ b/games-rpg/avadon/avadon-1.0.4_p1331768904.ebuild
21 @@ -1,26 +1,26 @@
22 -# Copyright 1999-2018 Gentoo Foundation
23 +# Copyright 1999-2021 Gentoo Authors
24 # Distributed under the terms of the GNU General Public License v2
25
26 -EAPI=6
27 +EAPI=7
28
29 -inherit desktop gnome2-utils unpacker
30 +inherit desktop unpacker
31
32 DESCRIPTION="Epic fantasy role-playing adventure in an enormous and unique world"
33 HOMEPAGE="https://www.spiderwebsoftware.com/avadon"
34 SRC_URI="avadon-linux-${PV#*_p}-bin.txt" # .txt is odd but that's what Humble Bundle sends.
35 +S="${WORKDIR}/data"
36 +
37 LICENSE="all-rights-reserved"
38 SLOT="0"
39 KEYWORDS="-* ~amd64 ~x86"
40 -RESTRICT="fetch bindist"
41 +RESTRICT="bindist fetch"
42
43 QA_PREBUILT="opt/${PN}/Avadon"
44
45 -RDEPEND="media-libs/libsdl[opengl,video]
46 +RDEPEND="
47 + media-libs/libsdl[opengl,video]
48 media-libs/openal"
49 -
50 -DEPEND="app-arch/unzip"
51 -
52 -S="${WORKDIR}/data"
53 +BDEPEND="app-arch/unzip"
54
55 pkg_nofetch() {
56 einfo "Please buy and download ${SRC_URI} from:"
57 @@ -35,19 +35,15 @@ src_unpack() {
58 src_install() {
59 local dir=/opt/${PN}
60
61 - insinto "${dir}"
62 + insinto ${dir}
63 doins -r "avadon files" icon.bmp
64
65 - exeinto "${dir}"
66 + exeinto ${dir}
67 newexe Avadon-$(usex amd64 amd64 x86) Avadon
68 - dosym "../..${dir}"/Avadon /usr/bin/${PN}
69 + dosym ../..${dir}/Avadon /usr/bin/${PN}
70
71 - newicon -s 512 Avadon.png ${PN}.png
72 + newicon Avadon.png ${PN}.png
73 make_desktop_entry ${PN} "Avadon: The Black Fortress"
74
75 dodoc README-linux.txt
76 }
77 -
78 -pkg_preinst() { gnome2_icon_savelist; }
79 -pkg_postinst() { gnome2_icon_cache_update; }
80 -pkg_postrm() { gnome2_icon_cache_update; }