1 |
commit: ea829542dbcaef08f523fb4a9fd863ec3408519e |
2 |
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 17 16:26:39 2020 +0000 |
4 |
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 17 16:27:04 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea829542 |
7 |
|
8 |
app-emulation/vice: Drop old 3.4_p37605 |
9 |
|
10 |
Package-Manager: Portage-3.0.6, Repoman-3.0.1 |
11 |
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> |
12 |
|
13 |
app-emulation/vice/Manifest | 1 - |
14 |
app-emulation/vice/files/vice-pkg-config.patch | 29 ---- |
15 |
app-emulation/vice/vice-3.4_p37605.ebuild | 176 ------------------------- |
16 |
3 files changed, 206 deletions(-) |
17 |
|
18 |
diff --git a/app-emulation/vice/Manifest b/app-emulation/vice/Manifest |
19 |
index 98153090bff..5c23e52b7bf 100644 |
20 |
--- a/app-emulation/vice/Manifest |
21 |
+++ b/app-emulation/vice/Manifest |
22 |
@@ -1,3 +1,2 @@ |
23 |
DIST vice-emu-code-r37498-trunk-vice.zip 26810776 BLAKE2B 05baa0d123e9a0f1141ef68940455b5abfccde0204d0ffeb0a806212977be6f1f2c777267cad077272f4e09fa3c6adb9e95436adaaee5482b2ce918a3485caeb SHA512 5b4c31e51efc67ac08f6fe9361c42b80115b315fc24c128861341f2eea7567bdbb1761e52bc914df442ed5cc7f2ca7c6b0a2694441d63e63f9f693bcf72c70c0 |
24 |
-DIST vice-emu-code-r37605-trunk-vice.zip 26854864 BLAKE2B 771728b69cb38492d086d199fcb56d19f14738bc6b5c3f0b1c9c6ffb07db0d2c2a3d631ed9f32a2abf0159d4e3e0d144c04e6ba13c22ce619ea1090f89b7b5cc SHA512 975c342d5ee7f72cc775bee711fed77fb6ce00bc15eef13403b9f3a457ac589d0089bcdf452507605bbf11d8806fceec94729becf1ef3fe66f6074854684d998 |
25 |
DIST vice-emu-code-r38553-trunk-vice.zip 27146846 BLAKE2B 5139e4b1e9269c3885313889dffc055298c52152da77e5a824270feb0af6ba61a1726160a6d259e9f8840fefe486cc184f5bfda3ba1797e0359159ccf1e9824f SHA512 c4d3f132bae2980163e74695126e979bd68dddecb17c2eea8227edbb675985d1f04ade665b946a5e3c707bc17e260efb61f57aa141b6ef712385d4d85a68ef86 |
26 |
|
27 |
diff --git a/app-emulation/vice/files/vice-pkg-config.patch b/app-emulation/vice/files/vice-pkg-config.patch |
28 |
deleted file mode 100644 |
29 |
index d29eff252fb..00000000000 |
30 |
--- a/app-emulation/vice/files/vice-pkg-config.patch |
31 |
+++ /dev/null |
32 |
@@ -1,29 +0,0 @@ |
33 |
-https://sourceforge.net/p/vice-emu/patches/218/ |
34 |
- |
35 |
-Index: configure.proto |
36 |
-=================================================================== |
37 |
---- a/configure.proto (revision 37525) |
38 |
-+++ b/configure.proto (working copy) |
39 |
-@@ -1275,6 +1275,14 @@ |
40 |
- fi |
41 |
- |
42 |
- if test x"$found_sdl2" != "xyes"; then |
43 |
-+ PKG_CHECK_MODULES(SDL2, sdl2, [ |
44 |
-+ use_sdl_prefix=no |
45 |
-+ use_sdl2_prefix=no |
46 |
-+ found_sdl2=yes |
47 |
-+ VICE_CFLAGS="$VICE_CFLAGS $SDL2_CFLAGS" |
48 |
-+ VICE_CXXFLAGS="$VICE_CXXFLAGS $SDL2_CFLAGS" |
49 |
-+ LIBS="$LIBS $SDL2_LIBS" |
50 |
-+ ], [ |
51 |
- dnl Check for sdl2-config |
52 |
- if test x"$sdl2_config" != "xno"; then |
53 |
- user_CFLAGS="$CFLAGS" |
54 |
-@@ -1311,6 +1319,7 @@ |
55 |
- CFLAGS="$user_CFLAGS" |
56 |
- CXXFLAGS="$user_CXXFLAGS" |
57 |
- fi |
58 |
-+ ]) |
59 |
- fi |
60 |
- |
61 |
- dnl fail if SDL2 ui was requested, otherwise restore flags and continue |
62 |
|
63 |
diff --git a/app-emulation/vice/vice-3.4_p37605.ebuild b/app-emulation/vice/vice-3.4_p37605.ebuild |
64 |
deleted file mode 100644 |
65 |
index 23c94697352..00000000000 |
66 |
--- a/app-emulation/vice/vice-3.4_p37605.ebuild |
67 |
+++ /dev/null |
68 |
@@ -1,176 +0,0 @@ |
69 |
-# Copyright 1999-2020 Gentoo Authors |
70 |
-# Distributed under the terms of the GNU General Public License v2 |
71 |
- |
72 |
-EAPI=7 |
73 |
- |
74 |
-inherit autotools multibuild |
75 |
- |
76 |
-MY_P="vice-emu-code-r${PV##*_p}-trunk-vice" |
77 |
- |
78 |
-DESCRIPTION="The Versatile Commodore Emulator" |
79 |
-HOMEPAGE="https://vice-emu.sourceforge.io/" |
80 |
-#SRC_URI="mirror://sourceforge/vice-emu/releases/${P}.tar.gz" |
81 |
-SRC_URI="https://sourceforge.net/code-snapshots/svn/v/vi/vice-emu/code/${MY_P}.zip" |
82 |
- |
83 |
-LICENSE="GPL-2+" |
84 |
-SLOT="0" |
85 |
-KEYWORDS="~amd64 ~x86" |
86 |
-IUSE="alsa debug doc ethernet ffmpeg flac gif +gtk headless ipv6 jpeg lame mpg123 ogg oss +opengl parport pci png portaudio pulseaudio sdl zlib" |
87 |
-REQUIRED_USE="|| ( gtk headless sdl ) gtk? ( zlib )" |
88 |
- |
89 |
-RDEPEND=" |
90 |
- sys-libs/readline:0= |
91 |
- virtual/libintl |
92 |
- alsa? ( media-libs/alsa-lib ) |
93 |
- ethernet? ( |
94 |
- >=net-libs/libpcap-0.9.8 |
95 |
- >=net-libs/libnet-1.1.2.1:1.1 |
96 |
- ) |
97 |
- ffmpeg? ( media-video/ffmpeg:= ) |
98 |
- flac? ( media-libs/flac ) |
99 |
- gif? ( media-libs/giflib:= ) |
100 |
- gtk? ( |
101 |
- dev-libs/glib:2 |
102 |
- media-libs/fontconfig:1.0 |
103 |
- x11-libs/gtk+:3 |
104 |
- opengl? ( |
105 |
- media-libs/glew:0= |
106 |
- virtual/opengl |
107 |
- ) |
108 |
- ) |
109 |
- jpeg? ( virtual/jpeg ) |
110 |
- lame? ( media-sound/lame ) |
111 |
- mpg123? ( media-sound/mpg123 ) |
112 |
- ogg? ( |
113 |
- media-libs/libogg |
114 |
- media-libs/libvorbis |
115 |
- ) |
116 |
- parport? ( sys-libs/libieee1284 ) |
117 |
- pci? ( sys-apps/pciutils ) |
118 |
- png? ( media-libs/libpng:0= ) |
119 |
- portaudio? ( media-libs/portaudio ) |
120 |
- pulseaudio? ( media-sound/pulseaudio ) |
121 |
- sdl? ( media-libs/libsdl2[video] ) |
122 |
- zlib? ( sys-libs/zlib ) |
123 |
-" |
124 |
- |
125 |
-DEPEND=" |
126 |
- ${RDEPEND} |
127 |
- x11-base/xorg-proto |
128 |
-" |
129 |
- |
130 |
-BDEPEND=" |
131 |
- app-arch/unzip |
132 |
- dev-embedded/xa |
133 |
- dev-lang/perl |
134 |
- sys-apps/texinfo |
135 |
- sys-devel/flex |
136 |
- sys-devel/gettext |
137 |
- virtual/pkgconfig |
138 |
- virtual/yacc |
139 |
- doc? ( virtual/texi2dvi ) |
140 |
-" |
141 |
- |
142 |
-S="${WORKDIR}/${MY_P}" |
143 |
-ECONF_SOURCE="${S}" |
144 |
- |
145 |
-PATCHES=( |
146 |
- "${FILESDIR}"/vice-pkg-config.patch |
147 |
-) |
148 |
- |
149 |
-src_prepare() { |
150 |
- default |
151 |
- |
152 |
- # Delete some bundled libraries. |
153 |
- rm -r src/lib/lib{ffmpeg,lame,x264} || die |
154 |
- |
155 |
- sed "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g" < configure.proto > configure.ac || die |
156 |
- |
157 |
- local DIR |
158 |
- for DIR in src/resid src/resid-dtv .; do |
159 |
- pushd "${DIR}" || die |
160 |
- AT_NO_RECURSIVE=1 eautoreconf |
161 |
- popd || die |
162 |
- done |
163 |
- |
164 |
- # Strip the predefined C(XX)FLAGS. |
165 |
- sed -i -r 's:(VICE_C(XX)?FLAGS=)"[^$]+":\1:' configure || die |
166 |
-} |
167 |
- |
168 |
-src_configure() { |
169 |
- MULTIBUILD_VARIANTS=( |
170 |
- $(usev gtk) |
171 |
- $(usev headless) |
172 |
- $(usev sdl) |
173 |
- ) |
174 |
- |
175 |
- multibuild_foreach_variant run_in_build_dir multibuild_src_configure |
176 |
-} |
177 |
- |
178 |
-multibuild_enable() { |
179 |
- if [[ ${MULTIBUILD_VARIANT} == $1 ]]; then |
180 |
- printf -- "--enable-%s\n" "$2" |
181 |
- else |
182 |
- printf -- "--disable-%s\n" "$2" |
183 |
- fi |
184 |
-} |
185 |
- |
186 |
-multibuild_src_configure() { |
187 |
- # Some dependencies lack configure options so prevent them becoming |
188 |
- # automagic by using configure cache variables. |
189 |
- use flac || export ac_cv_header_FLAC_stream_decoder_h=no |
190 |
- use mpg123 || export ac_cv_header_mpg123_h=no |
191 |
- use ogg || export ac_cv_header_vorbis_vorbisfile_h=no |
192 |
- use pci || export ac_cv_header_pci_pci_h=no |
193 |
- |
194 |
- # Ensure we use giflib, not ungif. |
195 |
- export ac_cv_lib_ungif_EGifPutLine=no |
196 |
- |
197 |
- # Append ".variant" to x* programs if building multiple variants. |
198 |
- if [[ ${#MULTIBUILD_VARIANTS[@]} -gt 1 ]]; then |
199 |
- xform="/^x/s/\$/.${MULTIBUILD_VARIANT}/" |
200 |
- else |
201 |
- unset xform |
202 |
- fi |
203 |
- |
204 |
- econf \ |
205 |
- --program-transform-name="${xform}" \ |
206 |
- --disable-sdlui \ |
207 |
- $(multibuild_enable sdl sdlui2) \ |
208 |
- $(multibuild_enable gtk native-gtk3ui) \ |
209 |
- $(use_enable debug debug-gtk3ui) \ |
210 |
- $(multibuild_enable headless headlessui) \ |
211 |
- $(use_enable opengl hwscale) \ |
212 |
- --disable-shared-ffmpeg \ |
213 |
- --disable-static-ffmpeg \ |
214 |
- $(use_enable ffmpeg external-ffmpeg) \ |
215 |
- $(use_enable ethernet) \ |
216 |
- $(use_enable ipv6) \ |
217 |
- $(use_enable parport libieee1284) \ |
218 |
- $(use_enable portaudio) \ |
219 |
- $(use_enable lame) \ |
220 |
- $(use_enable debug) \ |
221 |
- --disable-arch \ |
222 |
- $(use_enable doc pdf-docs) \ |
223 |
- --enable-html-docs \ |
224 |
- $(use_with pulseaudio pulse) \ |
225 |
- $(use_with alsa) \ |
226 |
- $(use_with oss) \ |
227 |
- $(use_with jpeg) \ |
228 |
- $(use_with png) \ |
229 |
- $(use_with gif) \ |
230 |
- $(use_with zlib) |
231 |
-} |
232 |
- |
233 |
-src_compile() { |
234 |
- multibuild_foreach_variant run_in_build_dir emake |
235 |
-} |
236 |
- |
237 |
-src_install() { |
238 |
- multibuild_foreach_variant run_in_build_dir default |
239 |
- dodoc FEEDBACK |
240 |
- |
241 |
- # Delete the bundled fonts. These could be packaged separately but |
242 |
- # they're only for the HTML documentation. |
243 |
- rm -r "${ED}"/usr/share/doc/${PF}/html/fonts/ || die |
244 |
-} |