1 |
mr_bones_ 09/09/08 15:39:43 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: advancemame-0.106.1.ebuild |
5 |
Log: |
6 |
version bump |
7 |
(Portage version: 2.1.6.13/cvs/Linux i686) |
8 |
|
9 |
Revision Changes Path |
10 |
1.47 games-emulation/advancemame/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-emulation/advancemame/ChangeLog?rev=1.47&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-emulation/advancemame/ChangeLog?rev=1.47&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-emulation/advancemame/ChangeLog?r1=1.46&r2=1.47 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/games-emulation/advancemame/ChangeLog,v |
19 |
retrieving revision 1.46 |
20 |
retrieving revision 1.47 |
21 |
diff -u -r1.46 -r1.47 |
22 |
--- ChangeLog 5 Dec 2008 16:19:25 -0000 1.46 |
23 |
+++ ChangeLog 8 Sep 2009 15:39:42 -0000 1.47 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for games-emulation/advancemame |
26 |
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/advancemame/ChangeLog,v 1.46 2008/12/05 16:19:25 nyhm Exp $ |
28 |
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/advancemame/ChangeLog,v 1.47 2009/09/08 15:39:42 mr_bones_ Exp $ |
30 |
+ |
31 |
+*advancemame-0.106.1 (08 Sep 2009) |
32 |
+ |
33 |
+ 08 Sep 2009; Michael Sterrett <mr_bones_@g.o> |
34 |
+ +advancemame-0.106.1.ebuild, +files/advancemame-0.106.1-pic.patch: |
35 |
+ version bump |
36 |
|
37 |
05 Dec 2008; Tristan Heaven <nyhm@g.o> advancemame-0.106.0.ebuild: |
38 |
Remove expat and zlib USE flags, bug #249459 |
39 |
|
40 |
|
41 |
|
42 |
1.1 games-emulation/advancemame/advancemame-0.106.1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-emulation/advancemame/advancemame-0.106.1.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-emulation/advancemame/advancemame-0.106.1.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: advancemame-0.106.1.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2009 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/games-emulation/advancemame/advancemame-0.106.1.ebuild,v 1.1 2009/09/08 15:39:42 mr_bones_ Exp $ |
52 |
|
53 |
EAPI=2 |
54 |
inherit eutils flag-o-matic games |
55 |
|
56 |
DESCRIPTION="GNU/Linux port of the MAME emulator with GUI menu" |
57 |
HOMEPAGE="http://advancemame.sourceforge.net/" |
58 |
SRC_URI="mirror://sourceforge/advancemame/${P}.tar.gz" |
59 |
|
60 |
LICENSE="GPL-2 XMAME" |
61 |
SLOT="0" |
62 |
KEYWORDS="~amd64 ~ppc ~x86" |
63 |
IUSE="alsa fbcon oss sdl static svga truetype" |
64 |
|
65 |
# sdl is required (bug #158417) |
66 |
RDEPEND="app-arch/unzip |
67 |
app-arch/zip |
68 |
media-libs/libsdl |
69 |
dev-libs/expat |
70 |
alsa? ( media-libs/alsa-lib ) |
71 |
truetype? ( media-libs/freetype ) |
72 |
svga? ( >=media-libs/svgalib-1.9 )" |
73 |
DEPEND="${RDEPEND} |
74 |
x86? ( >=dev-lang/nasm-0.98 ) |
75 |
virtual/os-headers" |
76 |
|
77 |
src_prepare() { |
78 |
epatch "${FILESDIR}/${P}-pic.patch" |
79 |
sed -i \ |
80 |
-e 's/"-s"//' \ |
81 |
configure \ |
82 |
|| die "sed failed" |
83 |
|
84 |
use x86 && \ |
85 |
ln -s $(type -P nasm) "${T}/${CHOST}-nasm" |
86 |
ln -s $(type -P sdl-config) "${T}/${CHOST}-sdl-config" |
87 |
use truetype && \ |
88 |
ln -s $(type -P freetype-config) "${T}/${CHOST}-freetype-config" |
89 |
} |
90 |
|
91 |
src_configure() { |
92 |
# Fix for bug #78030 |
93 |
if use ppc; then |
94 |
append-ldflags "-Wl,--relax" |
95 |
fi |
96 |
|
97 |
PATH="${PATH}:${T}" |
98 |
egamesconf \ |
99 |
--enable-expat \ |
100 |
--enable-sdl \ |
101 |
--enable-zlib \ |
102 |
--disable-slang \ |
103 |
$(use_enable alsa) \ |
104 |
$(use_enable fbcon fb) \ |
105 |
$(use_enable oss) \ |
106 |
$(use_enable static) \ |
107 |
$(use_enable svga svgalib) \ |
108 |
$(use_enable truetype freetype) \ |
109 |
$(use_enable x86 asm) \ |
110 |
--with-emu=${PN/advance} |
111 |
} |
112 |
|
113 |
src_compile() { |
114 |
STRIPPROG=true emake || die "emake failed" |
115 |
} |
116 |
|
117 |
src_install() { |
118 |
local f |
119 |
|
120 |
for f in adv* ; do |
121 |
if [[ -L "${f}" ]] ; then |
122 |
dogamesbin "${f}" || die "dogamesbin failed" |
123 |
fi |
124 |
done |
125 |
|
126 |
insinto "${GAMES_DATADIR}/advance" |
127 |
doins support/event.dat |
128 |
keepdir "${GAMES_DATADIR}/advance/"{artwork,diff,image,rom,sample,snap} |
129 |
|
130 |
dodoc HISTORY README RELEASE |
131 |
cd doc |
132 |
dodoc *.txt |
133 |
dohtml *.html |
134 |
for f in *.1 ; do |
135 |
newman ${f} ${f/1/6} |
136 |
done |
137 |
|
138 |
prepgamesdirs |
139 |
} |