Gentoo Archives: gentoo-commits

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