1 |
commit: 16492a3f1f1724043a8d470781ee7bf32dacf79b |
2 |
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 12 19:31:47 2021 +0000 |
4 |
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 12 20:19:10 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16492a3f |
7 |
|
8 |
games-emulation/zsnes: drop 1.51-r9, 1.51-r10 |
9 |
|
10 |
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> |
11 |
|
12 |
games-emulation/zsnes/zsnes-1.51-r10.ebuild | 128 --------------------------- |
13 |
games-emulation/zsnes/zsnes-1.51-r9.ebuild | 129 ---------------------------- |
14 |
2 files changed, 257 deletions(-) |
15 |
|
16 |
diff --git a/games-emulation/zsnes/zsnes-1.51-r10.ebuild b/games-emulation/zsnes/zsnes-1.51-r10.ebuild |
17 |
deleted file mode 100644 |
18 |
index ffa490ba20b..00000000000 |
19 |
--- a/games-emulation/zsnes/zsnes-1.51-r10.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,128 +0,0 @@ |
22 |
-# Copyright 1999-2021 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=7 |
26 |
- |
27 |
-inherit autotools desktop flag-o-matic toolchain-funcs pax-utils |
28 |
- |
29 |
-DESCRIPTION="SNES (Super Nintendo) emulator that uses x86 assembly" |
30 |
-HOMEPAGE="https://www.zsnes.com/ http://ipherswipsite.com/zsnes/" |
31 |
-SRC_URI="mirror://sourceforge/zsnes/${PN}${PV//./}src.tar.bz2 -> ${P}-20071031.tar.bz2" |
32 |
-S="${WORKDIR}/${PN}_${PV//./_}/src" |
33 |
- |
34 |
-LICENSE="GPL-2" |
35 |
-SLOT="0" |
36 |
-KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux" |
37 |
-IUSE="ao custom-cflags +debug opengl png" |
38 |
- |
39 |
-RDEPEND=" |
40 |
- media-libs/libsdl[sound,video,abi_x86_32(-)] |
41 |
- >=sys-libs/zlib-1.2.3-r1[abi_x86_32(-)] |
42 |
- ao? ( media-libs/libao[abi_x86_32(-)] ) |
43 |
- debug? ( sys-libs/ncurses:0=[abi_x86_32(-)] ) |
44 |
- opengl? ( virtual/opengl[abi_x86_32(-)] ) |
45 |
- png? ( media-libs/libpng:0=[abi_x86_32(-)] ) |
46 |
-" |
47 |
-DEPEND="${RDEPEND}" |
48 |
-BDEPEND=" |
49 |
- dev-lang/nasm |
50 |
- debug? ( virtual/pkgconfig ) |
51 |
-" |
52 |
- |
53 |
-PATCHES=( |
54 |
- # Fixing compilation without libpng installed |
55 |
- "${FILESDIR}"/${P}-libpng.patch |
56 |
- |
57 |
- # Fix bug #186111 |
58 |
- # Fix bug #214697 |
59 |
- # Fix bug #170108 |
60 |
- # Fix bug #260247 |
61 |
- "${FILESDIR}"/${P}-gcc43-20071031.patch |
62 |
- "${FILESDIR}"/${P}-libao-thread.patch |
63 |
- "${FILESDIR}"/${P}-depbuild.patch |
64 |
- "${FILESDIR}"/${P}-CC-quotes.patch |
65 |
- |
66 |
- # Fix compability with libpng15 wrt #378735 |
67 |
- "${FILESDIR}"/${P}-libpng15.patch |
68 |
- |
69 |
- # Fix buffer overwrite #257963 |
70 |
- "${FILESDIR}"/${P}-buffer.patch |
71 |
- # Fix gcc47 compile #419635 |
72 |
- "${FILESDIR}"/${P}-gcc47.patch |
73 |
- # Fix stack alignment issue #503138 |
74 |
- "${FILESDIR}"/${P}-stack-align-v2.patch |
75 |
- |
76 |
- "${FILESDIR}"/${P}-cross-compile.patch |
77 |
- "${FILESDIR}"/${P}-arch.patch |
78 |
- |
79 |
- "${FILESDIR}"/${P}-gcc-10.patch |
80 |
- "${FILESDIR}"/${P}-c++17.patch |
81 |
- "${FILESDIR}"/${P}-ao-crash.patch |
82 |
- "${FILESDIR}"/${P}-stack-align-v3.patch |
83 |
-) |
84 |
- |
85 |
-src_prepare() { |
86 |
- default |
87 |
- |
88 |
- # The sdl detection logic uses AC_PROG_PATH instead of |
89 |
- # AC_PROG_TOOL, so force the var to get set the way we |
90 |
- # need for things to work correctly. |
91 |
- tc-is-cross-compiler && export ac_cv_path_SDL_CONFIG=${CHOST}-sdl-config |
92 |
- |
93 |
- sed -i -e '67i#define OF(x) x' zip/zunzip.h || die |
94 |
- |
95 |
- # Remove hardcoded CFLAGS and LDFLAGS |
96 |
- sed -i \ |
97 |
- -e '/^CFLAGS=.*local/s:-pipe.*:-Wall -I.":' \ |
98 |
- -e '/^LDFLAGS=.*local/d' \ |
99 |
- -e '/\w*CFLAGS=.*fomit/s:-O3.*$STRIP::' \ |
100 |
- -e '/lncurses/s:-lncurses:`pkg-config ncurses --libs`:' \ |
101 |
- -e '/lcurses/s:-lcurses:`pkg-config ncurses --libs`:' \ |
102 |
- configure.in || die |
103 |
- sed -i \ |
104 |
- -e 's/configure.in/configure.ac/' \ |
105 |
- Makefile.in || die |
106 |
- mv configure.in configure.ac || die |
107 |
- eautoreconf |
108 |
-} |
109 |
- |
110 |
-src_configure() { |
111 |
- tc-export CC |
112 |
- export BUILD_CXX=$(tc-getBUILD_CXX) |
113 |
- export NFLAGS=-O1 |
114 |
- use amd64 && multilib_toolchain_setup x86 |
115 |
- use custom-cflags || strip-flags |
116 |
- |
117 |
- append-cppflags -U_FORTIFY_SOURCE #257963 |
118 |
- |
119 |
- econf \ |
120 |
- $(use_enable ao libao) \ |
121 |
- $(use_enable debug debugger) \ |
122 |
- $(use_enable png libpng) \ |
123 |
- $(use_enable opengl) \ |
124 |
- --disable-debug \ |
125 |
- --disable-cpucheck |
126 |
-} |
127 |
- |
128 |
-src_compile() { |
129 |
- emake makefile.dep |
130 |
- emake |
131 |
-} |
132 |
- |
133 |
-src_install() { |
134 |
- # Uses pic-unfriendly assembly code, bug #427104 |
135 |
- QA_TEXTRELS="usr/bin/zsnes" |
136 |
- |
137 |
- dobin zsnes |
138 |
- pax-mark m "${ED}"/usr/bin/zsnes |
139 |
- |
140 |
- newman linux/zsnes.1 zsnes.6 |
141 |
- |
142 |
- dodoc \ |
143 |
- ../docs/{readme.1st,authors.txt,srcinfo.txt,stdards.txt,support.txt,thanks.txt,todo.txt,README.LINUX} \ |
144 |
- ../docs/readme.txt/* |
145 |
- HTML_DOCS="../docs/readme.htm/*" einstalldocs |
146 |
- |
147 |
- make_desktop_entry zsnes ZSNES |
148 |
- newicon icons/48x48x32.png ${PN}.png |
149 |
-} |
150 |
|
151 |
diff --git a/games-emulation/zsnes/zsnes-1.51-r9.ebuild b/games-emulation/zsnes/zsnes-1.51-r9.ebuild |
152 |
deleted file mode 100644 |
153 |
index f97e76f1228..00000000000 |
154 |
--- a/games-emulation/zsnes/zsnes-1.51-r9.ebuild |
155 |
+++ /dev/null |
156 |
@@ -1,129 +0,0 @@ |
157 |
-# Copyright 1999-2021 Gentoo Authors |
158 |
-# Distributed under the terms of the GNU General Public License v2 |
159 |
- |
160 |
-EAPI=7 |
161 |
- |
162 |
-inherit autotools desktop flag-o-matic toolchain-funcs pax-utils |
163 |
- |
164 |
-DESCRIPTION="SNES (Super Nintendo) emulator that uses x86 assembly" |
165 |
-HOMEPAGE="https://www.zsnes.com/ http://ipherswipsite.com/zsnes/" |
166 |
-SRC_URI="mirror://sourceforge/zsnes/${PN}${PV//./}src.tar.bz2 -> ${P}-20071031.tar.bz2" |
167 |
-S="${WORKDIR}/${PN}_${PV//./_}/src" |
168 |
- |
169 |
-LICENSE="GPL-2" |
170 |
-SLOT="0" |
171 |
-KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux" |
172 |
-IUSE="ao custom-cflags +debug opengl png" |
173 |
- |
174 |
-RDEPEND=" |
175 |
- media-libs/libsdl[sound,video,abi_x86_32(-)] |
176 |
- >=sys-libs/zlib-1.2.3-r1[abi_x86_32(-)] |
177 |
- ao? ( media-libs/libao[abi_x86_32(-)] ) |
178 |
- debug? ( sys-libs/ncurses:0=[abi_x86_32(-)] ) |
179 |
- opengl? ( virtual/opengl[abi_x86_32(-)] ) |
180 |
- png? ( media-libs/libpng:0=[abi_x86_32(-)] ) |
181 |
-" |
182 |
-DEPEND="${RDEPEND}" |
183 |
-BDEPEND=" |
184 |
- dev-lang/nasm |
185 |
- virtual/pkgconfig |
186 |
-" |
187 |
- |
188 |
-PATCHES=( |
189 |
- # Fixing compilation without libpng installed |
190 |
- "${FILESDIR}"/${P}-libpng.patch |
191 |
- |
192 |
- # Fix bug #186111 |
193 |
- # Fix bug #214697 |
194 |
- # Fix bug #170108 |
195 |
- # Fix bug #260247 |
196 |
- "${FILESDIR}"/${P}-gcc43-20071031.patch |
197 |
- "${FILESDIR}"/${P}-libao-thread.patch |
198 |
- "${FILESDIR}"/${P}-depbuild.patch |
199 |
- "${FILESDIR}"/${P}-CC-quotes.patch |
200 |
- |
201 |
- # Fix compability with libpng15 wrt #378735 |
202 |
- "${FILESDIR}"/${P}-libpng15.patch |
203 |
- |
204 |
- # Fix buffer overwrite #257963 |
205 |
- "${FILESDIR}"/${P}-buffer.patch |
206 |
- # Fix gcc47 compile #419635 |
207 |
- "${FILESDIR}"/${P}-gcc47.patch |
208 |
- # Fix stack alignment issue #503138 |
209 |
- "${FILESDIR}"/${P}-stack-align-v2.patch |
210 |
- |
211 |
- "${FILESDIR}"/${P}-cross-compile.patch |
212 |
- "${FILESDIR}"/${P}-arch.patch |
213 |
- |
214 |
- "${FILESDIR}"/${P}-gcc-10.patch |
215 |
- "${FILESDIR}"/${P}-c++17.patch |
216 |
-) |
217 |
- |
218 |
-src_prepare() { |
219 |
- default |
220 |
- |
221 |
- # The sdl detection logic uses AC_PROG_PATH instead of |
222 |
- # AC_PROG_TOOL, so force the var to get set the way we |
223 |
- # need for things to work correctly. |
224 |
- tc-is-cross-compiler && export ac_cv_path_SDL_CONFIG=${CHOST}-sdl-config |
225 |
- |
226 |
- sed -i -e '67i#define OF(x) x' zip/zunzip.h || die |
227 |
- |
228 |
- # Remove hardcoded CFLAGS and LDFLAGS |
229 |
- sed -i \ |
230 |
- -e '/^CFLAGS=.*local/s:-pipe.*:-Wall -I.":' \ |
231 |
- -e '/^LDFLAGS=.*local/d' \ |
232 |
- -e '/\w*CFLAGS=.*fomit/s:-O3.*$STRIP::' \ |
233 |
- -e '/lncurses/s:-lncurses:`${PKG_CONFIG} ncurses --libs`:' \ |
234 |
- -e '/lcurses/s:-lcurses:`${PKG_CONFIG} ncurses --libs`:' \ |
235 |
- configure.in || die |
236 |
- sed -i \ |
237 |
- -e 's/configure.in/configure.ac/' \ |
238 |
- Makefile.in || die |
239 |
- mv configure.in configure.ac || die |
240 |
- eautoreconf |
241 |
-} |
242 |
- |
243 |
-src_configure() { |
244 |
- tc-export CC PKG_CONFIG |
245 |
- |
246 |
- export BUILD_CXX=$(tc-getBUILD_CXX) |
247 |
- export NFLAGS=-O1 |
248 |
- |
249 |
- use amd64 && multilib_toolchain_setup x86 |
250 |
- use custom-cflags || strip-flags |
251 |
- |
252 |
- # bug #257963 |
253 |
- append-cppflags -U_FORTIFY_SOURCE |
254 |
- |
255 |
- econf \ |
256 |
- $(use_enable ao libao) \ |
257 |
- $(use_enable debug debugger) \ |
258 |
- $(use_enable png libpng) \ |
259 |
- $(use_enable opengl) \ |
260 |
- --disable-debug \ |
261 |
- --disable-cpucheck |
262 |
-} |
263 |
- |
264 |
-src_compile() { |
265 |
- emake makefile.dep |
266 |
- emake |
267 |
-} |
268 |
- |
269 |
-src_install() { |
270 |
- # Uses pic-unfriendly assembly code, bug #427104 |
271 |
- QA_TEXTRELS="usr/bin/zsnes" |
272 |
- |
273 |
- dobin zsnes |
274 |
- pax-mark m "${ED}"/usr/bin/zsnes |
275 |
- |
276 |
- newman linux/zsnes.1 zsnes.6 |
277 |
- |
278 |
- dodoc \ |
279 |
- ../docs/{readme.1st,authors.txt,srcinfo.txt,stdards.txt,support.txt,thanks.txt,todo.txt,README.LINUX} \ |
280 |
- ../docs/readme.txt/* |
281 |
- HTML_DOCS="../docs/readme.htm/*" einstalldocs |
282 |
- |
283 |
- make_desktop_entry zsnes ZSNES |
284 |
- newicon icons/48x48x32.png ${PN}.png |
285 |
-} |