Gentoo Archives: gentoo-commits

From: "Azamat H. Hackimov" <winterheart@××××××.ru>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gamerlay:master commit in: games-arcade/stealthbastarddeluxe/
Date: Sat, 29 Feb 2020 01:15:41
Message-Id: 1582929648.484583ea11d53ea4dfacb8a53201ce23cb4e98dd.winterheart@gentoo
1 commit: 484583ea11d53ea4dfacb8a53201ce23cb4e98dd
2 Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
3 AuthorDate: Fri Feb 28 22:40:48 2020 +0000
4 Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
5 CommitDate: Fri Feb 28 22:40:48 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=484583ea
7
8 games-arcade/stealthbastarddeluxe: update package
9
10 Migrate from deprecated eclass.
11
12 Package-Manager: Portage-2.3.84, Repoman-2.3.20
13 Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>
14
15 .../stealthbastarddeluxe-1.63.4.ebuild | 40 ++++++++--------------
16 1 file changed, 14 insertions(+), 26 deletions(-)
17
18 diff --git a/games-arcade/stealthbastarddeluxe/stealthbastarddeluxe-1.63.4.ebuild b/games-arcade/stealthbastarddeluxe/stealthbastarddeluxe-1.63.4.ebuild
19 index 8b1d1e2..606e82e 100644
20 --- a/games-arcade/stealthbastarddeluxe/stealthbastarddeluxe-1.63.4.ebuild
21 +++ b/games-arcade/stealthbastarddeluxe/stealthbastarddeluxe-1.63.4.ebuild
22 @@ -1,44 +1,33 @@
23 -# Copyright 1999-2012 Gentoo Foundation
24 +# Copyright 1999-2020 Gentoo Authors
25 # Distributed under the terms of the GNU General Public License v2
26 -# $Header: $
27
28 -EAPI="5"
29 +EAPI=7
30
31 -inherit games
32 +inherit desktop eutils multilib-minimal
33
34 TS=1371673270
35 MY_PN=StealthBastardDeluxe
36
37 -DESCRIPTION="The fast-paced, nail-biting antidote to tippy-toed sneaking simulators that the world had so desperately been craving."
38 +DESCRIPTION="The fast-paced, nail-biting antidote to tippy-toed sneaking simulators."
39 HOMEPAGE="http://www.stealthbastard.com/"
40 SRC_URI="${MY_PN}_${PV}_Linux_${TS}.tar.gz"
41
42 -LICENSE="as-is"
43 +LICENSE="all-rights-reserved"
44 SLOT="0"
45 KEYWORDS="-* ~amd64 ~x86"
46 IUSE=""
47
48 RESTRICT="fetch strip"
49
50 -DEPEND=""
51 RDEPEND="
52 - ${DEPEND}
53 - x86? (
54 - dev-libs/openssl
55 - media-libs/openal
56 - sys-libs/zlib
57 - x11-libs/libX11
58 - x11-libs/libXxf86vm
59 - )
60 - amd64? (
61 - app-emulation/emul-linux-x86-baselibs
62 - app-emulation/emul-linux-x86-sdl
63 - app-emulation/emul-linux-x86-xlibs
64 - )
65 + dev-libs/openssl[${MULTILIB_USEDEP}]
66 + media-libs/openal[${MULTILIB_USEDEP}]
67 + sys-libs/zlib[${MULTILIB_USEDEP}]
68 + x11-libs/libX11[${MULTILIB_USEDEP}]
69 + x11-libs/libXxf86vm[${MULTILIB_USEDEP}]
70 "
71
72 S="${WORKDIR}/${MY_PN}"
73 -GAMEDIR="${GAMES_PREFIX_OPT}/${PN}"
74
75 pkg_nofetch() {
76 einfo "Please download ${A}"
77 @@ -48,13 +37,12 @@ pkg_nofetch() {
78 }
79
80 src_install() {
81 - insinto "${GAMEDIR}"
82 + local dir="/opt/${PN}"
83 + insinto ${dir}
84 doins -r assets
85 - exeinto "${GAMEDIR}"
86 + exeinto ${dir}
87 doexe "${MY_PN}"
88 - games_make_wrapper "${PN}" "./${MY_PN}" "${GAMEDIR}"
89 + make_wrapper "${PN}" "./${MY_PN}" "${dir}"
90 newicon "assets/icon.png" "${PN}.png"
91 make_desktop_entry "${PN}" "${MY_PN}" "${PN}"
92 -
93 - prepgamesdirs
94 }