1 |
commit: 1a8dedb49d3d7590098469a7655eada1c2230499 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Mar 3 14:26:29 2019 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Mar 3 14:26:42 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a8dedb4 |
7 |
|
8 |
games-emulation/snes9x: Removed old. |
9 |
|
10 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
games-emulation/snes9x/Manifest | 1 - |
14 |
.../snes9x/files/snes9x-1.56-build-system.patch | 53 -------- |
15 |
games-emulation/snes9x/snes9x-1.57.ebuild | 139 --------------------- |
16 |
3 files changed, 193 deletions(-) |
17 |
|
18 |
diff --git a/games-emulation/snes9x/Manifest b/games-emulation/snes9x/Manifest |
19 |
index c4da18a9d02..a282f323f91 100644 |
20 |
--- a/games-emulation/snes9x/Manifest |
21 |
+++ b/games-emulation/snes9x/Manifest |
22 |
@@ -1,3 +1,2 @@ |
23 |
-DIST snes9x-1.57.tar.gz 2959157 BLAKE2B 6307976247eb3a3bcb506028d75d9054ea853db5c629870a89832fd93ee2fe256799b9191922c67fcd8ef1ed2344d16326212001661c5038a88f290346b9f35c SHA512 d17ec45eeae8f57c618a51243ac54bc3a2a3f09632e4e50c51781cf8557362dbfa7856d9d4ecdebeea344041c2686e2256f6bcd2dcc71660fcf336cf887dcb1c |
24 |
DIST snes9x-1.58.tar.gz 2830667 BLAKE2B 66446e56a172b318f7cefecc59d927270377f725df0ca89888e1c50eb3f5475729ffc9da86ead5e50f106ab0781ad644ae3b3ed5719724db9b78b687135ead04 SHA512 51f8e92258db58e55f7b0b6c4537a916358891bb5ee35bd984d1970d2fedbdb2f8b3a4f560e0302d3011e521a1072c8a0d69723e8b151f61d33802c02f392d7d |
25 |
DIST snes9x-1.59.tar.gz 2819790 BLAKE2B 63328f034bbd8b9905346836e52344c86dccf04e57d8b1d280485d1ff24e3b1d452c2529526b477066d6ace8a0f2aba07e62d98e85bd0eae4d21f0c0186e0587 SHA512 e9bec3e9908705f3ff380c6e2131b8ff7c9a7fc5571a00f05c0f7810a2edd2fe36dd4def242bdb924e9f6d15a303794a626358cd49dedab9a2794e80a2cc920a |
26 |
|
27 |
diff --git a/games-emulation/snes9x/files/snes9x-1.56-build-system.patch b/games-emulation/snes9x/files/snes9x-1.56-build-system.patch |
28 |
deleted file mode 100644 |
29 |
index d2ee182cb7c..00000000000 |
30 |
--- a/games-emulation/snes9x/files/snes9x-1.56-build-system.patch |
31 |
+++ /dev/null |
32 |
@@ -1,53 +0,0 @@ |
33 |
---- snes9x-1.56/gtk/configure.ac |
34 |
-+++ snes9x-1.56/gtk/configure.ac |
35 |
-@@ -33,8 +33,8 @@ |
36 |
- |
37 |
- AM_GLIB_GNU_GETTEXT |
38 |
- |
39 |
--snes9xlocaledir='${prefix}/${DATADIRNAME}/locale' |
40 |
--snes9xdatadir='${prefix}/${DATADIRNAME}/snes9x' |
41 |
-+snes9xlocaledir='$(localedir)' |
42 |
-+snes9xdatadir='$(datadir)/snes9x' |
43 |
- |
44 |
- AC_SUBST(snes9xlocaledir) |
45 |
- AC_SUBST(snes9xdatadir) |
46 |
---- snes9x-1.56/unix/configure.ac |
47 |
-+++ snes9x-1.56/unix/configure.ac |
48 |
-@@ -56,37 +56,6 @@ |
49 |
- # *** Execution begins here *** |
50 |
- # ***************************** |
51 |
- |
52 |
--# Test what compiler flags we should use. |
53 |
-- |
54 |
--AC_ARG_ENABLE([debug], |
55 |
-- [AS_HELP_STRING([--enable-debug], |
56 |
-- [leave debug information in the final binary (default: no)])], |
57 |
-- [], [enable_debug="no"]) |
58 |
-- |
59 |
--if test "x$enable_debug" = "xyes"; then |
60 |
-- AC_S9X_COMPILER_FLAG([-g], [g]) |
61 |
-- AC_S9X_COMPILER_FLAG([-O0], [o0]) |
62 |
--else |
63 |
-- AC_S9X_COMPILER_FLAG([-O3], [o3], [ |
64 |
-- AC_S9X_COMPILER_FLAG([-O2], [o2], [ |
65 |
-- AC_S9X_COMPILER_FLAG([-O1], [o1])])]) |
66 |
-- AC_S9X_COMPILER_FLAG([-fomit-frame-pointer], [omit_frame_pointer]) |
67 |
--fi |
68 |
-- |
69 |
--AC_ARG_ENABLE([mtune], |
70 |
-- [AS_HELP_STRING([--enable-mtune], |
71 |
-- [use the specified value for the -mtune/-mcpu flag (default: no)])], |
72 |
-- [], [enable_mtune="no"]) |
73 |
-- |
74 |
--if test "x$enable_mtune" != "xno"; then |
75 |
-- AC_S9X_COMPILER_FLAG([-mtune="$enable_mtune"], [mtune], |
76 |
-- [ |
77 |
-- AC_MSG_WARN([-mtune failed, trying -mcpu...]) |
78 |
-- AC_S9X_COMPILER_FLAG([-mcpu="$enable_mtune"], [mcpu], |
79 |
-- [AC_MSG_ERROR([Please specify a working value for --enable-mtune.])]) |
80 |
-- ]) |
81 |
--fi |
82 |
-- |
83 |
- AC_S9X_COMPILER_FLAG([-fno-exceptions], [no_exceptions]) |
84 |
- AC_S9X_COMPILER_FLAG([-fno-rtti], [no_rtti]) |
85 |
- AC_S9X_COMPILER_FLAG([-pedantic], [pedantic]) |
86 |
|
87 |
diff --git a/games-emulation/snes9x/snes9x-1.57.ebuild b/games-emulation/snes9x/snes9x-1.57.ebuild |
88 |
deleted file mode 100644 |
89 |
index 5792fa5ac7e..00000000000 |
90 |
--- a/games-emulation/snes9x/snes9x-1.57.ebuild |
91 |
+++ /dev/null |
92 |
@@ -1,139 +0,0 @@ |
93 |
-# Copyright 1999-2018 Gentoo Authors |
94 |
-# Distributed under the terms of the GNU General Public License v2 |
95 |
- |
96 |
-EAPI=6 |
97 |
- |
98 |
-inherit autotools flag-o-matic gnome2-utils xdg-utils |
99 |
- |
100 |
-DESCRIPTION="Super Nintendo Entertainment System (SNES) emulator" |
101 |
-HOMEPAGE="https://github.com/snes9xgit/snes9x" |
102 |
-SRC_URI="https://github.com/snes9xgit/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
103 |
- |
104 |
-LICENSE="Snes9x GPL-2 GPL-2+ LGPL-2.1 LGPL-2.1+ ISC MIT ZLIB Info-ZIP" |
105 |
-SLOT="0" |
106 |
-KEYWORDS="~amd64 ~ppc64 ~x86 ~x86-fbsd" |
107 |
-IUSE="alsa debug gtk joystick multilib netplay nls opengl oss png pulseaudio portaudio wayland xinerama +xv" |
108 |
-RESTRICT="bindist" |
109 |
- |
110 |
-RDEPEND=" |
111 |
- sys-libs/zlib:=[minizip] |
112 |
- x11-libs/libX11 |
113 |
- x11-libs/libXext |
114 |
- png? ( media-libs/libpng:0= ) |
115 |
- gtk? ( |
116 |
- dev-libs/glib:2 |
117 |
- dev-libs/libxml2 |
118 |
- >=x11-libs/gtk+-3.22:3[wayland?] |
119 |
- x11-libs/libXrandr |
120 |
- x11-misc/xdg-utils |
121 |
- alsa? ( media-libs/alsa-lib ) |
122 |
- joystick? ( media-libs/libsdl2[joystick] ) |
123 |
- opengl? ( |
124 |
- media-libs/libepoxy |
125 |
- virtual/opengl |
126 |
- ) |
127 |
- portaudio? ( >=media-libs/portaudio-19_pre ) |
128 |
- pulseaudio? ( media-sound/pulseaudio ) |
129 |
- xv? ( x11-libs/libXv ) |
130 |
- wayland? ( dev-libs/wayland ) |
131 |
- ) |
132 |
- xinerama? ( x11-libs/libXinerama )" |
133 |
-DEPEND="${RDEPEND} |
134 |
- virtual/pkgconfig |
135 |
- x11-base/xorg-proto |
136 |
- nls? ( dev-util/intltool )" |
137 |
- |
138 |
-S="${WORKDIR}/${P}/unix" |
139 |
- |
140 |
-PATCHES=( |
141 |
- "${FILESDIR}"/${PN}-1.53-cross-compile.patch |
142 |
- "${FILESDIR}"/${PN}-1.56-build-system.patch |
143 |
-) |
144 |
- |
145 |
-src_prepare() { |
146 |
- cd "${WORKDIR}"/${P} || die |
147 |
- rm -r unzip || die |
148 |
- default |
149 |
- cd unix || die |
150 |
- eautoreconf |
151 |
- if use gtk; then |
152 |
- cd ../gtk || die |
153 |
- eautoreconf |
154 |
- fi |
155 |
-} |
156 |
- |
157 |
-src_configure() { |
158 |
- append-ldflags -Wl,-z,noexecstack |
159 |
- |
160 |
- # build breaks when zlib/zip support is disabled |
161 |
- local myeconfargs=( |
162 |
- --enable-gzip |
163 |
- --enable-zip |
164 |
- --with-system-zip |
165 |
- $(use_enable joystick gamepad) |
166 |
- $(use_enable debug debugger) |
167 |
- $(use_enable netplay) |
168 |
- $(use_enable png screenshot) |
169 |
- $(use_enable xinerama) |
170 |
- ) |
171 |
- econf "${myeconfargs[@]}" |
172 |
- |
173 |
- if use gtk; then |
174 |
- cd ../gtk || die |
175 |
- myeconfargs=( |
176 |
- --with-gtk3 |
177 |
- --with-zlib |
178 |
- --with-system-zip |
179 |
- --without-gtk2 |
180 |
- $(use_enable nls) |
181 |
- $(use_with opengl) |
182 |
- $(use_with joystick) |
183 |
- $(use_with xv) |
184 |
- $(use_with netplay) |
185 |
- $(use_with alsa) |
186 |
- $(use_with oss) |
187 |
- $(use_with pulseaudio) |
188 |
- $(use_with portaudio) |
189 |
- $(use_with png screenshot) |
190 |
- $(use_with wayland) |
191 |
- ) |
192 |
- econf "${myeconfargs[@]}" |
193 |
- fi |
194 |
-} |
195 |
- |
196 |
-src_compile() { |
197 |
- emake |
198 |
- use gtk && emake -C ../gtk |
199 |
-} |
200 |
- |
201 |
-src_install() { |
202 |
- dobin ${PN} |
203 |
- |
204 |
- dodoc ../docs/{snes9x.conf.default,{changes,control-inputs,controls,snapshots}.txt} |
205 |
- |
206 |
- if use gtk; then |
207 |
- emake -C ../gtk DESTDIR="${D}" install |
208 |
- dodoc ../gtk/{AUTHORS,doc/README} |
209 |
- fi |
210 |
- |
211 |
- docinto html |
212 |
- dodoc {.,..}/docs/*.html |
213 |
-} |
214 |
- |
215 |
-pkg_preinst() { |
216 |
- use gtk && gnome2_icon_savelist |
217 |
-} |
218 |
- |
219 |
-pkg_postinst() { |
220 |
- if use gtk ; then |
221 |
- gnome2_icon_cache_update |
222 |
- xdg_desktop_database_update |
223 |
- fi |
224 |
-} |
225 |
- |
226 |
-pkg_postrm() { |
227 |
- if use gtk ; then |
228 |
- gnome2_icon_cache_update |
229 |
- xdg_desktop_database_update |
230 |
- fi |
231 |
-} |