Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-emulation/aranym: aranym-0.9.9.ebuild ChangeLog
Date: Fri, 08 Jan 2010 21:44:03
Message-Id: E1NTMch-00064d-DP@stork.gentoo.org
1 patrick 10/01/08 21:43:59
2
3 Modified: ChangeLog
4 Added: aranym-0.9.9.ebuild
5 Log:
6 Bump for #299618
7 (Portage version: 2.2_rc61/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.16 app-emulation/aranym/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/aranym/ChangeLog?rev=1.16&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/aranym/ChangeLog?rev=1.16&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/aranym/ChangeLog?r1=1.15&r2=1.16
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-emulation/aranym/ChangeLog,v
19 retrieving revision 1.15
20 retrieving revision 1.16
21 diff -u -r1.15 -r1.16
22 --- ChangeLog 30 Jan 2009 03:30:39 -0000 1.15
23 +++ ChangeLog 8 Jan 2010 21:43:58 -0000 1.16
24 @@ -1,6 +1,11 @@
25 # ChangeLog for app-emulation/aranym
26 -# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/aranym/ChangeLog,v 1.15 2009/01/30 03:30:39 dirtyepic Exp $
28 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/aranym/ChangeLog,v 1.16 2010/01/08 21:43:58 patrick Exp $
30 +
31 +*aranym-0.9.9 (08 Jan 2010)
32 +
33 + 08 Jan 2010; Patrick Lauer <patrick@g.o> +aranym-0.9.9.ebuild:
34 + Bump for #299618
35
36 30 Jan 2009; Ryan Hill <dirtyepic@g.o> ChangeLog:
37 fix header in ChangeLog
38
39
40
41 1.1 app-emulation/aranym/aranym-0.9.9.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/aranym/aranym-0.9.9.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/aranym/aranym-0.9.9.ebuild?rev=1.1&content-type=text/plain
45
46 Index: aranym-0.9.9.ebuild
47 ===================================================================
48 # Copyright 1999-2010 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/app-emulation/aranym/aranym-0.9.9.ebuild,v 1.1 2010/01/08 21:43:58 patrick Exp $
51
52 inherit flag-o-matic eutils
53
54 MY_PV="${PV/_/}"
55 AFROS="afros812.zip"
56 S="${WORKDIR}/${PN}-${MY_PV}"
57 DESCRIPTION="Atari Running on Any Machine, is a virtual machine software for running Atari ST/TT/Falcon operating systems and TOS/GEM applications"
58 HOMEPAGE="http://aranym.sourceforge.net/"
59 SRC_URI="mirror://sourceforge/aranym/${PN}-${MY_PV}.tar.gz
60 mirror://sourceforge/aranym/${AFROS}"
61
62 LICENSE="GPL-2"
63 SLOT="0"
64 KEYWORDS="~amd64 ~ppc ~x86"
65 IUSE="opengl"
66
67 RDEPEND="media-libs/libsdl
68 games-emulation/emutos
69 opengl? ( virtual/opengl )"
70 DEPEND="${RDEPEND}
71 app-arch/unzip"
72
73 src_unpack() {
74 unpack ${PN}-${MY_PV}.tar.gz
75 cd "${S}"
76 }
77
78 src_compile() {
79 filter-flags -mpowerpc-gfxopt
80
81 use opengl && myconf="--enable-opengl"
82 if [[ ${ARCH} == x86 ]]; then
83 myconf="${myconf} --enable-jit-compiler"
84 fi
85
86 econf ${myconf} || die "configure failed"
87 emake || die "failed during compilation"
88 }
89
90 src_install() {
91 emake DESTDIR="${D}" INSTALL_PROGRAM="install" install || die "installation failed"
92
93 dosym /usr/games/lib/etos512k.img /usr/share/aranym
94
95 cd "${D}"/usr/share/aranym
96 unzip "${DISTDIR}/${AFROS}"
97
98 find . -type f -perm -o+w -print0 | xargs -0 fperms o-w
99
100 sed -i -e "s|tmp|usr/share/aranym|g" "${D}"/usr/share/aranym/afros/config
101 }
102
103 pkg_postinst() {
104 elog "To run ARAnyM with AFROS type: aranym --config /usr/share/aranym/afros/config"
105 }