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-rpg/machinarium/, games-rpg/machinarium/files/
Date: Sat, 29 Feb 2020 13:05:11
Message-Id: 1582980626.057301c2bf92e67eac8bc0750d6190dcd5d1fe11.winterheart@gentoo
1 commit: 057301c2bf92e67eac8bc0750d6190dcd5d1fe11
2 Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
3 AuthorDate: Sat Feb 29 12:37:44 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=057301c2
7
8 games-rpg/machinarium: 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 games-rpg/machinarium/files/Machinarium.png | Bin 338463 -> 11185 bytes
16 games-rpg/machinarium/machinarium-1.0-r1.ebuild | 80 +++++++++++++++++++++
17 games-rpg/machinarium/machinarium-1.0.ebuild | 90 ------------------------
18 games-rpg/machinarium/metadata.xml | 13 ++--
19 4 files changed, 86 insertions(+), 97 deletions(-)
20
21 diff --git a/games-rpg/machinarium/files/Machinarium.png b/games-rpg/machinarium/files/Machinarium.png
22 index 78a9e13..8b79c99 100644
23 Binary files a/games-rpg/machinarium/files/Machinarium.png and b/games-rpg/machinarium/files/Machinarium.png differ
24
25 diff --git a/games-rpg/machinarium/machinarium-1.0-r1.ebuild b/games-rpg/machinarium/machinarium-1.0-r1.ebuild
26 new file mode 100644
27 index 0000000..ef34188
28 --- /dev/null
29 +++ b/games-rpg/machinarium/machinarium-1.0-r1.ebuild
30 @@ -0,0 +1,80 @@
31 +# Copyright 1999-2020 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +inherit desktop eutils multilib-minimal
37 +
38 +DESCRIPTION="Point-and-click adventure about robot in steam-punk world"
39 +HOMEPAGE="http://machinarium.net/"
40 +
41 +SLOT="0"
42 +LICENSE="all-rights-reserved"
43 +KEYWORDS="-* ~amd64 ~x86"
44 +RESTRICT="fetch mirror"
45 +IUSE=""
46 +
47 +MY_PN="${PN/ma/Ma}"
48 +SRC_URI="${MY_PN}_full_en.tar.gz"
49 +
50 +RDEPEND="
51 + app-arch/bzip2[${MULTILIB_USEDEP}]
52 + dev-libs/atk[${MULTILIB_USEDEP}]
53 + dev-libs/expat[${MULTILIB_USEDEP}]
54 + dev-libs/glib[${MULTILIB_USEDEP}]
55 + dev-libs/libffi[${MULTILIB_USEDEP}]
56 + dev-libs/nspr[${MULTILIB_USEDEP}]
57 + dev-libs/nss[${MULTILIB_USEDEP}]
58 + media-libs/fontconfig[${MULTILIB_USEDEP}]
59 + media-libs/freetype:2[${MULTILIB_USEDEP}]
60 + media-libs/libpng-compat:1.5[${MULTILIB_USEDEP}]
61 + virtual/opengl[${MULTILIB_USEDEP}]
62 + sys-apps/util-linux[${MULTILIB_USEDEP}]
63 + sys-libs/zlib[${MULTILIB_USEDEP}]
64 + x11-libs/cairo[${MULTILIB_USEDEP}]
65 + x11-libs/gdk-pixbuf[${MULTILIB_USEDEP}]
66 + x11-libs/gtk+:2[${MULTILIB_USEDEP}]
67 + x11-libs/libdrm[${MULTILIB_USEDEP}]
68 + x11-libs/libICE[${MULTILIB_USEDEP}]
69 + x11-libs/libSM[${MULTILIB_USEDEP}]
70 + x11-libs/libX11[${MULTILIB_USEDEP}]
71 + x11-libs/libXau[${MULTILIB_USEDEP}]
72 + x11-libs/libxcb[${MULTILIB_USEDEP}]
73 + x11-libs/libXcomposite[${MULTILIB_USEDEP}]
74 + x11-libs/libXcursor[${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/libXi[${MULTILIB_USEDEP}]
80 + x11-libs/libXinerama[${MULTILIB_USEDEP}]
81 + x11-libs/libXrandr[${MULTILIB_USEDEP}]
82 + x11-libs/libXrender[${MULTILIB_USEDEP}]
83 + x11-libs/libXt[${MULTILIB_USEDEP}]
84 + x11-libs/libXxf86vm[${MULTILIB_USEDEP}]
85 + x11-libs/pango[${MULTILIB_USEDEP}]
86 + x11-libs/pixman[${MULTILIB_USEDEP}]
87 +"
88 +DEPEND="${RDEPEND}"
89 +
90 +S="${WORKDIR}/${MY_PN}"
91 +
92 +pkg_nofetch() {
93 + ewarn
94 + ewarn "Place ${A} to ${DISTDIR}"
95 + ewarn
96 +}
97 +
98 +src_install() {
99 + local dir="/opt/${PN}"
100 +
101 + insinto "${dir}"
102 + exeinto "${dir}"
103 + doexe "${MY_PN}"
104 + rm "${MY_PN}"
105 + doins -r *
106 +
107 + make_wrapper "${PN}" "./${MY_PN}" "${dir}"
108 + doicon "${FILESDIR}/${MY_PN}.png"
109 + make_desktop_entry "${PN}" "${MY_PN}" "${MY_PN}"
110 +}
111
112 diff --git a/games-rpg/machinarium/machinarium-1.0.ebuild b/games-rpg/machinarium/machinarium-1.0.ebuild
113 deleted file mode 100644
114 index 223eb7b..0000000
115 --- a/games-rpg/machinarium/machinarium-1.0.ebuild
116 +++ /dev/null
117 @@ -1,90 +0,0 @@
118 -# Copyright 1999-2012 Gentoo Foundation
119 -# Distributed under the terms of the GNU General Public License v2
120 -# $Header: $
121 -
122 -EAPI="5"
123 -
124 -inherit games multilib
125 -
126 -DESCRIPTION="Point-and-click adventure about robot in steam-punk world"
127 -HOMEPAGE="http://machinarium.net/"
128 -
129 -SLOT="0"
130 -LICENSE="as-is"
131 -KEYWORDS="-* ~amd64 ~x86"
132 -RESTRICT="fetch mirror"
133 -IUSE="multilib"
134 -
135 -MY_PN="${PN/ma/Ma}"
136 -SRC_URI="${MY_PN}_full_en.tar.gz"
137 -
138 -RDEPEND="
139 - app-arch/bzip2
140 - dev-libs/atk
141 - dev-libs/expat
142 - dev-libs/glib
143 - dev-libs/libffi
144 - dev-libs/nspr
145 - dev-libs/nss
146 - media-libs/fontconfig
147 - media-libs/freetype:2
148 - =media-libs/libpng-1.5*
149 - virtual/opengl
150 - sys-apps/util-linux
151 - sys-libs/zlib
152 - x11-libs/cairo
153 - x11-libs/gdk-pixbuf
154 - x11-libs/gtk+
155 - x11-libs/libdrm
156 - x11-libs/libICE
157 - x11-libs/libSM
158 - x11-libs/libX11
159 - x11-libs/libXau
160 - x11-libs/libxcb
161 - x11-libs/libXcomposite
162 - x11-libs/libXcursor
163 - x11-libs/libXdamage
164 - x11-libs/libXdmcp
165 - x11-libs/libXext
166 - x11-libs/libXfixes
167 - x11-libs/libXi
168 - x11-libs/libXinerama
169 - x11-libs/libXrandr
170 - x11-libs/libXrender
171 - x11-libs/libXt
172 - x11-libs/libXxf86vm
173 - x11-libs/pango
174 - x11-libs/pixman
175 - amd64? (
176 - app-emulation/emul-linux-x86-baselibs
177 - app-emulation/emul-linux-x86-gtklibs
178 - app-emulation/emul-linux-x86-opengl
179 - app-emulation/emul-linux-x86-xlibs
180 - )
181 -"
182 -DEPEND="${RDEPEND}"
183 -
184 -S="${WORKDIR}/${MY_PN}"
185 -
186 -REQUIRED_USE="amd64? ( multilib )"
187 -pkg_nofetch() {
188 - ewarn
189 - ewarn "Place ${A} to ${DISTDIR}"
190 - ewarn
191 -}
192 -
193 -src_install() {
194 - local dir="${GAMES_PREFIX_OPT}/${PN}"
195 -
196 - insinto "${dir}"
197 - exeinto "${dir}"
198 - doexe "${MY_PN}"
199 - rm "${MY_PN}"
200 - doins -r *
201 -
202 - games_make_wrapper "${PN}" "./${MY_PN}" "${dir}"
203 - doicon "${FILESDIR}/${MY_PN}.png"
204 - make_desktop_entry "${PN}" "${MY_PN}" "${MY_PN}"
205 -
206 - prepgamesdirs
207 -}
208
209 diff --git a/games-rpg/machinarium/metadata.xml b/games-rpg/machinarium/metadata.xml
210 index 23da526..460d202 100644
211 --- a/games-rpg/machinarium/metadata.xml
212 +++ b/games-rpg/machinarium/metadata.xml
213 @@ -1,14 +1,13 @@
214 <?xml version="1.0" encoding="UTF-8"?>
215 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
216 <pkgmetadata>
217 -<maintainer>
218 - <email>mva@×××.name</email>
219 - <description>
220 - If you have any issues, please contact me, or try to find me in IRC on Freenode, OFTC or RusNet.
221 - </description>
222 - <name>Vadim A. Misbakh-Soloviov</name>
223 +<maintainer type="person">
224 +<email>mva@×××.name</email>
225 +<description>
226 +If you have any issues, please contact me, or try to find me in IRC on Freenode, OFTC or RusNet.
227 +</description>
228 +<name>Vadim A. Misbakh-Soloviov</name>
229 </maintainer>
230 -<longdescription>FIXME</longdescription>
231 <use>
232 </use>
233 </pkgmetadata>