Gentoo Archives: gentoo-commits

From: "Michael Sterrett (mr_bones_)" <mr_bones_@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-emulation/fbzx: ChangeLog fbzx-2.1b.ebuild
Date: Thu, 30 Apr 2009 03:39:14
Message-Id: E1LzN79-0007hS-Ai@stork.gentoo.org
1 mr_bones_ 09/04/30 03:39:11
2
3 Modified: ChangeLog
4 Added: fbzx-2.1b.ebuild
5 Log:
6 version bump
7 (Portage version: 2.1.6.11/cvs/Linux i686)
8
9 Revision Changes Path
10 1.19 games-emulation/fbzx/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-emulation/fbzx/ChangeLog?rev=1.19&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-emulation/fbzx/ChangeLog?rev=1.19&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-emulation/fbzx/ChangeLog?r1=1.18&r2=1.19
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/games-emulation/fbzx/ChangeLog,v
19 retrieving revision 1.18
20 retrieving revision 1.19
21 diff -u -r1.18 -r1.19
22 --- ChangeLog 15 Jul 2008 14:32:01 -0000 1.18
23 +++ ChangeLog 30 Apr 2009 03:39:10 -0000 1.19
24 @@ -1,6 +1,11 @@
25 # ChangeLog for games-emulation/fbzx
26 -# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/fbzx/ChangeLog,v 1.18 2008/07/15 14:32:01 armin76 Exp $
28 +# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/games-emulation/fbzx/ChangeLog,v 1.19 2009/04/30 03:39:10 mr_bones_ Exp $
30 +
31 +*fbzx-2.1b (30 Apr 2009)
32 +
33 + 30 Apr 2009; Michael Sterrett <mr_bones_@g.o> +fbzx-2.1b.ebuild:
34 + version bump
35
36 15 Jul 2008; Raúl Porcel <armin76@g.o> fbzx-1.10.ebuild:
37 x86 stable wrt #231206
38
39
40
41 1.1 games-emulation/fbzx/fbzx-2.1b.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-emulation/fbzx/fbzx-2.1b.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-emulation/fbzx/fbzx-2.1b.ebuild?rev=1.1&content-type=text/plain
45
46 Index: fbzx-2.1b.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/games-emulation/fbzx/fbzx-2.1b.ebuild,v 1.1 2009/04/30 03:39:11 mr_bones_ Exp $
51
52 EAPI=2
53 inherit eutils toolchain-funcs games
54
55 DESCRIPTION="A Sinclair Spectrum emulator, designed to work at full screen using the FrameBuffer"
56 HOMEPAGE="http://www.rastersoft.com/fbzx.html"
57 SRC_URI="http://www.rastersoft.com/descargas/${P}.tar.bz2"
58
59 LICENSE="GPL-3"
60 SLOT="0"
61 KEYWORDS="~amd64 ~ppc ~x86"
62 IUSE=""
63
64 DEPEND="media-libs/libsdl
65 media-libs/alsa-lib"
66
67 src_prepare() {
68 sed -i \
69 -e "s|/usr/share/|${GAMES_DATADIR}/${PN}/|g" \
70 emulator.c || die "sed failed"
71 sed -i \
72 -e "/^CC/s:gcc:$(tc-getCC):" \
73 -e "s/^\(CC =\).*/\1 $(tc-getCC) ${CFLAGS} \$(SDL_CFLAGS)/" \
74 -e "s:-O2:${CFLAGS}:" \
75 Makefile || die "sed failed"
76 sed -i \
77 -e "/^Version/s|2.1|1.0|" \
78 -e "/^Encoding/d" \
79 fbzx.desktop || die "sed failed"
80 rm -f fbzx_fs fbzx *.o # clean out accidentally packaged .o files
81 }
82
83 src_install() {
84 dogamesbin fbzx || die "dogamesbin failed"
85 insinto "${GAMES_DATADIR}/${PN}"
86 doins -r keymap.bmp spectrum-roms || die "doins failed"
87 dodoc AMSTRAD CAPABILITIES FAQ PORTING README* TODO VERSIONS
88 domenu fbzx.desktop
89 doicon fbzx.svg
90 prepgamesdirs
91 }