Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-strategy/spaz/
Date: Sun, 30 Jun 2019 08:23:07
Message-Id: 1561882939.440af8b71c7a0574a043b6c7112ce3416ea65ee4.pacho@gentoo
1 commit: 440af8b71c7a0574a043b6c7112ce3416ea65ee4
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jun 30 08:22:19 2019 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 30 08:22:19 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=440af8b7
7
8 games-strategy/spaz: Stop using games.eclass
9
10 Package-Manager: Portage-2.3.67, Repoman-2.3.14
11 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
12
13 .../{spaz-1.605.ebuild => spaz-1.605-r1.ebuild} | 24 +++++++++++-----------
14 1 file changed, 12 insertions(+), 12 deletions(-)
15
16 diff --git a/games-strategy/spaz/spaz-1.605.ebuild b/games-strategy/spaz/spaz-1.605-r1.ebuild
17 similarity index 61%
18 rename from games-strategy/spaz/spaz-1.605.ebuild
19 rename to games-strategy/spaz/spaz-1.605-r1.ebuild
20 index 943dbedf377..98f1843747b 100644
21 --- a/games-strategy/spaz/spaz-1.605.ebuild
22 +++ b/games-strategy/spaz/spaz-1.605-r1.ebuild
23 @@ -1,12 +1,11 @@
24 -# Copyright 1999-2018 Gentoo Foundation
25 +# Copyright 1999-2019 Gentoo Authors
26 # Distributed under the terms of the GNU General Public License v2
27
28 -EAPI=4
29 -
30 -inherit unpacker games
31 +EAPI=7
32 +inherit desktop eutils unpacker
33
34 DESCRIPTION="Space Pirates and Zombies"
35 -HOMEPAGE="http://spacepiratesandzombies.com"
36 +HOMEPAGE="http://minmax-games.com/SpacePiratesAndZombies/"
37 SRC_URI="${PN}-linux-humblebundle-09182012-bin"
38 LICENSE="LOKI-EULA"
39 SLOT="0"
40 @@ -14,9 +13,12 @@ KEYWORDS="-* ~amd64 ~x86"
41 IUSE="alsa pulseaudio"
42 RESTRICT="bindist fetch strip"
43
44 -DEPEND="app-arch/unzip"
45 -RDEPEND=">=media-libs/openal-1.15.1[alsa?,pulseaudio?,abi_x86_32(-)]
46 - >=media-libs/libsdl-1.2.15-r4[abi_x86_32(-)]"
47 +DEPEND=""
48 +BDEPEND="app-arch/unzip"
49 +RDEPEND="
50 + >=media-libs/openal-1.15.1[alsa?,pulseaudio?,abi_x86_32(-)]
51 + >=media-libs/libsdl-1.2.15-r4[abi_x86_32(-)]
52 +"
53
54 S="${WORKDIR}"/data
55
56 @@ -27,7 +29,7 @@ src_unpack() {
57 }
58
59 src_install() {
60 - local dir="${GAMES_PREFIX_OPT}/${PN}"
61 + local dir="/opt/${PN}"
62
63 insinto "${dir}"
64 exeinto "${dir}"
65 @@ -37,8 +39,6 @@ src_install() {
66 newicon SPAZ.png spaz.png
67 dodoc README-linux.txt
68
69 - games_make_wrapper ${PN} ./SPAZ "${dir}" "${dir}"
70 + make_wrapper ${PN} ./SPAZ "${dir}" "${dir}"
71 make_desktop_entry ${PN} "Space Pirates and Zombies" ${PN}
72 -
73 - prepgamesdirs
74 }