Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/vice/
Date: Thu, 07 Jan 2021 11:33:36
Message-Id: 1610019199.1428709b6c7bf14c0c8532ae82784055e0df406c.sam@gentoo
1 commit: 1428709b6c7bf14c0c8532ae82784055e0df406c
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 7 11:26:41 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 7 11:33:19 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1428709b
7
8 app-emulation/vice: cleanup old
9
10 Package-Manager: Portage-3.0.12, Repoman-3.0.2
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 app-emulation/vice/Manifest | 1 -
14 app-emulation/vice/vice-3.4_p37498.ebuild | 172 ------------------------------
15 2 files changed, 173 deletions(-)
16
17 diff --git a/app-emulation/vice/Manifest b/app-emulation/vice/Manifest
18 index 5c23e52b7bf..793bfbd5c65 100644
19 --- a/app-emulation/vice/Manifest
20 +++ b/app-emulation/vice/Manifest
21 @@ -1,2 +1 @@
22 -DIST vice-emu-code-r37498-trunk-vice.zip 26810776 BLAKE2B 05baa0d123e9a0f1141ef68940455b5abfccde0204d0ffeb0a806212977be6f1f2c777267cad077272f4e09fa3c6adb9e95436adaaee5482b2ce918a3485caeb SHA512 5b4c31e51efc67ac08f6fe9361c42b80115b315fc24c128861341f2eea7567bdbb1761e52bc914df442ed5cc7f2ca7c6b0a2694441d63e63f9f693bcf72c70c0
23 DIST vice-emu-code-r38553-trunk-vice.zip 27146846 BLAKE2B 5139e4b1e9269c3885313889dffc055298c52152da77e5a824270feb0af6ba61a1726160a6d259e9f8840fefe486cc184f5bfda3ba1797e0359159ccf1e9824f SHA512 c4d3f132bae2980163e74695126e979bd68dddecb17c2eea8227edbb675985d1f04ade665b946a5e3c707bc17e260efb61f57aa141b6ef712385d4d85a68ef86
24
25 diff --git a/app-emulation/vice/vice-3.4_p37498.ebuild b/app-emulation/vice/vice-3.4_p37498.ebuild
26 deleted file mode 100644
27 index 9053d48c332..00000000000
28 --- a/app-emulation/vice/vice-3.4_p37498.ebuild
29 +++ /dev/null
30 @@ -1,172 +0,0 @@
31 -# Copyright 1999-2020 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=7
35 -
36 -inherit autotools multibuild
37 -
38 -MY_P="vice-emu-code-r${PV##*_p}-trunk-vice"
39 -
40 -DESCRIPTION="The Versatile Commodore Emulator"
41 -HOMEPAGE="https://vice-emu.sourceforge.io/"
42 -#SRC_URI="mirror://sourceforge/vice-emu/releases/${P}.tar.gz"
43 -SRC_URI="https://sourceforge.net/code-snapshots/svn/v/vi/vice-emu/code/${MY_P}.zip"
44 -
45 -LICENSE="GPL-2+"
46 -SLOT="0"
47 -KEYWORDS="amd64 x86"
48 -IUSE="alsa debug doc ethernet ffmpeg flac gif +gtk headless ipv6 jpeg lame mpg123 ogg oss +opengl parport pci png portaudio pulseaudio sdl zlib"
49 -REQUIRED_USE="|| ( gtk headless sdl ) gtk? ( zlib )"
50 -
51 -RDEPEND="
52 - sys-libs/readline:0=
53 - virtual/libintl
54 - alsa? ( media-libs/alsa-lib )
55 - ethernet? (
56 - >=net-libs/libpcap-0.9.8
57 - >=net-libs/libnet-1.1.2.1:1.1
58 - )
59 - ffmpeg? ( media-video/ffmpeg:= )
60 - flac? ( media-libs/flac )
61 - gif? ( media-libs/giflib:= )
62 - gtk? (
63 - dev-libs/glib:2
64 - media-libs/fontconfig:1.0
65 - x11-libs/gtk+:3
66 - opengl? (
67 - media-libs/glew:0=
68 - virtual/opengl
69 - )
70 - )
71 - jpeg? ( virtual/jpeg )
72 - lame? ( media-sound/lame )
73 - mpg123? ( media-sound/mpg123 )
74 - ogg? (
75 - media-libs/libogg
76 - media-libs/libvorbis
77 - )
78 - parport? ( sys-libs/libieee1284 )
79 - pci? ( sys-apps/pciutils )
80 - png? ( media-libs/libpng:0= )
81 - portaudio? ( media-libs/portaudio )
82 - pulseaudio? ( media-sound/pulseaudio )
83 - sdl? ( media-libs/libsdl2[video] )
84 - zlib? ( sys-libs/zlib )
85 -"
86 -
87 -DEPEND="
88 - ${RDEPEND}
89 - x11-base/xorg-proto
90 -"
91 -
92 -BDEPEND="
93 - app-arch/unzip
94 - dev-embedded/xa
95 - dev-lang/perl
96 - sys-apps/texinfo
97 - sys-devel/flex
98 - sys-devel/gettext
99 - virtual/pkgconfig
100 - virtual/yacc
101 - doc? ( virtual/texi2dvi )
102 -"
103 -
104 -S="${WORKDIR}/${MY_P}"
105 -ECONF_SOURCE="${S}"
106 -
107 -src_prepare() {
108 - default
109 -
110 - # Delete some bundled libraries.
111 - rm -r src/lib/lib{ffmpeg,lame,x264} || die
112 -
113 - sed "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g" < configure.proto > configure.ac || die
114 -
115 - local DIR
116 - for DIR in src/resid src/resid-dtv .; do
117 - pushd "${DIR}" || die
118 - AT_NO_RECURSIVE=1 eautoreconf
119 - popd || die
120 - done
121 -
122 - # Strip the predefined C(XX)FLAGS.
123 - sed -i -r 's:(VICE_C(XX)?FLAGS=)"[^$]+":\1:' configure || die
124 -}
125 -
126 -src_configure() {
127 - MULTIBUILD_VARIANTS=(
128 - $(usev gtk)
129 - $(usev headless)
130 - $(usev sdl)
131 - )
132 -
133 - multibuild_foreach_variant run_in_build_dir multibuild_src_configure
134 -}
135 -
136 -multibuild_enable() {
137 - if [[ ${MULTIBUILD_VARIANT} == $1 ]]; then
138 - printf -- "--enable-%s\n" "$2"
139 - else
140 - printf -- "--disable-%s\n" "$2"
141 - fi
142 -}
143 -
144 -multibuild_src_configure() {
145 - # Some dependencies lack configure options so prevent them becoming
146 - # automagic by using configure cache variables.
147 - use flac || export ac_cv_header_FLAC_stream_decoder_h=no
148 - use mpg123 || export ac_cv_header_mpg123_h=no
149 - use ogg || export ac_cv_header_vorbis_vorbisfile_h=no
150 - use pci || export ac_cv_header_pci_pci_h=no
151 -
152 - # Ensure we use giflib, not ungif.
153 - export ac_cv_lib_ungif_EGifPutLine=no
154 -
155 - # Append ".variant" to x* programs if building multiple variants.
156 - if [[ ${#MULTIBUILD_VARIANTS[@]} -gt 1 ]]; then
157 - xform="/^x/s/\$/.${MULTIBUILD_VARIANT}/"
158 - else
159 - unset xform
160 - fi
161 -
162 - econf \
163 - --program-transform-name="${xform}" \
164 - --disable-sdlui \
165 - $(multibuild_enable sdl sdlui2) \
166 - $(multibuild_enable gtk native-gtk3ui) \
167 - $(use_enable debug debug-gtk3ui) \
168 - $(multibuild_enable headless headlessui) \
169 - $(use_enable opengl hwscale) \
170 - --disable-shared-ffmpeg \
171 - --disable-static-ffmpeg \
172 - $(use_enable ffmpeg external-ffmpeg) \
173 - $(use_enable ethernet) \
174 - $(use_enable ipv6) \
175 - $(use_enable parport libieee1284) \
176 - $(use_enable portaudio) \
177 - $(use_enable lame) \
178 - $(use_enable debug) \
179 - --disable-arch \
180 - $(use_enable doc pdf-docs) \
181 - --enable-html-docs \
182 - $(use_with pulseaudio pulse) \
183 - $(use_with alsa) \
184 - $(use_with oss) \
185 - $(use_with jpeg) \
186 - $(use_with png) \
187 - $(use_with gif) \
188 - $(use_with zlib)
189 -}
190 -
191 -src_compile() {
192 - multibuild_foreach_variant run_in_build_dir emake
193 -}
194 -
195 -src_install() {
196 - multibuild_foreach_variant run_in_build_dir default
197 - dodoc FEEDBACK
198 -
199 - # Delete the bundled fonts. These could be packaged separately but
200 - # they're only for the HTML documentation.
201 - rm -r "${ED}"/usr/share/doc/${PF}/html/fonts/ || die
202 -}