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