Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 18838 - stella-1.3.ebuild (update)
Summary: stella-1.3.ebuild (update)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Martin Holzer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-05 21:52 UTC by Chris Ripp
Modified: 2003-04-14 18:33 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
stella-1.3.ebuild (stella-1.3.ebuild,1.20 KB, text/plain)
2003-04-05 22:06 UTC, Chris Ripp
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Ripp 2003-04-05 21:52:28 UTC
stella released v1.3.  This ebuild works for me... some changes:
1) sound is builtinto the core apps now
2) I changed the compile to depend on libpng for screenshots (most probably have
it anyway)...
3) supports alsa sound now in the build


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Chris Ripp 2003-04-05 22:06:05 UTC
Created attachment 10254 [details]
stella-1.3.ebuild
Comment 2 Chris Ripp 2003-04-06 00:18:56 UTC
Comment on attachment 10254 [details]
stella-1.3.ebuild

># Copyright 1999-2003 Gentoo Technologies, Inc.
># Distributed under the terms of the GNU General Public License v2
># $Header: /home/cvsroot/gentoo-x86/app-emulation/stella/stella-1.2.ebuild,v 1.1 2003/03/10 01:31:43 vapier Exp $
>
>DESCRIPTION="Stella Atari 2600 VCS Emulator"
>HOMEPAGE="http://stella.sourceforge.net/"
>SRC_URI="mirror://sourceforge/stella/${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-sound/alsa-driver )
>		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
	# ADD THIS LINE INTO EBUILD
	doins src/emucore/stella.pro
>
>	dohtml -r docs/
>	dodoc *.txt
>}
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2003-04-14 18:33:33 UTC
added in cvs

thx