Gentoo Archives: gentoo-commits

From: "Michael Sterrett (mr_bones_)" <mr_bones_@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-emulation/raine: ChangeLog raine-0.51.9.ebuild
Date: Fri, 08 Oct 2010 22:03:25
Message-Id: 20101008212824.0D8EF20054@flycatcher.gentoo.org
1 mr_bones_ 10/10/08 21:28:23
2
3 Modified: ChangeLog
4 Added: raine-0.51.9.ebuild
5 Log:
6 version bump
7 (Portage version: 2.1.8.3/cvs/Linux i686)
8
9 Revision Changes Path
10 1.27 games-emulation/raine/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/raine/ChangeLog?rev=1.27&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/raine/ChangeLog?rev=1.27&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/raine/ChangeLog?r1=1.26&r2=1.27
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/games-emulation/raine/ChangeLog,v
19 retrieving revision 1.26
20 retrieving revision 1.27
21 diff -u -r1.26 -r1.27
22 --- ChangeLog 8 Oct 2010 08:25:02 -0000 1.26
23 +++ ChangeLog 8 Oct 2010 21:28:23 -0000 1.27
24 @@ -1,6 +1,12 @@
25 # ChangeLog for games-emulation/raine
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/raine/ChangeLog,v 1.26 2010/10/08 08:25:02 tupone Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/games-emulation/raine/ChangeLog,v 1.27 2010/10/08 21:28:23 mr_bones_ Exp $
29 +
30 +*raine-0.51.9 (08 Oct 2010)
31 +
32 + 08 Oct 2010; Michael Sterrett <mr_bones_@g.o> +raine-0.51.9.ebuild,
33 + +files/raine-0.51.9-ldflags.patch:
34 + version bump
35
36 08 Oct 2010; Tupone Alfredo <tupone@g.o> raine-0.51.8.ebuild,
37 +files/raine-0.51.8-ldflags.patch:
38
39
40
41 1.1 games-emulation/raine/raine-0.51.9.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/raine/raine-0.51.9.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/raine/raine-0.51.9.ebuild?rev=1.1&content-type=text/plain
45
46 Index: raine-0.51.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/games-emulation/raine/raine-0.51.9.ebuild,v 1.1 2010/10/08 21:28:23 mr_bones_ Exp $
51
52 EAPI=2
53 inherit flag-o-matic eutils games
54
55 DESCRIPTION="R A I N E M680x0 Arcade Emulation"
56 HOMEPAGE="http://rainemu.swishparty.co.uk/"
57 SRC_URI="http://rainemu.swishparty.co.uk/html/archive/raines-${PV}.tar.bz2"
58
59 LICENSE="Artistic"
60 SLOT="0"
61 KEYWORDS="~x86"
62 IUSE="static"
63
64 RDEPEND="dev-cpp/muParser
65 media-libs/libsdl[audio,joystick,video]
66 sys-libs/zlib
67 media-libs/sdl-image[png]
68 media-libs/sdl-ttf"
69 DEPEND="${RDEPEND}
70 dev-lang/nasm
71 app-arch/unzip"
72
73 src_prepare() {
74 echo > detect-cpu
75 echo > cpuinfo
76 sed -i \
77 -e "/^NEO/s:^:#:" \
78 -e "s:nasmw:nasm:" \
79 -e "/bindir/s:=.*:=\$(DESTDIR)${GAMES_BINDIR}:" \
80 -e "/sharedir =/s:=.*:=\$(DESTDIR)${GAMES_DATADIR}:" \
81 -e "/mandir/s:=.*:=\$(DESTDIR)/usr/share/man/man6:" \
82 makefile \
83 || die "sed failed"
84 epatch "${FILESDIR}"/${P}-ldflags.patch
85 append-ldflags -Wl,-z,noexecstack
86 }
87
88 src_compile() {
89 local myopts
90
91 use static \
92 && myopts="${myopts} STATIC=1" \
93 || myopts="${myopts} STATIC="
94 emake \
95 _MARCH="${CFLAGS}" \
96 VERBOSE=1 \
97 ${myopts} || die "emake failed"
98 }
99
100 src_install() {
101 emake DESTDIR="${D}" install || die "emake install failed"
102 keepdir "${GAMES_DATADIR}"/${PN}/{roms,artwork,emudx,scripts/raine}
103 dodoc docs/readme.txt
104 prepgamesdirs
105 }