diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2009-04-25 01:43:06 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2009-04-25 01:43:06 +0000 |
commit | a086ee8a9572f1da98aa7842a1f6b1461b14682b (patch) | |
tree | 6fedf4d8c1d8503eb3cee4594c36f60702338d99 /games-emulation/atari800 | |
parent | 2.6.30 support, bug #248450. (diff) | |
download | gentoo-2-a086ee8a9572f1da98aa7842a1f6b1461b14682b.tar.gz gentoo-2-a086ee8a9572f1da98aa7842a1f6b1461b14682b.tar.bz2 gentoo-2-a086ee8a9572f1da98aa7842a1f6b1461b14682b.zip |
version bump
(Portage version: 2.1.6.7/cvs/Linux i686)
Diffstat (limited to 'games-emulation/atari800')
-rw-r--r-- | games-emulation/atari800/ChangeLog | 10 | ||||
-rw-r--r-- | games-emulation/atari800/atari800-2.1.0.ebuild | 77 |
2 files changed, 85 insertions, 2 deletions
diff --git a/games-emulation/atari800/ChangeLog b/games-emulation/atari800/ChangeLog index 3bf68c21907d..9273daff9639 100644 --- a/games-emulation/atari800/ChangeLog +++ b/games-emulation/atari800/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-emulation/atari800 -# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/atari800/ChangeLog,v 1.24 2008/07/24 16:23:40 armin76 Exp $ +# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-emulation/atari800/ChangeLog,v 1.25 2009/04/25 01:43:06 mr_bones_ Exp $ + +*atari800-2.1.0 (25 Apr 2009) + + 25 Apr 2009; Michael Sterrett <mr_bones_@gentoo.org> + +atari800-2.1.0.ebuild: + version bump 24 Jul 2008; Raúl Porcel <armin76@gentoo.org> atari800-2.0.3.ebuild: alpha/sparc/x86 stable wrt #232298 diff --git a/games-emulation/atari800/atari800-2.1.0.ebuild b/games-emulation/atari800/atari800-2.1.0.ebuild new file mode 100644 index 000000000000..262a5e9e45ad --- /dev/null +++ b/games-emulation/atari800/atari800-2.1.0.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $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 $ + +EAPI=2 +inherit games + +DESCRIPTION="Atari 800 emulator" +HOMEPAGE="http://atari800.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz + mirror://sourceforge/${PN}/xf25.zip" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" +IUSE="sdl" + +RDEPEND="sdl? ( >=media-libs/libsdl-1.2.0 ) + !sdl? ( x11-libs/libX11 )" +DEPEND="${RDEPEND} + !sdl? ( + x11-libs/libXt + x11-libs/libX11 + x11-proto/xextproto + x11-proto/xproto ) + app-arch/unzip" + +src_prepare() { + # remove some not-so-interesting ones + rm -f DOC/{INSTALL.*,*.in,CHANGES.OLD} + sed -i \ + -e "/CFG_FILE/s:/etc:${GAMES_SYSCONFDIR}:" \ + src/atari.c \ + || die "sed failed" + sed -i \ + -e 's/LDFLAGS="-s"/:/' \ + -e 's/-ltermcap//' \ + src/configure \ + || die "sed failed" +} + +src_configure() { + local target="x11" + use sdl && target="sdl" + + cd src && \ + egamesconf \ + --enable-crashmenu \ + --enable-break \ + --enable-hints \ + --enable-asm \ + --enable-cursorblk \ + --enable-led \ + --enable-displayled \ + --enable-sndclip \ + --enable-linuxjoy \ + --enable-sound \ + --target=${target} +} + +src_compile() { + emake -C src || die "emake failed" +} + +src_install () { + dogamesbin src/atari800 || die "dogamesbin failed" + newman src/atari800.man atari800.6 + dodoc README.1ST DOC/* + insinto "${GAMES_DATADIR}/${PN}" + doins "${WORKDIR}/"*.ROM || die "doins failed (ROM)" + sed "s:/usr/share/games:${GAMES_DATADIR}:" \ + "${FILESDIR}"/atari800.cfg > "${T}"/atari800.cfg \ + || die "sed failed" + insinto "${GAMES_SYSCONFDIR}" + doins "${T}"/atari800.cfg || die "doins failed (cfg)" + prepgamesdirs +} |