1 |
drizzt 08/05/09 19:14:57 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: zsnes-1.51-r2.ebuild |
5 |
Log: |
6 |
Revision bump wrt bug #214697 |
7 |
(Portage version: 2.1.4.4) |
8 |
|
9 |
Revision Changes Path |
10 |
1.38 games-emulation/zsnes/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-emulation/zsnes/ChangeLog?rev=1.38&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-emulation/zsnes/ChangeLog?rev=1.38&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-emulation/zsnes/ChangeLog?r1=1.37&r2=1.38 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/games-emulation/zsnes/ChangeLog,v |
19 |
retrieving revision 1.37 |
20 |
retrieving revision 1.38 |
21 |
diff -u -r1.37 -r1.38 |
22 |
--- ChangeLog 2 May 2008 13:52:31 -0000 1.37 |
23 |
+++ ChangeLog 9 May 2008 19:14:57 -0000 1.38 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for games-emulation/zsnes |
26 |
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/zsnes/ChangeLog,v 1.37 2008/05/02 13:52:31 nyhm Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/zsnes/ChangeLog,v 1.38 2008/05/09 19:14:57 drizzt Exp $ |
29 |
+ |
30 |
+*zsnes-1.51-r2 (09 May 2008) |
31 |
+ |
32 |
+ 09 May 2008; Timothy Redaelli <drizzt@g.o> |
33 |
+ +files/zsnes-1.51-libao-thread.patch, +zsnes-1.51-r2.ebuild: |
34 |
+ Revision bump wrt bug #214697 |
35 |
|
36 |
02 May 2008; Tristan Heaven <nyhm@g.o> |
37 |
+files/zsnes-1.51-gcc43.patch, zsnes-1.51-r1.ebuild: |
38 |
|
39 |
|
40 |
|
41 |
1.1 games-emulation/zsnes/zsnes-1.51-r2.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-emulation/zsnes/zsnes-1.51-r2.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-emulation/zsnes/zsnes-1.51-r2.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: zsnes-1.51-r2.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/zsnes/zsnes-1.51-r2.ebuild,v 1.1 2008/05/09 19:14:57 drizzt Exp $ |
51 |
|
52 |
inherit eutils autotools flag-o-matic toolchain-funcs multilib games |
53 |
|
54 |
DESCRIPTION="SNES (Super Nintendo) emulator that uses x86 assembly" |
55 |
HOMEPAGE="http://www.zsnes.com/ http://ipherswipsite.com/zsnes/" |
56 |
SRC_URI="mirror://sourceforge/zsnes/${PN}${PV//./}src.tar.bz2" |
57 |
|
58 |
LICENSE="GPL-2" |
59 |
SLOT="0" |
60 |
KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd" |
61 |
IUSE="ao custom-cflags opengl png" |
62 |
|
63 |
RDEPEND="media-libs/libsdl |
64 |
>=sys-libs/zlib-1.2.3-r1 |
65 |
amd64? ( >=app-emulation/emul-linux-x86-sdl-10.1 ) |
66 |
ao? ( media-libs/libao ) |
67 |
opengl? ( virtual/opengl ) |
68 |
png? ( media-libs/libpng )" |
69 |
DEPEND="${RDEPEND} |
70 |
dev-lang/nasm |
71 |
amd64? ( >=sys-apps/portage-2.1 )" |
72 |
|
73 |
S=${WORKDIR}/${PN}_${PV//./_}/src |
74 |
|
75 |
src_unpack() { |
76 |
unpack ${A} |
77 |
cd "${S}" |
78 |
|
79 |
# Fixing compilation without libpng installed |
80 |
epatch "${FILESDIR}"/${P}-libpng.patch |
81 |
# Fix bug #186111 |
82 |
epatch "${FILESDIR}"/${P}-archopt-july-23-update.patch |
83 |
epatch "${FILESDIR}"/${P}-gcc43.patch |
84 |
# Fix bug #214697 |
85 |
epatch "${FILESDIR}"/${P}-libao-thread.patch |
86 |
|
87 |
# Remove hardcoded CFLAGS and LDFLAGS |
88 |
sed -i \ |
89 |
-e '/^CFLAGS=.*local/s:-pipe.*:-Wall -I.":' \ |
90 |
-e '/^LDFLAGS=.*local/d' \ |
91 |
-e '/\w*CFLAGS=.*fomit/s:-O3.*$STRIP::' \ |
92 |
configure.in \ |
93 |
|| die "sed failed" |
94 |
eautoreconf |
95 |
} |
96 |
|
97 |
src_compile() { |
98 |
tc-export CC |
99 |
use amd64 && multilib_toolchain_setup x86 |
100 |
use custom-cflags || strip-flags |
101 |
|
102 |
egamesconf \ |
103 |
$(use_enable ao libao) \ |
104 |
$(use_enable png libpng) \ |
105 |
$(use_enable opengl) \ |
106 |
--disable-debug \ |
107 |
--disable-cpucheck \ |
108 |
--enable-release \ |
109 |
force_arch=no \ |
110 |
|| die |
111 |
emake makefile.dep || die "emake makefile.dep failed" |
112 |
emake || die "emake failed" |
113 |
} |
114 |
|
115 |
src_install() { |
116 |
dogamesbin zsnes || die "dogamesbin failed" |
117 |
newman linux/zsnes.1 zsnes.6 |
118 |
dodoc ../docs/{readme.1st,*.txt,README.LINUX} |
119 |
dodoc ../docs/readme.txt/* |
120 |
dohtml -r ../docs/readme.htm/* |
121 |
make_desktop_entry zsnes ZSNES |
122 |
newicon icons/48x48x32.png ${PN}.png |
123 |
prepgamesdirs |
124 |
} |
125 |
|
126 |
|
127 |
|
128 |
-- |
129 |
gentoo-commits@l.g.o mailing list |