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-strategy/anomaly-mobilecampaign/
Date: Wed, 04 Mar 2020 00:08:35
Message-Id: 1583274920.a788cd721053f75f11688537b7b16fc5e496a407.winterheart@gentoo
1 commit: a788cd721053f75f11688537b7b16fc5e496a407
2 Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
3 AuthorDate: Tue Mar 3 22:35:20 2020 +0000
4 Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
5 CommitDate: Tue Mar 3 22:35:20 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=a788cd72
7
8 games-strategy/anomaly-mobilecampaign: update package
9
10 Migrate from deprecated eclass.
11
12 Package-Manager: Portage-2.3.89, Repoman-2.3.20
13 Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>
14
15 ...d => anomaly-mobilecampaign-20130613-r1.ebuild} | 50 ++++++++--------------
16 games-strategy/anomaly-mobilecampaign/metadata.xml | 2 +-
17 2 files changed, 20 insertions(+), 32 deletions(-)
18
19 diff --git a/games-strategy/anomaly-mobilecampaign/anomaly-mobilecampaign-20130613.ebuild b/games-strategy/anomaly-mobilecampaign/anomaly-mobilecampaign-20130613-r1.ebuild
20 similarity index 55%
21 rename from games-strategy/anomaly-mobilecampaign/anomaly-mobilecampaign-20130613.ebuild
22 rename to games-strategy/anomaly-mobilecampaign/anomaly-mobilecampaign-20130613-r1.ebuild
23 index e0e1239..f31afbc 100644
24 --- a/games-strategy/anomaly-mobilecampaign/anomaly-mobilecampaign-20130613.ebuild
25 +++ b/games-strategy/anomaly-mobilecampaign/anomaly-mobilecampaign-20130613-r1.ebuild
26 @@ -1,50 +1,40 @@
27 -# Copyright 1999-2012 Gentoo Foundation
28 +# Copyright 1999-2020 Gentoo Authors
29 # Distributed under the terms of the GNU General Public License v2
30 -# $Header: $
31
32 -EAPI="5"
33 +EAPI=7
34
35 -inherit unpacker games
36 +inherit desktop eutils multilib-minimal unpacker
37
38 -DESCRIPTION="An extraordinary mixture of action and strategy in a reversed tower defense formula."
39 +DESCRIPTION="An extraordinary mixture of action and strategy/"
40 HOMEPAGE="http://www.anomalythegame.com/"
41 # Is it non-HiB distfile?
42 SRC_URI="AnomalyMobileCampaign-lin_1371139237-Installer"
43 RESTRICT="fetch strip"
44 -LICENSE="as-is"
45 +LICENSE="all-rights-reserved"
46 SLOT="0"
47 KEYWORDS="-* ~amd64 ~x86"
48 -IUSE="multilib"
49 +IUSE=""
50
51 DEPEND=""
52 RDEPEND="
53 - x86? (
54 - media-libs/openal
55 - x11-libs/libdrm
56 - x11-libs/libX11
57 - x11-libs/libXau
58 - x11-libs/libxcb
59 - x11-libs/libXdamage
60 - x11-libs/libXdmcp
61 - x11-libs/libXext
62 - x11-libs/libXfixes
63 - x11-libs/libXxf86vm
64 - )
65 - amd64? (
66 - app-emulation/emul-linux-x86-xlibs
67 - app-emulation/emul-linux-x86-opengl
68 - app-emulation/emul-linux-x86-sdl
69 - )
70 + media-libs/openal[${MULTILIB_USEDEP}]
71 + x11-libs/libdrm[${MULTILIB_USEDEP}]
72 + x11-libs/libX11[${MULTILIB_USEDEP}]
73 + x11-libs/libXau[${MULTILIB_USEDEP}]
74 + x11-libs/libxcb[${MULTILIB_USEDEP}]
75 + x11-libs/libXdamage[${MULTILIB_USEDEP}]
76 + x11-libs/libXdmcp[${MULTILIB_USEDEP}]
77 + x11-libs/libXext[${MULTILIB_USEDEP}]
78 + x11-libs/libXfixes[${MULTILIB_USEDEP}]
79 + x11-libs/libXxf86vm[${MULTILIB_USEDEP}]
80 virtual/opengl
81 app-arch/unzip
82 "
83
84 -REQUIRED_USE="amd64? ( multilib )"
85 -
86 S="${WORKDIR}"
87
88 src_unpack() {
89 - unpack_zip "${A}"
90 + unpack_zip ${A}
91 }
92
93 pkg_nofetch() {
94 @@ -55,11 +45,11 @@ pkg_nofetch() {
95
96 src_install() {
97 cd "${S}/data"
98 - local dir="${GAMES_PREFIX_OPT}/${PN}"
99 + local dir="/opt/${PN}"
100
101 newicon "icon.png" "${PN}.png"
102 make_desktop_entry "${PN}" "Anomaly: Warzone Earth. Mobile Campaign" "${PN}"
103 - games_make_wrapper "${PN}" "./AnomalyMobileCampaign" "${dir}"
104 + make_wrapper "${PN}" "./AnomalyMobileCampaign" "${dir}"
105 dodoc README
106 exeinto "${dir}"
107 doexe "AnomalyMobileCampaign"
108 @@ -73,6 +63,4 @@ src_install() {
109 "Copyright license Xpm"
110 insinto "${dir}"
111 doins -r .
112 -
113 - prepgamesdirs
114 }
115
116 diff --git a/games-strategy/anomaly-mobilecampaign/metadata.xml b/games-strategy/anomaly-mobilecampaign/metadata.xml
117 index 70137f0..599fe17 100644
118 --- a/games-strategy/anomaly-mobilecampaign/metadata.xml
119 +++ b/games-strategy/anomaly-mobilecampaign/metadata.xml
120 @@ -1,7 +1,7 @@
121 <?xml version="1.0" encoding="UTF-8"?>
122 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
123 <pkgmetadata>
124 -<maintainer>
125 +<maintainer type="person">
126 <email>mva@×××.name</email>
127 <name>Vadim A. Misbakh-Soloviov</name>
128 </maintainer>