summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2003-12-30 19:09:17 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2003-12-30 19:09:17 +0000
commit184f29ea86822baa97d4783bc2d717bb33f5d484 (patch)
tree4a23bdfa35afb7074b79ac6b25faad6cf1db93b3 /games-emulation/atari800
parentversion bump; tidy docs a bit; more error checking/messages (diff)
downloadgentoo-2-184f29ea86822baa97d4783bc2d717bb33f5d484.tar.gz
gentoo-2-184f29ea86822baa97d4783bc2d717bb33f5d484.tar.bz2
gentoo-2-184f29ea86822baa97d4783bc2d717bb33f5d484.zip
version bump; tidy docs a bit; more error checking/messages
Diffstat (limited to 'games-emulation/atari800')
-rw-r--r--games-emulation/atari800/ChangeLog8
-rw-r--r--games-emulation/atari800/Manifest6
-rw-r--r--games-emulation/atari800/atari800-1.3.1.ebuild4
-rw-r--r--games-emulation/atari800/atari800-1.3.2.ebuild91
-rw-r--r--games-emulation/atari800/files/digest-atari800-1.3.22
5 files changed, 106 insertions, 5 deletions
diff --git a/games-emulation/atari800/ChangeLog b/games-emulation/atari800/ChangeLog
index 97d1f7267beb..554e9776d251 100644
--- a/games-emulation/atari800/ChangeLog
+++ b/games-emulation/atari800/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-emulation/atari800
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/atari800/ChangeLog,v 1.3 2003/10/11 04:40:05 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/atari800/ChangeLog,v 1.4 2003/12/30 19:09:11 mr_bones_ Exp $
+
+*atari800-1.3.2 (30 Dec 2003)
+
+ 30 Dec 2003; Michael Sterrett <mr_bones_@gentoo.org> atari800-1.3.1.ebuild,
+ atari800-1.3.2.ebuild:
+ version bump; tidy docs a bit; more error checking/messages
*atari800-1.3.1 (11 Oct 2003)
diff --git a/games-emulation/atari800/Manifest b/games-emulation/atari800/Manifest
index 0f744e581c66..6fa7ab321e31 100644
--- a/games-emulation/atari800/Manifest
+++ b/games-emulation/atari800/Manifest
@@ -1,7 +1,7 @@
-MD5 9e4313fd7ced789ad49fedcc673c6609 ChangeLog 1733
-MD5 bee3c9cacaa87b90d3e1e262b5a93519 atari800-1.3.1.ebuild 2375
+MD5 4a60473d82ef588b87165f319f518a1d ChangeLog 1933
+MD5 85507449663c5b89d5da33885d2da1b9 atari800-1.3.1.ebuild 2378
MD5 d1fb8b39c231a1671ed7c95f426130e6 metadata.xml 866
-MD5 1126b8c8948a76409d5d4868cecbcecc atari800-1.3.2.ebuild 2337
+MD5 f694b3cc552ebc9150dc248f0b492114 atari800-1.3.2.ebuild 2464
MD5 1407ce0b16e7fc153e4736e768084d5a files/digest-atari800-1.3.2 119
MD5 c985421e05510bde42a8ed91774884b6 files/atari800.cfg 467
MD5 0da1eeee7ba65c0139d4b4081b48cd42 files/digest-atari800-1.3.1 119
diff --git a/games-emulation/atari800/atari800-1.3.1.ebuild b/games-emulation/atari800/atari800-1.3.1.ebuild
index 45d8d1b2c5bf..dd89d6fa6288 100644
--- a/games-emulation/atari800/atari800-1.3.1.ebuild
+++ b/games-emulation/atari800/atari800-1.3.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/atari800/atari800-1.3.1.ebuild,v 1.1 2003/10/11 04:40:05 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/atari800/atari800-1.3.1.ebuild,v 1.2 2003/12/30 19:09:11 mr_bones_ Exp $
inherit games
@@ -54,9 +54,11 @@ src_install () {
doins ${WORKDIR}/*.ROM
insinto /etc
doins ${FILESDIR}/atari800.cfg
+ prepgamesdirs
}
pkg_postinst() {
+ games_pkg_postinst
if [ `use sdl` ] ; then
echo
echo
diff --git a/games-emulation/atari800/atari800-1.3.2.ebuild b/games-emulation/atari800/atari800-1.3.2.ebuild
new file mode 100644
index 000000000000..112ad6b827ba
--- /dev/null
+++ b/games-emulation/atari800/atari800-1.3.2.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/atari800/atari800-1.3.2.ebuild,v 1.1 2003/12/30 19:09:11 mr_bones_ Exp $
+
+inherit games
+
+DESCRIPTION="Atari 800 emulator"
+HOMEPAGE="http://atari800.sourceforge.net/"
+SRC_URI="mirror://sourceforge/atari800/${P}.tar.gz
+ mirror://sourceforge/atari800/xf25.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86 ppc sparc alpha"
+IUSE="sdl"
+
+RDEPEND="virtual/x11
+ sdl? ( >=media-libs/libsdl-1.2.0 )"
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ # remove some not-so-interesting ones
+ rm -f DOC/{INSTALL.*,*.in,CHANGES.OLD}
+}
+
+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 || die "newman failed"
+ dodoc README.1ST DOC/* || die "dodoc failed"
+ insinto ${GAMES_DATADIR}/${PN}
+ doins ${WORKDIR}/*.ROM || die "doins failed (ROM)"
+ insinto /etc
+ doins ${FILESDIR}/atari800.cfg || die "doins failed (cfg)"
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ if [ `use sdl` ] ; then
+ echo
+ echo
+ einfo 'The emulator has been compiled using the SDL libraries. By default,'
+ einfo 'atari800 switches to fullscreen mode, so a 400x300 entry in your'
+ einfo 'XF86Config-4 file is recommended. Otherwise, the emulated Atari'
+ einfo 'screen is postage-stamp sized in the middle of your display.'
+ echo
+ einfo 'For example, in the "Screen" section of your /etc/XF86Config-4 file,'
+ einfo 'add the entry "400x300" to the end of the list of modes:'
+ echo
+ einfo ' Section "Screen"'
+ einfo ' [...]'
+ einfo
+ einfo ' Subsection "Display"'
+ einfo ' Depth 16'
+ einfo ' Modes "1600x1200" "1024x768" "400x300"'
+ einfo ' ViewPort 0 0'
+ einfo ' EndSubsection'
+ einfo ' EndSection'
+ echo
+ einfo 'You should not need to specify a modeline for this mode,'
+ einfo 'since in most cases it is a standard mode calculated by'
+ einfo 'the X server.'
+ echo
+ echo
+ echo
+ fi
+}
diff --git a/games-emulation/atari800/files/digest-atari800-1.3.2 b/games-emulation/atari800/files/digest-atari800-1.3.2
new file mode 100644
index 000000000000..869bc1c3d95c
--- /dev/null
+++ b/games-emulation/atari800/files/digest-atari800-1.3.2
@@ -0,0 +1,2 @@
+MD5 8fcd251a3757270c02519ad7b86b7caa atari800-1.3.2.tar.gz 998541
+MD5 4dc3b6b4313e9596c4d474785a37b94d xf25.zip 188942