1 |
commit: 806ee973c3b741366e4537da6ba911601d2cede5 |
2 |
Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue Mar 3 22:31:40 2020 +0000 |
4 |
Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru> |
5 |
CommitDate: Tue Mar 3 22:31:40 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=806ee973 |
7 |
|
8 |
games-strategy/anomaly-korea: update package |
9 |
|
10 |
Migrated 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 |
...613.ebuild => anomaly-korea-20130613-r1.ebuild} | 50 ++++++++-------------- |
16 |
games-strategy/anomaly-korea/metadata.xml | 2 +- |
17 |
2 files changed, 20 insertions(+), 32 deletions(-) |
18 |
|
19 |
diff --git a/games-strategy/anomaly-korea/anomaly-korea-20130613.ebuild b/games-strategy/anomaly-korea/anomaly-korea-20130613-r1.ebuild |
20 |
similarity index 53% |
21 |
rename from games-strategy/anomaly-korea/anomaly-korea-20130613.ebuild |
22 |
rename to games-strategy/anomaly-korea/anomaly-korea-20130613-r1.ebuild |
23 |
index 627f322..a19bd40 100644 |
24 |
--- a/games-strategy/anomaly-korea/anomaly-korea-20130613.ebuild |
25 |
+++ b/games-strategy/anomaly-korea/anomaly-korea-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 eutils desktop 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="AnomalyKorea-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: Korea" "${PN}" |
103 |
- games_make_wrapper "${PN}" "./AnomalyKorea" "${dir}" |
104 |
+ make_wrapper "${PN}" "./AnomalyKorea" "${dir}" |
105 |
dodoc README |
106 |
exeinto "${dir}" |
107 |
doexe "AnomalyKorea" |
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-korea/metadata.xml b/games-strategy/anomaly-korea/metadata.xml |
117 |
index 70137f0..599fe17 100644 |
118 |
--- a/games-strategy/anomaly-korea/metadata.xml |
119 |
+++ b/games-strategy/anomaly-korea/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> |