1 |
commit: 9cd563c8d50c27359c2fa270a02dc088739e74ce |
2 |
Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com> |
3 |
AuthorDate: Sat Feb 29 12:43:17 2020 +0000 |
4 |
Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru> |
5 |
CommitDate: Sat Feb 29 12:50:26 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=9cd563c8 |
7 |
|
8 |
games-rpg/torchlight: update package |
9 |
|
10 |
Migrated 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 |
games-rpg/torchlight/metadata.xml | 13 ++- |
16 |
.../torchlight/torchlight-1.15.20120926.ebuild | 109 --------------------- |
17 |
...1.ebuild => torchlight-1.15.20130521-r1.ebuild} | 17 ++-- |
18 |
3 files changed, 13 insertions(+), 126 deletions(-) |
19 |
|
20 |
diff --git a/games-rpg/torchlight/metadata.xml b/games-rpg/torchlight/metadata.xml |
21 |
index 23da526..460d202 100644 |
22 |
--- a/games-rpg/torchlight/metadata.xml |
23 |
+++ b/games-rpg/torchlight/metadata.xml |
24 |
@@ -1,14 +1,13 @@ |
25 |
<?xml version="1.0" encoding="UTF-8"?> |
26 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
27 |
<pkgmetadata> |
28 |
-<maintainer> |
29 |
- <email>mva@×××.name</email> |
30 |
- <description> |
31 |
- If you have any issues, please contact me, or try to find me in IRC on Freenode, OFTC or RusNet. |
32 |
- </description> |
33 |
- <name>Vadim A. Misbakh-Soloviov</name> |
34 |
+<maintainer type="person"> |
35 |
+<email>mva@×××.name</email> |
36 |
+<description> |
37 |
+If you have any issues, please contact me, or try to find me in IRC on Freenode, OFTC or RusNet. |
38 |
+</description> |
39 |
+<name>Vadim A. Misbakh-Soloviov</name> |
40 |
</maintainer> |
41 |
-<longdescription>FIXME</longdescription> |
42 |
<use> |
43 |
</use> |
44 |
</pkgmetadata> |
45 |
|
46 |
diff --git a/games-rpg/torchlight/torchlight-1.15.20120926.ebuild b/games-rpg/torchlight/torchlight-1.15.20120926.ebuild |
47 |
deleted file mode 100644 |
48 |
index 49c9734..0000000 |
49 |
--- a/games-rpg/torchlight/torchlight-1.15.20120926.ebuild |
50 |
+++ /dev/null |
51 |
@@ -1,109 +0,0 @@ |
52 |
-# Copyright 1999-2012 Gentoo Foundation |
53 |
-# Distributed under the terms of the GNU General Public License v2 |
54 |
-# $Header: $ |
55 |
- |
56 |
-EAPI="4" |
57 |
- |
58 |
-inherit games multilib unpacker-nixstaller |
59 |
- |
60 |
-TIMESTAMP="2012-09-26" |
61 |
- |
62 |
-DESCRIPTION="An action role-playing game, made by the creators of Diablo" |
63 |
-HOMEPAGE="http://torchlightgame.com/" |
64 |
- |
65 |
-SLOT="0" |
66 |
-LICENSE="as-is" |
67 |
-KEYWORDS="-* ~amd64 ~x86" |
68 |
-RESTRICT="fetch" |
69 |
-IUSE="" |
70 |
- |
71 |
-SRC_URI="Torchlight-${TIMESTAMP}.sh" |
72 |
- |
73 |
-RDEPEND="app-arch/bzip2 |
74 |
- app-arch/xz-utils |
75 |
- dev-libs/expat |
76 |
- dev-libs/zziplib |
77 |
- media-libs/fontconfig |
78 |
- media-libs/freeimage |
79 |
- media-libs/freetype |
80 |
- media-libs/ilmbase |
81 |
- media-libs/lcms |
82 |
- media-libs/libjpeg-turbo |
83 |
- media-libs/libpng |
84 |
- media-libs/libraw |
85 |
- media-libs/openexr |
86 |
- media-libs/openjpeg |
87 |
- media-libs/tiff |
88 |
- sys-apps/util-linux |
89 |
- sys-libs/zlib |
90 |
- x11-libs/libdrm |
91 |
- x11-libs/libICE |
92 |
- x11-libs/libSM |
93 |
- x11-libs/libX11 |
94 |
- x11-libs/libXau |
95 |
- x11-libs/libXaw |
96 |
- x11-libs/libxcb |
97 |
- x11-libs/libXdamage |
98 |
- x11-libs/libXdmcp |
99 |
- x11-libs/libXext |
100 |
- x11-libs/libXfixes |
101 |
- x11-libs/libXft |
102 |
- x11-libs/libXi |
103 |
- x11-libs/libXinerama |
104 |
- x11-libs/libXmu |
105 |
- x11-libs/libXpm |
106 |
- x11-libs/libXrandr |
107 |
- x11-libs/libXrender |
108 |
- x11-libs/libXt |
109 |
- x11-libs/libXxf86vm" |
110 |
-DEPEND="${RDEPEND}" |
111 |
- |
112 |
-S="${WORKDIR}" |
113 |
-MY_PN="Torchlight" |
114 |
- |
115 |
-pkg_nofetch() { |
116 |
- ewarn |
117 |
- ewarn "Place ${A} to ${DISTDIR}" |
118 |
- ewarn |
119 |
-} |
120 |
- |
121 |
-src_unpack() { |
122 |
- local arch; |
123 |
- use x86 && arch="x86" |
124 |
- use amd64 && arch="x86_64" |
125 |
- |
126 |
- nixstaller_unpack "subarch" \ |
127 |
- "instarchive_all" \ |
128 |
- "instarchive_linux_${arch}" \ |
129 |
- "deps/Ogre/Ogre_files_linux_${arch}" \ |
130 |
- "deps/fmod/fmod_files_linux_${arch}" \ |
131 |
- "deps/pcre/pcre_files_linux_${arch}" \ |
132 |
- "deps/SDL2/SDL2_files_linux_${arch}" \ |
133 |
- "deps/CEGUI/CEGUI_files_linux_${arch}" |
134 |
- # We just installed some crap to avoid broken depends |
135 |
-} |
136 |
- |
137 |
-src_install() { |
138 |
- local dir="${GAMES_PREFIX_OPT}/${PN}" |
139 |
- |
140 |
- insinto "${dir}" |
141 |
- doins -r icons music logo.bmp pak.zip resources.cfg "$(get_libdir)" |
142 |
- exeinto "${dir}" |
143 |
- |
144 |
- local exe |
145 |
- if use amd64 ; then |
146 |
- exe="${MY_PN}".bin.x86_64 |
147 |
- fi |
148 |
- if use x86 ; then |
149 |
- exe="${MY_PN}".bin.x86 |
150 |
- fi |
151 |
- |
152 |
- doexe "${exe}" |
153 |
- |
154 |
- games_make_wrapper "${PN}" "./${exe}" "${dir}" "${dir}/$(get_libdir)" |
155 |
- doicon "${MY_PN}.png" || die |
156 |
- make_desktop_entry "${PN}" "${MY_PN}" "${MY_PN}" |
157 |
- |
158 |
- dodoc README.linux |
159 |
- prepgamesdirs |
160 |
-} |
161 |
|
162 |
diff --git a/games-rpg/torchlight/torchlight-1.15.20130521.ebuild b/games-rpg/torchlight/torchlight-1.15.20130521-r1.ebuild |
163 |
similarity index 86% |
164 |
rename from games-rpg/torchlight/torchlight-1.15.20130521.ebuild |
165 |
rename to games-rpg/torchlight/torchlight-1.15.20130521-r1.ebuild |
166 |
index 72f580f..63dc8c1 100644 |
167 |
--- a/games-rpg/torchlight/torchlight-1.15.20130521.ebuild |
168 |
+++ b/games-rpg/torchlight/torchlight-1.15.20130521-r1.ebuild |
169 |
@@ -1,10 +1,9 @@ |
170 |
-# Copyright 1999-2012 Gentoo Foundation |
171 |
+# Copyright 1999-2020 Gentoo Authors |
172 |
# Distributed under the terms of the GNU General Public License v2 |
173 |
-# $Header: $ |
174 |
|
175 |
-EAPI="5" |
176 |
+EAPI=7 |
177 |
|
178 |
-inherit games multilib unpacker-nixstaller |
179 |
+inherit desktop eutils unpacker-nixstaller |
180 |
|
181 |
TIMESTAMP="2013-05-21" |
182 |
|
183 |
@@ -12,7 +11,7 @@ DESCRIPTION="An action role-playing game, made by the creators of Diablo" |
184 |
HOMEPAGE="http://torchlightgame.com/" |
185 |
|
186 |
SLOT="0" |
187 |
-LICENSE="as-is" |
188 |
+LICENSE="all-rights-reserved" |
189 |
KEYWORDS="-* ~amd64 ~x86" |
190 |
RESTRICT="fetch" |
191 |
|
192 |
@@ -27,14 +26,13 @@ RDEPEND="app-arch/bzip2 |
193 |
media-libs/freetype |
194 |
media-libs/ilmbase |
195 |
media-libs/lcms |
196 |
- media-libs/libjpeg-turbo |
197 |
media-libs/libpng |
198 |
media-libs/libraw |
199 |
media-libs/openexr |
200 |
- media-libs/openjpeg |
201 |
media-libs/tiff |
202 |
sys-apps/util-linux |
203 |
sys-libs/zlib |
204 |
+ virtual/jpeg |
205 |
x11-libs/libdrm |
206 |
x11-libs/libICE |
207 |
x11-libs/libSM |
208 |
@@ -88,7 +86,7 @@ src_unpack() { |
209 |
} |
210 |
|
211 |
src_install() { |
212 |
- local dir="${GAMES_PREFIX_OPT}/${PN}" |
213 |
+ local dir="/opt/${PN}" |
214 |
|
215 |
insinto "${dir}" |
216 |
doins -r icons music logo.bmp pak.zip resources.cfg "$(get_libdir)" |
217 |
@@ -104,10 +102,9 @@ src_install() { |
218 |
|
219 |
doexe "${exe}" |
220 |
|
221 |
- games_make_wrapper "${PN}" "./${exe}" "${dir}" "${dir}/$(get_libdir)" |
222 |
+ make_wrapper "${PN}" "./${exe}" "${dir}" "${dir}/$(get_libdir)" |
223 |
doicon "${MY_PN}.png" || die |
224 |
make_desktop_entry "${PN}" "${MY_PN}" "${MY_PN}" |
225 |
|
226 |
dodoc README.linux |
227 |
- prepgamesdirs |
228 |
} |