summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2007-07-13 03:25:04 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2007-07-13 03:25:04 +0000
commitc3e8939ea6e7e98d0988df7cfaa6c21a5c6b71fd (patch)
tree7c942b202f8ae30ada370386852ccf8ebe252fce /games-emulation
parentarm/s390/sh stable (diff)
downloadgentoo-2-c3e8939ea6e7e98d0988df7cfaa6c21a5c6b71fd.tar.gz
gentoo-2-c3e8939ea6e7e98d0988df7cfaa6c21a5c6b71fd.tar.bz2
gentoo-2-c3e8939ea6e7e98d0988df7cfaa6c21a5c6b71fd.zip
version bump
(Portage version: 2.1.2.9)
Diffstat (limited to 'games-emulation')
-rw-r--r--games-emulation/atari800/ChangeLog8
-rw-r--r--games-emulation/atari800/atari800-2.0.3.ebuild104
-rw-r--r--games-emulation/atari800/files/digest-atari800-2.0.36
3 files changed, 117 insertions, 1 deletions
diff --git a/games-emulation/atari800/ChangeLog b/games-emulation/atari800/ChangeLog
index 7f5276dca4d0..8f28cdbf9ef8 100644
--- a/games-emulation/atari800/ChangeLog
+++ b/games-emulation/atari800/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-emulation/atari800
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/atari800/ChangeLog,v 1.21 2007/02/21 23:17:52 peper Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/atari800/ChangeLog,v 1.22 2007/07/13 03:25:04 mr_bones_ Exp $
+
+*atari800-2.0.3 (13 Jul 2007)
+
+ 13 Jul 2007; Michael Sterrett <mr_bones_@gentoo.org>
+ +atari800-2.0.3.ebuild:
+ version bump
21 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog:
Transition to Manifest2.
diff --git a/games-emulation/atari800/atari800-2.0.3.ebuild b/games-emulation/atari800/atari800-2.0.3.ebuild
new file mode 100644
index 000000000000..39cbe263faec
--- /dev/null
+++ b/games-emulation/atari800/atari800-2.0.3.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/atari800/atari800-2.0.3.ebuild,v 1.1 2007/07/13 03:25:04 mr_bones_ Exp $
+
+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_unpack() {
+ unpack ${A}
+ cd "${S}"
+ # 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"/:/' \
+ src/configure \
+ || die "sed failed"
+}
+
+src_compile() {
+ 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} \
+ || die
+ emake || 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
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ if use sdl ; then
+ echo
+ elog 'The emulator has been compiled using the SDL libraries. By default,'
+ elog 'atari800 switches to fullscreen mode, so a 400x300 entry in your'
+ elog 'XF86Config-4 file is recommended. Otherwise, the emulated Atari'
+ elog 'screen is postage-stamp sized in the middle of your display.'
+ echo
+ elog 'For example, in the "Screen" section of your /etc/XF86Config-4 file,'
+ elog 'add the entry "400x300" to the end of the list of modes:'
+ echo
+ elog ' Section "Screen"'
+ elog ' [...]'
+ elog
+ elog ' Subsection "Display"'
+ elog ' Depth 16'
+ elog ' Modes "1600x1200" "1024x768" "400x300"'
+ elog ' ViewPort 0 0'
+ elog ' EndSubsection'
+ elog ' EndSection'
+ echo
+ elog 'You should not need to specify a modeline for this mode,'
+ elog 'since in most cases it is a standard mode calculated by'
+ elog 'the X server.'
+ echo
+ fi
+}
diff --git a/games-emulation/atari800/files/digest-atari800-2.0.3 b/games-emulation/atari800/files/digest-atari800-2.0.3
new file mode 100644
index 000000000000..8d14bf960e64
--- /dev/null
+++ b/games-emulation/atari800/files/digest-atari800-2.0.3
@@ -0,0 +1,6 @@
+MD5 4e472f804a22219d5a7d1d381c89d872 atari800-2.0.3.tar.gz 998685
+RMD160 408fec88e001a234786e689d0875d820e2036d46 atari800-2.0.3.tar.gz 998685
+SHA256 987a19c9a4ff483f9a84e165d24a881413adf5391d41ac9852cbb50a30d17966 atari800-2.0.3.tar.gz 998685
+MD5 4dc3b6b4313e9596c4d474785a37b94d xf25.zip 188942
+RMD160 e3960898223dd4d1b9a9cc5cfb1251bd726ea5a7 xf25.zip 188942
+SHA256 98ae0ad10413dd6f35ed80f5662dba6d790def70c7829046e52012a03b574b8a xf25.zip 188942