# ChangeLog for games-emulation/stella
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/stella/ChangeLog,v 1.64 2011/11/10 16:39:06 mr_bones_ Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/stella/ChangeLog,v 1.65 2012/01/04 04:53:39 mr_bones_ Exp $
+
+*stella-3.5 (04 Jan 2012)
+
+ 04 Jan 2012; Michael Sterrett <mr_bones_@gentoo.org> +stella-3.5.ebuild:
+ version bump (bug #397551)
10 Nov 2011; Michael Sterrett <mr_bones_@gentoo.org> stella-3.4.ebuild:
build with newer zlib (bug #390093)
DIST stella-3.3-src.tar.gz 1929173 RMD160 f3d00037266aad94e849d79bb02020f9b7b4782d SHA1 b89ef47fd31007982e446e59ac384b462af534c7 SHA256 dcf77eef54ae64530f93d65034297153ec395b6459066162e13f84c405c659ce
DIST stella-3.4-src.tar.gz 1912950 RMD160 1baa41a8f80f53e11fcdc2cc8e6ccc37ad4a6d21 SHA1 8ba89b66eba187ae51986d042b94e54ddac949ac SHA256 8f03391e99d5dcf9ba5ef7cdee83f688c2dbbe51e86a177de1d39203b35edc5f
+DIST stella-3.5-src.tar.gz 1995673 RMD160 ec03abe1ca602137a6c933fc91ef5440e2d1895a SHA1 a064511c6fe498ad7b0c04deeeb58e6371ce66eb SHA256 84c09dd56b391720966b7463e0c162b980d7eaedfe5775ca202655e59b53f354
EBUILD stella-3.3.ebuild 1299 RMD160 33ed6c4bdecd8a8ab1f4c72a076ccf6ef02c915b SHA1 bb6f1b8e0a0819c45677f8f5339dfc52ef46af2c SHA256 ea38bbc8d7ab3867afbe0d080b9478e834de903a881aa5ca7858c1d37cbaa850
EBUILD stella-3.4.ebuild 1385 RMD160 9622c3ef4886faf2b2ce2f090acbeeae08b2eeee SHA1 b88b6f9a3244217143ad01902363ea82fc883ae8 SHA256 65ae799b7651bfcb3487f384b459f90324dfee2c23aeda743e75a76a42dc8ac1
-MISC ChangeLog 7751 RMD160 a877b9f288d44d0b003c970a322eb89308925a1c SHA1 cdf488870de7efe6eee2a767987db6e7a4c0ccc7 SHA256 336a1b7a793d7de7063ff8044bd017995b431a82f261c57765e9421c1f81ab4c
+EBUILD stella-3.5.ebuild 1375 RMD160 7279214f362ed5be1d7e4035ebb8d376a6eb5e63 SHA1 953a13cc905981a0ad8e98c73c1949578b70f617 SHA256 a376842c4e939f5fab761b7c20903f6be63576e8f3d45018b97c2f3e246953e9
+MISC ChangeLog 7883 RMD160 7b89c5e678859ec4aae0ae7f5c419b28fe5f368f SHA1 821beeb7e21b607f5833f62b0cf06a118f1c0401 SHA256 7c50346493cfe7fcc5991508536d41139283ffe5f834641836a52a2275b92ad8
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
--- /dev/null
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/stella/stella-3.5.ebuild,v 1.1 2012/01/04 04:53:39 mr_bones_ Exp $
+
+EAPI=2
+inherit eutils games
+
+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="~amd64 ~ppc ~x86"
+IUSE="joystick opengl"
+
+DEPEND="media-libs/libsdl[joystick?,video]
+ x11-libs/libX11
+ media-libs/libpng
+ sys-libs/zlib
+ opengl? ( virtual/opengl )"
+
+src_prepare() {
+ sed -i \
+ -e '/INSTALL/s/-s //' \
+ -e '/STRIP/d' \
+ -e "/icons/d" \
+ -e '/INSTALL.*DOCDIR/d' \
+ -e '/INSTALL.*\/applications/d' \
+ Makefile || die
+ sed -i \
+ -e '/Icon/s/.png//' \
+ -e '/Categories/s/Application;//' \
+ src/unix/stella.desktop || die
+}
+
+src_configure() {
+ # not an autoconf script
+ ./configure \
+ --prefix="/usr" \
+ --bindir="${GAMES_BINDIR}" \
+ --docdir="/usr/share/doc/${PF}" \
+ --datadir="${GAMES_DATADIR}" \
+ $(use_enable opengl gl) \
+ $(use_enable joystick) \
+ || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ doicon src/common/stella.png
+ domenu src/unix/stella.desktop
+ dohtml -r docs/*
+ dodoc Announce.txt Changes.txt Copyright.txt README-SDL.txt Readme.txt Todo.txt
+ prepgamesdirs
+}