diff options
author | Heinrich Wendel <lanius@gentoo.org> | 2003-12-06 22:54:11 +0000 |
---|---|---|
committer | Heinrich Wendel <lanius@gentoo.org> | 2003-12-06 22:54:11 +0000 |
commit | a02e9bbee10c38e5a813db2d33cc0e935824b92e (patch) | |
tree | 5db1712a576e8a44d942a7320dc93fabb63cf4ae | |
parent | fixed alsa dep (diff) | |
download | historical-a02e9bbee10c38e5a813db2d33cc0e935824b92e.tar.gz historical-a02e9bbee10c38e5a813db2d33cc0e935824b92e.tar.bz2 historical-a02e9bbee10c38e5a813db2d33cc0e935824b92e.zip |
fixed alsa dep
-rw-r--r-- | games-emulation/stella/Manifest | 4 | ||||
-rw-r--r-- | games-emulation/stella/files/digest-stella-1.3-r1 | 1 | ||||
-rw-r--r-- | games-emulation/stella/stella-1.3-r1.ebuild | 50 |
3 files changed, 53 insertions, 2 deletions
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 +} |