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/atari800: ChangeLog atari800-2.1.0.ebuild
Date: Sat, 25 Apr 2009 01:43:09
Message-Id: E1LxWv4-0006HZ-ER@stork.gentoo.org
1 mr_bones_ 09/04/25 01:43:06
2
3 Modified: ChangeLog
4 Added: atari800-2.1.0.ebuild
5 Log:
6 version bump
7 (Portage version: 2.1.6.7/cvs/Linux i686)
8
9 Revision Changes Path
10 1.25 games-emulation/atari800/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-emulation/atari800/ChangeLog?rev=1.25&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-emulation/atari800/ChangeLog?rev=1.25&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-emulation/atari800/ChangeLog?r1=1.24&r2=1.25
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/games-emulation/atari800/ChangeLog,v
19 retrieving revision 1.24
20 retrieving revision 1.25
21 diff -u -r1.24 -r1.25
22 --- ChangeLog 24 Jul 2008 16:23:40 -0000 1.24
23 +++ ChangeLog 25 Apr 2009 01:43:06 -0000 1.25
24 @@ -1,6 +1,12 @@
25 # ChangeLog for games-emulation/atari800
26 -# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/atari800/ChangeLog,v 1.24 2008/07/24 16:23:40 armin76 Exp $
28 +# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/games-emulation/atari800/ChangeLog,v 1.25 2009/04/25 01:43:06 mr_bones_ Exp $
30 +
31 +*atari800-2.1.0 (25 Apr 2009)
32 +
33 + 25 Apr 2009; Michael Sterrett <mr_bones_@g.o>
34 + +atari800-2.1.0.ebuild:
35 + version bump
36
37 24 Jul 2008; Raúl Porcel <armin76@g.o> atari800-2.0.3.ebuild:
38 alpha/sparc/x86 stable wrt #232298
39
40
41
42 1.1 games-emulation/atari800/atari800-2.1.0.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-emulation/atari800/atari800-2.1.0.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-emulation/atari800/atari800-2.1.0.ebuild?rev=1.1&content-type=text/plain
46
47 Index: atari800-2.1.0.ebuild
48 ===================================================================
49 # Copyright 1999-2009 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/games-emulation/atari800/atari800-2.1.0.ebuild,v 1.1 2009/04/25 01:43:06 mr_bones_ Exp $
52
53 EAPI=2
54 inherit games
55
56 DESCRIPTION="Atari 800 emulator"
57 HOMEPAGE="http://atari800.sourceforge.net/"
58 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
59 mirror://sourceforge/${PN}/xf25.zip"
60
61 LICENSE="GPL-2"
62 SLOT="0"
63 KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
64 IUSE="sdl"
65
66 RDEPEND="sdl? ( >=media-libs/libsdl-1.2.0 )
67 !sdl? ( x11-libs/libX11 )"
68 DEPEND="${RDEPEND}
69 !sdl? (
70 x11-libs/libXt
71 x11-libs/libX11
72 x11-proto/xextproto
73 x11-proto/xproto )
74 app-arch/unzip"
75
76 src_prepare() {
77 # remove some not-so-interesting ones
78 rm -f DOC/{INSTALL.*,*.in,CHANGES.OLD}
79 sed -i \
80 -e "/CFG_FILE/s:/etc:${GAMES_SYSCONFDIR}:" \
81 src/atari.c \
82 || die "sed failed"
83 sed -i \
84 -e 's/LDFLAGS="-s"/:/' \
85 -e 's/-ltermcap//' \
86 src/configure \
87 || die "sed failed"
88 }
89
90 src_configure() {
91 local target="x11"
92 use sdl && target="sdl"
93
94 cd src && \
95 egamesconf \
96 --enable-crashmenu \
97 --enable-break \
98 --enable-hints \
99 --enable-asm \
100 --enable-cursorblk \
101 --enable-led \
102 --enable-displayled \
103 --enable-sndclip \
104 --enable-linuxjoy \
105 --enable-sound \
106 --target=${target}
107 }
108
109 src_compile() {
110 emake -C src || die "emake failed"
111 }
112
113 src_install () {
114 dogamesbin src/atari800 || die "dogamesbin failed"
115 newman src/atari800.man atari800.6
116 dodoc README.1ST DOC/*
117 insinto "${GAMES_DATADIR}/${PN}"
118 doins "${WORKDIR}/"*.ROM || die "doins failed (ROM)"
119 sed "s:/usr/share/games:${GAMES_DATADIR}:" \
120 "${FILESDIR}"/atari800.cfg > "${T}"/atari800.cfg \
121 || die "sed failed"
122 insinto "${GAMES_SYSCONFDIR}"
123 doins "${T}"/atari800.cfg || die "doins failed (cfg)"
124 prepgamesdirs
125 }