1 |
mr_bones_ 11/09/26 22:23:28 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: snes9x-1.53.ebuild |
5 |
Log: |
6 |
version bump (bug #380809); also builds against newer zlib (bug #384547) |
7 |
|
8 |
(Portage version: 2.1.10.11/cvs/Linux i686) |
9 |
|
10 |
Revision Changes Path |
11 |
1.52 games-emulation/snes9x/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/snes9x/ChangeLog?rev=1.52&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/snes9x/ChangeLog?rev=1.52&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/snes9x/ChangeLog?r1=1.51&r2=1.52 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/games-emulation/snes9x/ChangeLog,v |
20 |
retrieving revision 1.51 |
21 |
retrieving revision 1.52 |
22 |
diff -u -r1.51 -r1.52 |
23 |
--- ChangeLog 15 Nov 2010 09:49:52 -0000 1.51 |
24 |
+++ ChangeLog 26 Sep 2011 22:23:28 -0000 1.52 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for games-emulation/snes9x |
27 |
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/snes9x/ChangeLog,v 1.51 2010/11/15 09:49:52 tupone Exp $ |
29 |
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/snes9x/ChangeLog,v 1.52 2011/09/26 22:23:28 mr_bones_ Exp $ |
31 |
+ |
32 |
+*snes9x-1.53 (26 Sep 2011) |
33 |
+ |
34 |
+ 26 Sep 2011; Michael Sterrett <mr_bones_@g.o> +snes9x-1.53.ebuild, |
35 |
+ +files/snes9x-1.53-build.patch: |
36 |
+ version bump (bug #380809); also builds against newer zlib (bug #384547) |
37 |
|
38 |
15 Nov 2010; Alfredo Tupone <tupone@g.o> snes9x-1.52-r1.ebuild: |
39 |
Require app-emulation/emul-linux-x86-soundlibs when needed. Bug #345099 by |
40 |
|
41 |
|
42 |
|
43 |
1.1 games-emulation/snes9x/snes9x-1.53.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/snes9x/snes9x-1.53.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/snes9x/snes9x-1.53.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: snes9x-1.53.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2011 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/games-emulation/snes9x/snes9x-1.53.ebuild,v 1.1 2011/09/26 22:23:27 mr_bones_ Exp $ |
53 |
|
54 |
EAPI=2 |
55 |
inherit autotools eutils flag-o-matic multilib gnome2-utils games |
56 |
|
57 |
DESCRIPTION="Super Nintendo Entertainment System (SNES) emulator" |
58 |
HOMEPAGE="http://code.google.com/p/snes9x-gtk/" |
59 |
SRC_URI="http://snes9x-gtk.googlecode.com/files/${P}-src.tar.bz2" |
60 |
|
61 |
LICENSE="as-is GPL-2 LGPL-2.1" |
62 |
SLOT="0" |
63 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
64 |
IUSE="alsa debug gtk joystick multilib netplay nls opengl oss png pulseaudio portaudio +xv +xrandr zlib" |
65 |
|
66 |
RDEPEND="x11-libs/libX11 |
67 |
x11-libs/libXext |
68 |
png? ( >=media-libs/libpng-1.2.43 ) |
69 |
amd64? ( png? ( >=media-libs/libpng-1.4.2 ) ) |
70 |
gtk? ( >=x11-libs/gtk+-2.10:2 |
71 |
x11-misc/xdg-utils |
72 |
portaudio? ( >=media-libs/portaudio-19_pre ) |
73 |
joystick? ( >=media-libs/libsdl-1.2.12[joystick] ) |
74 |
opengl? ( virtual/opengl ) |
75 |
xv? ( x11-libs/libXv ) |
76 |
xrandr? ( x11-libs/libXrandr ) |
77 |
alsa? ( media-libs/alsa-lib ) |
78 |
pulseaudio? ( media-sound/pulseaudio ) )" |
79 |
DEPEND="${RDEPEND} |
80 |
x11-proto/xproto |
81 |
gtk? ( dev-util/pkgconfig |
82 |
xv? ( x11-proto/videoproto ) ) |
83 |
nls? ( dev-util/intltool )" |
84 |
|
85 |
S=${WORKDIR}/${P}-src/unix |
86 |
|
87 |
pkg_setup() { |
88 |
games_pkg_setup |
89 |
} |
90 |
|
91 |
src_prepare() { |
92 |
cd "${WORKDIR}"/${P}-src |
93 |
sed -i -e '/pedantic/d' {gtk,unix}/configure.ac || die |
94 |
sed -i -e '75i#define OF(x) x' unzip/{un,}zip.h || die |
95 |
sed -i -e '22i#define OF(x) x' unzip/ioapi.h || die |
96 |
epatch "${FILESDIR}"/${P}-build.patch |
97 |
cd unix |
98 |
eautoreconf |
99 |
if use gtk; then |
100 |
cd ../gtk |
101 |
eautoreconf |
102 |
fi |
103 |
} |
104 |
|
105 |
src_configure() { |
106 |
append-ldflags -Wl,-z,noexecstack |
107 |
|
108 |
egamesconf \ |
109 |
$(use_enable joystick gamepad) \ |
110 |
$(use_enable debug debugger) \ |
111 |
$(use_enable netplay) \ |
112 |
$(use_enable zlib gzip) \ |
113 |
$(use_enable zlib zip) \ |
114 |
$(use_enable png screenshot) |
115 |
|
116 |
if use gtk; then |
117 |
cd ../gtk |
118 |
egamesconf \ |
119 |
--disable-dependency-tracking \ |
120 |
--datadir=/usr/share \ |
121 |
$(use_enable nls) \ |
122 |
$(use_with opengl) \ |
123 |
$(use_with joystick) \ |
124 |
$(use_with xv) \ |
125 |
$(use_with xrandr) \ |
126 |
$(use_with netplay) \ |
127 |
$(use_with zlib) \ |
128 |
$(use_with alsa) \ |
129 |
$(use_with oss) \ |
130 |
$(use_with pulseaudio) \ |
131 |
$(use_with portaudio) \ |
132 |
$(use_with png screenshot) |
133 |
fi |
134 |
} |
135 |
|
136 |
src_compile() { |
137 |
games_src_compile |
138 |
if use gtk; then |
139 |
emake -C ../gtk || die |
140 |
fi |
141 |
} |
142 |
|
143 |
src_install() { |
144 |
dogamesbin ${PN} || die |
145 |
|
146 |
dohtml {.,..}/docs/*.html |
147 |
dodoc ../docs/{snes9x.conf.default,{changes,control-inputs,controls,snapshots}.txt} |
148 |
|
149 |
if use gtk; then |
150 |
emake -C ../gtk DESTDIR="${D}" install || die |
151 |
dodoc ../gtk/{AUTHORS,doc/README} |
152 |
fi |
153 |
|
154 |
prepgamesdirs |
155 |
} |
156 |
|
157 |
pkg_preinst() { |
158 |
games_pkg_preinst |
159 |
use gtk && gnome2_icon_savelist |
160 |
} |
161 |
|
162 |
pkg_postinst() { |
163 |
games_pkg_postinst |
164 |
use gtk && gnome2_icon_cache_update |
165 |
} |
166 |
|
167 |
pkg_postrm() { |
168 |
use gtk && gnome2_icon_cache_update |
169 |
} |