summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Wendel <lanius@gentoo.org>2003-12-06 22:54:11 +0000
committerHeinrich Wendel <lanius@gentoo.org>2003-12-06 22:54:11 +0000
commitffbd403fb9fdba01a93b5fb0a716ff5c83595b82 (patch)
tree9fd6ad90e980eea74b5a35117896549df0ec6493 /games-emulation/stella
parentfixed alsa dep (diff)
downloadgentoo-2-ffbd403fb9fdba01a93b5fb0a716ff5c83595b82.tar.gz
gentoo-2-ffbd403fb9fdba01a93b5fb0a716ff5c83595b82.tar.bz2
gentoo-2-ffbd403fb9fdba01a93b5fb0a716ff5c83595b82.zip
fixed alsa dep
Diffstat (limited to 'games-emulation/stella')
-rw-r--r--games-emulation/stella/ChangeLog7
-rw-r--r--games-emulation/stella/Manifest4
-rw-r--r--games-emulation/stella/files/digest-stella-1.3-r11
-rw-r--r--games-emulation/stella/stella-1.3-r1.ebuild50
4 files changed, 59 insertions, 3 deletions
diff --git a/games-emulation/stella/ChangeLog b/games-emulation/stella/ChangeLog
index f98fa03213a3..1b3f88e5a622 100644
--- a/games-emulation/stella/ChangeLog
+++ b/games-emulation/stella/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-emulation/stella
# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/stella/ChangeLog,v 1.2 2003/09/10 16:03:11 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/stella/ChangeLog,v 1.3 2003/12/06 22:54:05 lanius Exp $
+
+*stella-1.3-r1 (06 Dec 2003)
+
+ 06 Dec 2003; Heinrich Wendel <lanius@gentoo.org> stella-1.3-r1.ebuild:
+ fixed alsa dep
*stella-1.3 (14 Apr 2003)
diff --git a/games-emulation/stella/Manifest b/games-emulation/stella/Manifest
index 1766f7041636..9b8a16179782 100644
--- a/games-emulation/stella/Manifest
+++ b/games-emulation/stella/Manifest
@@ -1,7 +1,7 @@
MD5 86feb9877c54bafffaad6d88c76ac0a8 stella-1.3.ebuild 1262
-MD5 2f78d70b0bf8f4dedda1096ada45d897 ChangeLog 685
+MD5 dd95b2cf217a0b274a75b93298e28bac ChangeLog 685
MD5 29f58d8ac5598d702edeef2324ea75c6 stella-1.2.ebuild 1114
-MD5 7cf04a59ccce251b8a90e2b9fc330c4b stella-1.3-r1.ebuild 1258
+MD5 766e61c189dd9d34747403a30da0751b stella-1.3-r1.ebuild 1261
MD5 5af9244b91231a9124ae00e7620ad00e files/digest-stella-1.3-r1 66
MD5 4ed8ab29f9d3ab27873b12516dfd9fdf files/digest-stella-1.2 66
MD5 5af9244b91231a9124ae00e7620ad00e files/digest-stella-1.3 66
diff --git a/games-emulation/stella/files/digest-stella-1.3-r1 b/games-emulation/stella/files/digest-stella-1.3-r1
new file mode 100644
index 000000000000..b3e8bbc9f312
--- /dev/null
+++ b/games-emulation/stella/files/digest-stella-1.3-r1
@@ -0,0 +1 @@
+MD5 b9318f82a180ff0a404fca78511b2772 stella-1.3-src.tar.gz 433201
diff --git a/games-emulation/stella/stella-1.3-r1.ebuild b/games-emulation/stella/stella-1.3-r1.ebuild
new file mode 100644
index 000000000000..560ab373a450
--- /dev/null
+++ b/games-emulation/stella/stella-1.3-r1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/stella/stella-1.3-r1.ebuild,v 1.1 2003/12/06 22:54:05 lanius Exp $
+
+DESCRIPTION="Stella Atari 2600 VCS Emulator"
+HOMEPAGE="http://stella.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+IUSE="sdl oss X alsa"
+
+DEPEND="|| (
+ X? ( virtual/x11 )
+ sdl? ( media-libs/libsdl )
+ virtual/x11
+ alsa? ( media-libs/alsa-lib )
+ media-libs/libpng
+ )"
+
+src_compile() {
+ # let's just default joystick & snapshot support to on
+ MYOPTS="JOYSTICK_SUPPORT=1 SNAPSHOT_SUPPORT=1"
+
+ if [ `use alsa` ] ; then
+ MYOPTS="${MYOPTS} SOUND_ALSA=1"
+ fi
+ if [ `use X` ] || [ -z "`use X``use sdl`" ] ; then
+ cd ${S}/src/build
+ emake OPTIMIZATIONS="${CFLAGS}" $MYOPTS linux-x || die
+ fi
+ if [ `use sdl` ] ; then
+ cd ${S}/src/build
+ emake OPTIMIZATIONS="${CFLAGS}" $MYOPTS SOUND_SDL=1 linux-sdl || die
+ fi
+}
+
+src_install() {
+ use X && dobin src/build/stella.x11
+ use sdl && dobin src/build/stella.sdl
+ [ -z "`use X``use sdl`" ] && dobin src/build/stella.x11
+
+ insinto /etc
+ doins src/stellarc
+ doins src/emucore/stella.pro
+
+ dohtml -r docs/
+ dodoc *.txt
+}