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