From ff0ea3212ed814fd9419fa6ff12cbb6108f4068d Mon Sep 17 00:00:00 2001 From: Patrick Lauer Date: Fri, 8 Jan 2010 21:43:58 +0000 Subject: Bump for #299618 (Portage version: 2.2_rc61/cvs/Linux x86_64) --- app-emulation/aranym/ChangeLog | 9 +++-- app-emulation/aranym/aranym-0.9.9.ebuild | 58 ++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+), 2 deletions(-) create mode 100644 app-emulation/aranym/aranym-0.9.9.ebuild (limited to 'app-emulation') diff --git a/app-emulation/aranym/ChangeLog b/app-emulation/aranym/ChangeLog index 7a35f651690d..0b828f1f7d53 100644 --- a/app-emulation/aranym/ChangeLog +++ b/app-emulation/aranym/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-emulation/aranym -# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/aranym/ChangeLog,v 1.15 2009/01/30 03:30:39 dirtyepic Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/aranym/ChangeLog,v 1.16 2010/01/08 21:43:58 patrick Exp $ + +*aranym-0.9.9 (08 Jan 2010) + + 08 Jan 2010; Patrick Lauer +aranym-0.9.9.ebuild: + Bump for #299618 30 Jan 2009; Ryan Hill ChangeLog: fix header in ChangeLog diff --git a/app-emulation/aranym/aranym-0.9.9.ebuild b/app-emulation/aranym/aranym-0.9.9.ebuild new file mode 100644 index 000000000000..22d7249a2520 --- /dev/null +++ b/app-emulation/aranym/aranym-0.9.9.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/aranym/aranym-0.9.9.ebuild,v 1.1 2010/01/08 21:43:58 patrick Exp $ + +inherit flag-o-matic eutils + +MY_PV="${PV/_/}" +AFROS="afros812.zip" +S="${WORKDIR}/${PN}-${MY_PV}" +DESCRIPTION="Atari Running on Any Machine, is a virtual machine software for running Atari ST/TT/Falcon operating systems and TOS/GEM applications" +HOMEPAGE="http://aranym.sourceforge.net/" +SRC_URI="mirror://sourceforge/aranym/${PN}-${MY_PV}.tar.gz + mirror://sourceforge/aranym/${AFROS}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="opengl" + +RDEPEND="media-libs/libsdl + games-emulation/emutos + opengl? ( virtual/opengl )" +DEPEND="${RDEPEND} + app-arch/unzip" + +src_unpack() { + unpack ${PN}-${MY_PV}.tar.gz + cd "${S}" +} + +src_compile() { + filter-flags -mpowerpc-gfxopt + + use opengl && myconf="--enable-opengl" + if [[ ${ARCH} == x86 ]]; then + myconf="${myconf} --enable-jit-compiler" + fi + + econf ${myconf} || die "configure failed" + emake || die "failed during compilation" +} + +src_install() { + emake DESTDIR="${D}" INSTALL_PROGRAM="install" install || die "installation failed" + + dosym /usr/games/lib/etos512k.img /usr/share/aranym + + cd "${D}"/usr/share/aranym + unzip "${DISTDIR}/${AFROS}" + + find . -type f -perm -o+w -print0 | xargs -0 fperms o-w + + sed -i -e "s|tmp|usr/share/aranym|g" "${D}"/usr/share/aranym/afros/config +} + +pkg_postinst() { + elog "To run ARAnyM with AFROS type: aranym --config /usr/share/aranym/afros/config" +} -- cgit v1.2.3-65-gdbad