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.50.7.ebuild
Date: Tue, 05 Feb 2008 00:16:10
Message-Id: E1JMBTq-0007ej-Sa@stork.gentoo.org
1 mr_bones_ 08/02/05 00:16:06
2
3 Modified: ChangeLog
4 Added: raine-0.50.7.ebuild
5 Log:
6 version bump
7 (Portage version: 2.1.3.19)
8
9 Revision Changes Path
10 1.19 games-emulation/raine/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-emulation/raine/ChangeLog?rev=1.19&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-emulation/raine/ChangeLog?rev=1.19&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-emulation/raine/ChangeLog?r1=1.18&r2=1.19
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/games-emulation/raine/ChangeLog,v
19 retrieving revision 1.18
20 retrieving revision 1.19
21 diff -u -r1.18 -r1.19
22 --- ChangeLog 11 Jan 2008 19:12:23 -0000 1.18
23 +++ ChangeLog 5 Feb 2008 00:16:06 -0000 1.19
24 @@ -1,6 +1,11 @@
25 # ChangeLog for games-emulation/raine
26 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/raine/ChangeLog,v 1.18 2008/01/11 19:12:23 mr_bones_ Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/games-emulation/raine/ChangeLog,v 1.19 2008/02/05 00:16:06 mr_bones_ Exp $
29 +
30 +*raine-0.50.7 (05 Feb 2008)
31 +
32 + 05 Feb 2008; Michael Sterrett <mr_bones_@g.o> +raine-0.50.7.ebuild:
33 + version bump
34
35 *raine-0.50.6 (11 Jan 2008)
36
37
38
39
40 1.1 games-emulation/raine/raine-0.50.7.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-emulation/raine/raine-0.50.7.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-emulation/raine/raine-0.50.7.ebuild?rev=1.1&content-type=text/plain
44
45 Index: raine-0.50.7.ebuild
46 ===================================================================
47 # Copyright 1999-2008 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/games-emulation/raine/raine-0.50.7.ebuild,v 1.1 2008/02/05 00:16:06 mr_bones_ Exp $
50
51 inherit versionator games
52
53 MY_PV=$(replace_version_separator 3 '-')
54
55 DESCRIPTION="R A I N E M680x0 Arcade Emulation"
56 HOMEPAGE="http://www.rainemu.com/"
57 SRC_URI="http://www.rainemu.com/html/archive/raines-${MY_PV}.tar.bz2
58 http://www.rainemu.com/html/archive/rainedocs.zip
59 http://www.rainemu.com/html/archive/icons.zip"
60
61 LICENSE="Artistic"
62 SLOT="0"
63 KEYWORDS="~x86"
64 IUSE="static"
65
66 RDEPEND="media-libs/allegro
67 media-libs/libsdl
68 sys-libs/zlib
69 media-libs/sdl-image
70 media-libs/sdl-ttf"
71 DEPEND="${RDEPEND}
72 dev-lang/nasm
73 app-arch/unzip"
74
75 S=${WORKDIR}/${PN}-$(get_version_component_range -3)
76
77 src_unpack() {
78 unpack ${A}
79 cd "${S}"
80 echo > detect-cpu
81 echo > cpuinfo
82 sed -i \
83 -e "/prefix =/s:/usr::" \
84 -e "s:nasm -r:echo nasm:" \
85 -e "/bindir/s:=.*:=\$(DESTDIR)${GAMES_BINDIR}:" \
86 -e "/sharedir =/s:=.*:=\$(DESTDIR)${GAMES_DATADIR}:" \
87 -e "/mandir/s:=.*:=\$(DESTDIR)/usr/share/man/man6:" \
88 makefile \
89 || die "sed failed"
90 }
91
92 src_compile() {
93 local myopts=
94 use static \
95 && myopts="${myopts} STATIC=1" \
96 || myopts="${myopts} STATIC="
97 emake \
98 _MARCH="${CFLAGS}" \
99 ${myopts} || die "emake failed"
100 }
101
102 src_install() {
103 emake DESTDIR="${D}" install || die "emake install failed"
104 keepdir "${GAMES_DATADIR}"/${PN}/{roms,artwork,emudx}
105 dodoc "${WORKDIR}/raine.txt"
106
107 insinto /usr/share/icons
108 doins "${WORKDIR}/"*.png
109 make_desktop_entry raine Raine Raine48x48
110 prepgamesdirs
111 }
112
113
114
115 --
116 gentoo-commits@l.g.o mailing list