1 |
joker 08/04/24 20:26:29 |
2 |
|
3 |
Added: metadata.xml sdlmame-0.124_p3.ebuild ChangeLog |
4 |
sdlmame-0.124.ebuild Manifest |
5 |
Log: |
6 |
Initial release |
7 |
(Portage version: 2.1.4.4) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 games-emulation/sdlmame/metadata.xml |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-emulation/sdlmame/metadata.xml?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-emulation/sdlmame/metadata.xml?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: metadata.xml |
16 |
=================================================================== |
17 |
<?xml version="1.0" encoding="UTF-8"?> |
18 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
19 |
<pkgmetadata> |
20 |
<herd>games</herd> |
21 |
<maintainer> |
22 |
<email>joker@g.o</email> |
23 |
<name>Christian Birchinger</name> |
24 |
<description>Please assign bugs to games@g.o and CC me.</description> |
25 |
</maintainer> |
26 |
<longdescription> |
27 |
SDLMAME is a port of the popular MAME[tm]. There are a few principles that guide it's development: |
28 |
|
29 |
1) run on Linux/Unix, Mac OS X, and other SDL supported operating systems with as few changes as |
30 |
possible to the base Win32 code. This means we can track changes faster than larger more conventional |
31 |
ports such as MacMAME, and we also maintain what I call "Firefox compatibilty" where learning a major |
32 |
app only needs to be done once per application, and it then applies across many operating systems. If |
33 |
you can use the command-line Win32 MAME, you already know how to use SDLMAME on any platform you may |
34 |
encounter it on. |
35 |
|
36 |
2) MAME developers are important. By keeping quickly up to date, we make it easy for people on |
37 |
non-Windows platforms to make and submit changes to the core MAME code, and we offer native |
38 |
implementations of MAME's multi-window GUI debugger on both Linux/Unix and Mac OS X. |
39 |
</longdescription> |
40 |
</pkgmetadata> |
41 |
|
42 |
|
43 |
|
44 |
1.1 games-emulation/sdlmame/sdlmame-0.124_p3.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-emulation/sdlmame/sdlmame-0.124_p3.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-emulation/sdlmame/sdlmame-0.124_p3.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: sdlmame-0.124_p3.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2008 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/games-emulation/sdlmame/sdlmame-0.124_p3.ebuild,v 1.1 2008/04/24 20:26:29 joker Exp $ |
54 |
|
55 |
inherit eutils flag-o-matic games |
56 |
|
57 |
DESCRIPTION="Multiple Arcade Machine Emulator (SDL)" |
58 |
HOMEPAGE="http://rbelmont.mameworld.info/?page_id=163" |
59 |
|
60 |
MY_PV=${PV/.} |
61 |
MY_PV=${MY_PV/_p/u} |
62 |
MY_P=${PN}${MY_PV} |
63 |
|
64 |
# Upstream doesn't allow fetching with unknown User-Agent such as wget |
65 |
SRC_URI="mirror://gentoo/${MY_P}.zip |
66 |
mirror://gentoo/${PN}-manpages.tar.gz" |
67 |
|
68 |
# Same as xmame. Should it be renamed to MAME? |
69 |
LICENSE="XMAME" |
70 |
SLOT="0" |
71 |
KEYWORDS="~amd64 ~ppc ~x86" |
72 |
IUSE="debug opengl" |
73 |
|
74 |
RDEPEND=">=media-libs/libsdl-1.2.10 |
75 |
sys-libs/zlib |
76 |
dev-libs/expat |
77 |
x11-libs/libXinerama |
78 |
debug? ( |
79 |
>gnome-base/gconf-2 |
80 |
>=x11-libs/gtk+-2 )" |
81 |
|
82 |
DEPEND="${RDEPEND} |
83 |
app-arch/unzip |
84 |
x11-proto/xineramaproto" |
85 |
|
86 |
S="${WORKDIR}/${MY_P}" |
87 |
|
88 |
# Function to disable a makefile option |
89 |
disable_feature() { |
90 |
sed -i \ |
91 |
-e "/$1.*=/s:^:# :" \ |
92 |
"${S}"/makefile \ |
93 |
|| die "sed failed" |
94 |
} |
95 |
|
96 |
# Function to enable a makefile option |
97 |
enable_feature() { |
98 |
sed -i \ |
99 |
-e "/^#.*$1.*=/s:^# ::" \ |
100 |
"${S}"/makefile \ |
101 |
|| die "sed failed" |
102 |
} |
103 |
|
104 |
pkg_setup() { |
105 |
if use opengl && ! built_with_use media-libs/libsdl opengl ; then |
106 |
die "Please emerge media-libs/libsdl with USE=opengl" |
107 |
fi |
108 |
games_pkg_setup |
109 |
} |
110 |
|
111 |
src_unpack() { |
112 |
unpack ${A} |
113 |
sed -i \ |
114 |
-e '/CFLAGS += -O$(OPTIMIZE)/s:^:# :' \ |
115 |
-e '/CFLAGS += -pipe/s:^:# :' \ |
116 |
-e '/LDFLAGS += -s/s:^:# :' \ |
117 |
"${S}"/makefile \ |
118 |
|| die "sed failed" |
119 |
|
120 |
# CFLAGS and build debugging help |
121 |
#sed -i \ |
122 |
# -e "/^\(AR\|CC\|LD\|RM\) =/s:@::" \ |
123 |
# -i "${S}"/makefile |
124 |
} |
125 |
|
126 |
src_compile() { |
127 |
local make_opts |
128 |
|
129 |
# Don't compile zlib and expat |
130 |
einfo "Disabling embedded libraries: zlib and expat" |
131 |
disable_feature BUILD_ZLIB |
132 |
disable_feature BUILD_EXPAT |
133 |
|
134 |
if use amd64; then |
135 |
einfo "Enabling 64-bit support" |
136 |
enable_feature PTR64 |
137 |
fi |
138 |
|
139 |
if use ppc; then |
140 |
einfo "Enabling PPC support" |
141 |
enable_feature BIGENDIAN |
142 |
fi |
143 |
|
144 |
if use debug ; then |
145 |
ewarn "Building with DEBUG support is not recommended for normal use" |
146 |
enable_feature DEBUG |
147 |
enable_feature PROFILE |
148 |
enable_feature SYMBOLS |
149 |
make_opts="${make_opts} DEBUGGER=1" |
150 |
fi |
151 |
|
152 |
use opengl || make_opts="${make_opts} NO_OPENGL=1" |
153 |
|
154 |
emake \ |
155 |
NAME="${PN}" \ |
156 |
OPT_FLAGS='-DINI_PATH=\"\$$HOME/.sdlmame\;'"${GAMES_SYSCONFDIR}/${PN}"'\"'" ${CFLAGS}" \ |
157 |
SUFFIX="" \ |
158 |
${make_opts} \ |
159 |
|| die "emake failed" |
160 |
} |
161 |
|
162 |
src_install() { |
163 |
dogamesbin "${PN}" || die "dogamesbin "${PN}" failed" |
164 |
|
165 |
# Follows xmame ebuild, avoiding collision on /usr/games/bin/jedutil |
166 |
exeinto "$(games_get_libdir)/${PN}" |
167 |
local f |
168 |
for f in chdman makemeta jedutil romcmp testkeys; do |
169 |
doexe "${f}" || die "doexe ${f} failed" |
170 |
done |
171 |
|
172 |
insinto "${GAMES_DATADIR}/${PN}" |
173 |
doins ui.bdf || die "doins ui.bdf failed" |
174 |
doins -r keymaps || die "doins -r keymaps failed" |
175 |
|
176 |
insinto "${GAMES_SYSCONFDIR}/${PN}" |
177 |
doins "${FILESDIR}"/{joymap.dat,vector.ini} || die "doins joymap.dat vector.ini failed" |
178 |
|
179 |
sed \ |
180 |
-e "s:@GAMES_SYSCONFDIR@:${GAMES_SYSCONFDIR}:" \ |
181 |
-e "s:@GAMES_DATADIR@:${GAMES_DATADIR}:" \ |
182 |
"${FILESDIR}"/mame.ini.in > "${D}/${GAMES_SYSCONFDIR}/${PN}/"mame.ini \ |
183 |
|| die "sed failed" |
184 |
|
185 |
dodoc docs/{config,mame,newvideo}.txt *.txt |
186 |
doman "${WORKDIR}/${PN}-manpages"/* |
187 |
|
188 |
keepdir "${GAMES_DATADIR}/${PN}"/{roms,samples,artwork} |
189 |
keepdir "${GAMES_SYSCONFDIR}/${PN}"/ctrlr |
190 |
|
191 |
prepgamesdirs |
192 |
} |
193 |
|
194 |
pkg_postinst() { |
195 |
games_pkg_postinst |
196 |
|
197 |
elog "It's strongly recommended that you change either the system-wide" |
198 |
elog "mame.ini at ${GAMES_SYSCONFDIR}/${PN} or use a per-user setup at \$HOME/.${PN}" |
199 |
|
200 |
if use opengl; then |
201 |
echo |
202 |
elog "You built ${PN} with opengl support and should set" |
203 |
elog "\"video\" to \"opengl\" in mame.ini to take advantage of that" |
204 |
fi |
205 |
} |
206 |
|
207 |
|
208 |
|
209 |
1.1 games-emulation/sdlmame/ChangeLog |
210 |
|
211 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-emulation/sdlmame/ChangeLog?rev=1.1&view=markup |
212 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-emulation/sdlmame/ChangeLog?rev=1.1&content-type=text/plain |
213 |
|
214 |
Index: ChangeLog |
215 |
=================================================================== |
216 |
# ChangeLog for games-emulation/sdlmame |
217 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
218 |
# $Header: /var/cvsroot/gentoo-x86/games-emulation/sdlmame/ChangeLog,v 1.1 2008/04/24 20:26:29 joker Exp $ |
219 |
|
220 |
*sdlmame-0.124_p3 (24 Apr 2008) |
221 |
*sdlmame-0.124 (24 Apr 2008) |
222 |
|
223 |
24 Apr 2008; Christian Birchinger <joker@g.o> +files/joymap.dat, |
224 |
+files/mame.ini.in, +files/vector.ini, +metadata.xml, |
225 |
+sdlmame-0.124.ebuild, +sdlmame-0.124_p3.ebuild: |
226 |
Initial release |
227 |
|
228 |
|
229 |
|
230 |
|
231 |
1.1 games-emulation/sdlmame/sdlmame-0.124.ebuild |
232 |
|
233 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-emulation/sdlmame/sdlmame-0.124.ebuild?rev=1.1&view=markup |
234 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-emulation/sdlmame/sdlmame-0.124.ebuild?rev=1.1&content-type=text/plain |
235 |
|
236 |
Index: sdlmame-0.124.ebuild |
237 |
=================================================================== |
238 |
# Copyright 1999-2008 Gentoo Foundation |
239 |
# Distributed under the terms of the GNU General Public License v2 |
240 |
# $Header: /var/cvsroot/gentoo-x86/games-emulation/sdlmame/sdlmame-0.124.ebuild,v 1.1 2008/04/24 20:26:29 joker Exp $ |
241 |
|
242 |
inherit eutils flag-o-matic games |
243 |
|
244 |
DESCRIPTION="Multiple Arcade Machine Emulator (SDL)" |
245 |
HOMEPAGE="http://rbelmont.mameworld.info/?page_id=163" |
246 |
|
247 |
MY_PV=${PV/.} |
248 |
MY_PV=${MY_PV/_p/u} |
249 |
MY_P=${PN}${MY_PV} |
250 |
|
251 |
# Upstream doesn't allow fetching with unknown User-Agent such as wget |
252 |
SRC_URI="mirror://gentoo/${MY_P}.zip |
253 |
mirror://gentoo/${PN}-manpages.tar.gz" |
254 |
|
255 |
# Same as xmame. Should it be renamed to MAME? |
256 |
LICENSE="XMAME" |
257 |
SLOT="0" |
258 |
KEYWORDS="~amd64 ~ppc ~x86" |
259 |
IUSE="debug opengl" |
260 |
|
261 |
RDEPEND=">=media-libs/libsdl-1.2.10 |
262 |
sys-libs/zlib |
263 |
dev-libs/expat |
264 |
x11-libs/libXinerama |
265 |
debug? ( |
266 |
>gnome-base/gconf-2 |
267 |
>=x11-libs/gtk+-2 )" |
268 |
|
269 |
DEPEND="${RDEPEND} |
270 |
app-arch/unzip |
271 |
x11-proto/xineramaproto" |
272 |
|
273 |
S="${WORKDIR}/${MY_P}" |
274 |
|
275 |
# Function to disable a makefile option |
276 |
disable_feature() { |
277 |
sed -i \ |
278 |
-e "/$1.*=/s:^:# :" \ |
279 |
"${S}"/makefile \ |
280 |
|| die "sed failed" |
281 |
} |
282 |
|
283 |
# Function to enable a makefile option |
284 |
enable_feature() { |
285 |
sed -i \ |
286 |
-e "/^#.*$1.*=/s:^# ::" \ |
287 |
"${S}"/makefile \ |
288 |
|| die "sed failed" |
289 |
} |
290 |
|
291 |
pkg_setup() { |
292 |
if use opengl && ! built_with_use media-libs/libsdl opengl ; then |
293 |
die "Please emerge media-libs/libsdl with USE=opengl" |
294 |
fi |
295 |
games_pkg_setup |
296 |
} |
297 |
|
298 |
src_unpack() { |
299 |
unpack ${A} |
300 |
sed -i \ |
301 |
-e '/CFLAGS += -O$(OPTIMIZE)/s:^:# :' \ |
302 |
-e '/CFLAGS += -pipe/s:^:# :' \ |
303 |
-e '/LDFLAGS += -s/s:^:# :' \ |
304 |
"${S}"/makefile \ |
305 |
|| die "sed failed" |
306 |
|
307 |
# CFLAGS and build debugging help |
308 |
#sed -i \ |
309 |
# -e "/^\(AR\|CC\|LD\|RM\) =/s:@::" \ |
310 |
# -i "${S}"/makefile |
311 |
} |
312 |
|
313 |
src_compile() { |
314 |
local make_opts |
315 |
|
316 |
# Don't compile zlib and expat |
317 |
einfo "Disabling embedded libraries: zlib and expat" |
318 |
disable_feature BUILD_ZLIB |
319 |
disable_feature BUILD_EXPAT |
320 |
|
321 |
if use amd64; then |
322 |
einfo "Enabling 64-bit support" |
323 |
enable_feature PTR64 |
324 |
fi |
325 |
|
326 |
if use ppc; then |
327 |
einfo "Enabling PPC support" |
328 |
enable_feature BIGENDIAN |
329 |
fi |
330 |
|
331 |
if use debug ; then |
332 |
ewarn "Building with DEBUG support is not recommended for normal use" |
333 |
enable_feature DEBUG |
334 |
enable_feature PROFILE |
335 |
enable_feature SYMBOLS |
336 |
make_opts="${make_opts} DEBUGGER=1" |
337 |
fi |
338 |
|
339 |
use opengl || make_opts="${make_opts} NO_OPENGL=1" |
340 |
|
341 |
emake \ |
342 |
NAME="${PN}" \ |
343 |
OPT_FLAGS='-DINI_PATH=\"\$$HOME/.sdlmame\;'"${GAMES_SYSCONFDIR}/${PN}"'\"'" ${CFLAGS}" \ |
344 |
SUFFIX="" \ |
345 |
${make_opts} \ |
346 |
|| die "emake failed" |
347 |
} |
348 |
|
349 |
src_install() { |
350 |
dogamesbin "${PN}" || die "dogamesbin "${PN}" failed" |
351 |
|
352 |
# Follows xmame ebuild, avoiding collision on /usr/games/bin/jedutil |
353 |
exeinto "$(games_get_libdir)/${PN}" |
354 |
local f |
355 |
for f in chdman makemeta jedutil romcmp testkeys; do |
356 |
doexe "${f}" || die "doexe ${f} failed" |
357 |
done |
358 |
|
359 |
insinto "${GAMES_DATADIR}/${PN}" |
360 |
doins ui.bdf || die "doins ui.bdf failed" |
361 |
doins -r keymaps || die "doins -r keymaps failed" |
362 |
|
363 |
insinto "${GAMES_SYSCONFDIR}/${PN}" |
364 |
doins "${FILESDIR}"/{joymap.dat,vector.ini} || die "doins joymap.dat vector.ini failed" |
365 |
|
366 |
sed \ |
367 |
-e "s:@GAMES_SYSCONFDIR@:${GAMES_SYSCONFDIR}:" \ |
368 |
-e "s:@GAMES_DATADIR@:${GAMES_DATADIR}:" \ |
369 |
"${FILESDIR}"/mame.ini.in > "${D}/${GAMES_SYSCONFDIR}/${PN}/"mame.ini \ |
370 |
|| die "sed failed" |
371 |
|
372 |
dodoc docs/{config,mame,newvideo}.txt *.txt |
373 |
doman "${WORKDIR}/${PN}-manpages"/* |
374 |
|
375 |
keepdir "${GAMES_DATADIR}/${PN}"/{roms,samples,artwork} |
376 |
keepdir "${GAMES_SYSCONFDIR}/${PN}"/ctrlr |
377 |
|
378 |
prepgamesdirs |
379 |
} |
380 |
|
381 |
pkg_postinst() { |
382 |
games_pkg_postinst |
383 |
|
384 |
elog "It's strongly recommended that you change either the system-wide" |
385 |
elog "mame.ini at ${GAMES_SYSCONFDIR}/${PN} or use a per-user setup at \$HOME/.${PN}" |
386 |
|
387 |
if use opengl; then |
388 |
echo |
389 |
elog "You built ${PN} with opengl support and should set" |
390 |
elog "\"video\" to \"opengl\" in mame.ini to take advantage of that" |
391 |
fi |
392 |
} |
393 |
|
394 |
|
395 |
|
396 |
1.1 games-emulation/sdlmame/Manifest |
397 |
|
398 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-emulation/sdlmame/Manifest?rev=1.1&view=markup |
399 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-emulation/sdlmame/Manifest?rev=1.1&content-type=text/plain |
400 |
|
401 |
Index: Manifest |
402 |
=================================================================== |
403 |
AUX joymap.dat 223 RMD160 d86c536a5d33bec9ecd6efbee2f7389835495328 SHA1 011d631b844316ea5b113ac01407665ea674d1f9 SHA256 bf6e7473b2b1ed573aacf697446e4bdb61e0f63b6e3d55c5b8fac93fb49059f9 |
404 |
AUX mame.ini.in 5962 RMD160 6eb4c315b29d5e6da24a40ad94a646bb56b27998 SHA1 fadb0546bdac23e7162833fad60533c0a4fcf772 SHA256 6205c738b7e57ead9c05885bdaeb3ebfb143bec9dc1de7a97016b791bea532d8 |
405 |
AUX vector.ini 116 RMD160 e63ed40b21a2426b28571d514933efab6ccce7e8 SHA1 c6615ce44d08b89a65435dfe7e0af9ac6d8459df SHA256 408aeaaffcb2ecccd20db457f22d2d5efa930c0f62a92987b0fbefaf6c038c23 |
406 |
DIST sdlmame-manpages.tar.gz 14400 RMD160 14660470488458a8897a8a924c12f7ab961d6729 SHA1 279fbf37668282c0e4e86d62a29f5ec53fa0ab1a SHA256 507240258dfb816fbfddc674c5995a126c7a975158c2aad1ada8cb064c5e3d08 |
407 |
DIST sdlmame0124.zip 16248845 RMD160 3fe3f0d2762a0170bd2553445df75d3adf06721e SHA1 b5bfa179b4ae2d66dd4094163b8d11beaabe545e SHA256 b0f993878b7ad72fa8905701a40ce631a6500774b11011711003c4101ab2ed54 |
408 |
DIST sdlmame0124u3.zip 16376327 RMD160 bb8a9d0b142314ead25d6fbb73a37beaa7f5713f SHA1 820fef70246620d211dd62e25a4746f6b50011b1 SHA256 9d4179aae9eec588e5fcc19ccbeb88e49c0cb1ab3eaeb13414d4881147a8d695 |
409 |
EBUILD sdlmame-0.124.ebuild 3652 RMD160 b55fb7110079f262b004a8894dae25f866d7e4c2 SHA1 5ffa321db4c334933a4ab5bc52017961b8694785 SHA256 0223dfb2144b531f968be8f939a3e79474c198330f6d2422757a93a30e3a7d9a |
410 |
EBUILD sdlmame-0.124_p3.ebuild 3652 RMD160 b55fb7110079f262b004a8894dae25f866d7e4c2 SHA1 5ffa321db4c334933a4ab5bc52017961b8694785 SHA256 0223dfb2144b531f968be8f939a3e79474c198330f6d2422757a93a30e3a7d9a |
411 |
MISC ChangeLog 386 RMD160 a86328efe981380295da8fcd96d33313ef33a571 SHA1 290c19e071bac2ffa61a8b1725f93b2b2850a795 SHA256 ea59717b56f351e0b534a6d58df5059c786d2a3a183ba42b217db87f518ce25e |
412 |
MISC metadata.xml 1259 RMD160 2d811f69affdc305f497d50546e6ba71aaea1d6f SHA1 0f6dfc168b13e49315006e80ae031a933535fb26 SHA256 0f528e867cb2e2350ee31faa9c532f8c4c579a9fe8d79d47c07e787a839f1251 |
413 |
|
414 |
|
415 |
|
416 |
-- |
417 |
gentoo-commits@l.g.o mailing list |