Gentoo Archives: gentoo-commits

From: Austin English <wizardedit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/vice/
Date: Fri, 14 Oct 2016 17:49:58
Message-Id: 1476467383.35e39f7b4bfb0a96dbd40eee6e5b4fb913bc4656.wizardedit@gentoo
1 commit: 35e39f7b4bfb0a96dbd40eee6e5b4fb913bc4656
2 Author: Austin English <wizardedit <AT> gentoo <DOT> org>
3 AuthorDate: Fri Oct 14 17:49:00 2016 +0000
4 Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 14 17:49:43 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35e39f7b
7
8 app-emulation/vice: remove broken vice-2.4.27-r1, superseded by vice-2.4.27-r2
9
10 Package-Manager: portage-2.3.0
11
12 app-emulation/vice/vice-2.4.27-r1.ebuild | 174 -------------------------------
13 1 file changed, 174 deletions(-)
14
15 diff --git a/app-emulation/vice/vice-2.4.27-r1.ebuild b/app-emulation/vice/vice-2.4.27-r1.ebuild
16 deleted file mode 100644
17 index ee4aa0b..00000000
18 --- a/app-emulation/vice/vice-2.4.27-r1.ebuild
19 +++ /dev/null
20 @@ -1,174 +0,0 @@
21 -# Copyright 1999-2016 Gentoo Foundation
22 -# Distributed under the terms of the GNU General Public License v2
23 -# $Id$
24 -
25 -EAPI=6
26 -inherit autotools eutils toolchain-funcs flag-o-matic
27 -
28 -DESCRIPTION="The Versatile Commodore 8-bit Emulator"
29 -HOMEPAGE="http://vice-emu.sourceforge.net/"
30 -SRC_URI="mirror://sourceforge/vice-emu/releases/${P}.tar.gz"
31 -
32 -LICENSE="GPL-2+"
33 -SLOT="0"
34 -KEYWORDS="~amd64 ~ppc ~sparc ~x86"
35 -IUSE="Xaw3d alsa ethernet ffmpeg fullscreen +gtk ipv6 lame nls oss png pulseaudio sdl +sdlsound threads vte zlib"
36 -
37 -# upstream says gtk3 and sdl2 shouldn't be exposed yet.
38 -#REQUIRED_USE="?? ( gtk2 gtk3 sdl )"
39 -REQUIRED_USE="?? ( gtk sdl )"
40 -
41 -GTK_COMMON="
42 - x11-libs/pango
43 - x11-libs/cairo"
44 -# gtk3? (
45 -# x11-libs/gtk+:3
46 -# vte? ( x11-libs/vte:2.90 )
47 -# ${GTK_COMMON}
48 -# )
49 -RDEPEND="
50 - virtual/jpeg:0
51 - virtual/opengl
52 - media-libs/giflib
53 - alsa? ( media-libs/alsa-lib )
54 - pulseaudio? ( media-sound/pulseaudio )
55 - sdlsound? ( media-libs/libsdl[sound] )
56 - ethernet? (
57 - >=net-libs/libpcap-0.9.8
58 - >=net-libs/libnet-1.1.2.1:1.1
59 - )
60 - ffmpeg? ( virtual/ffmpeg )
61 - lame? ( media-sound/lame )
62 - nls? ( virtual/libintl )
63 - png? ( media-libs/libpng:0 )
64 - zlib? ( sys-libs/zlib )
65 - sdl? (
66 - media-libs/libsdl[joystick,video]
67 - )
68 - !sdl? (
69 - fullscreen? (
70 - x11-libs/libXrandr
71 - x11-libs/libXxf86vm )
72 - x11-libs/libX11
73 - x11-libs/libXext
74 - sys-libs/readline:0
75 - )
76 - gtk? (
77 - x11-libs/gtk+:2
78 - vte? ( x11-libs/vte:0 )
79 - x11-libs/gtkglext
80 - ${GTK_COMMON}
81 - )
82 - !sdl? ( !gtk? (
83 - x11-libs/libXmu
84 - x11-libs/libXpm
85 - x11-libs/libXt
86 - x11-libs/libXv
87 - Xaw3d? ( x11-libs/libXaw3d )
88 - !Xaw3d? ( x11-libs/libXaw )
89 - ) )
90 - "
91 -DEPEND="${RDEPEND}
92 - virtual/pkgconfig
93 - !sdl? (
94 - fullscreen? ( x11-proto/xf86vidmodeproto )
95 - !gtk? (
96 - x11-libs/libICE
97 - x11-libs/libSM
98 - )
99 - )
100 - x11-apps/bdftopcf
101 - x11-apps/mkfontdir
102 - x11-proto/xproto
103 - x11-proto/xextproto
104 - media-libs/fontconfig
105 - x11-proto/videoproto
106 - nls? ( sys-devel/gettext )"
107 -
108 -PATCH=(
109 - "${FILESDIR}"/${P}-autotools.patch
110 -)
111 - #"${FILESDIR}"/vice_rath.txt
112 -
113 -src_prepare() {
114 - default
115 - sed -i \
116 - -e 's/building//' \
117 - doc/Makefile.am || die
118 - sed -i \
119 - -e "/^docdir =/s:=.*:=/usr/share/doc/${PF}:" \
120 - doc/Makefile.am \
121 - doc/readmes/Makefile.am || die
122 - sed -i \
123 - -e "/^docdir =/s:=.*:=/usr/share/doc/${PF}/html:" \
124 - doc/html/Makefile.am || die
125 - sed -i \
126 - -e "s:/usr/local/lib/VICE:/$(get_libdir)/${PN}:" \
127 - man/vice.1 \
128 - $(grep -rl --exclude="*texi" /usr/local/lib doc) || die
129 - sed -i \
130 - -e "/VICEDIR=/s:=.*:=\"/$(get_libdir)/${PN}\";:" \
131 - configure.ac || die
132 - sed -i \
133 - -e "s:\(#define LIBDIR \).*:\1\"$(get_libdir)/${PN}\":" \
134 - -e "s:\(#define DOCDIR \).*:\1\"/usr/share/doc/${PF}\":" \
135 - src/arch/unix/archdep.h \
136 - src/arch/sdl/archdep_unix.h || die
137 - rm -rf src/lib/{libffmpeg,liblame} || die
138 - sed -i \
139 - -e '/SUBDIRS/s/libffmpeg//;' \
140 - -e '/SUBDIRS/s/liblame//;' \
141 - src/lib/Makefile.am || die
142 - AT_NO_RECURSIVE=1 eautoreconf
143 -}
144 -
145 -src_configure() {
146 - local gui_arg snd_arg
147 -
148 - snd_arg+=" $(use_with alsa)"
149 - snd_arg+=" $(use_with oss)"
150 - snd_arg+=" $(use_with pulseaudio pulse)"
151 - snd_arg+=" $(use_with sdlsound)"
152 -
153 - gui_arg+=" $(use_enable sdl sdlui)"
154 - # The gtk UI code has raw calls to XOpenDisplay and
155 - # is missing -lX11 if vte doesn't pull it in.
156 - #if use gtk2 || use gtk3 ; then
157 - if use gtk ; then
158 - use vte || append-libs -lX11
159 - fi
160 - gui_arg+=" $(use_enable gtk gnomeui)"
161 - #gui_arg+=" $(use_enable gtk3 gnomeui3)"
162 - gui_arg+=" $(use_enable Xaw3d xaw3d)"
163 -
164 - # --with-readline is forced to avoid using the embedded copy
165 - # don't try to actually run fc-cache (bug #280976)
166 - FCCACHE=/bin/true \
167 - PKG_CONFIG=$(tc-getPKG_CONFIG) \
168 - econf \
169 - --enable-parsid \
170 - --with-resid \
171 - --with-readline \
172 - --without-arts \
173 - --without-midas \
174 - $(use_enable ethernet) \
175 - $(use_enable ffmpeg) \
176 - $(use_enable ffmpeg external-ffmpeg) \
177 - $(use_enable fullscreen) \
178 - $(use_enable ipv6) \
179 - $(use_enable lame) \
180 - $(use_enable nls) \
181 - $(use_enable vte) \
182 - $(use_with png) \
183 - $(use_with threads uithreads) \
184 - $(use_with zlib) \
185 - ${gui_arg} \
186 - ${snd_arg} \
187 - --disable-option-checking
188 - # --disable-option-checking has to be last
189 -}
190 -
191 -src_install() {
192 - DOCS="FEEDBACK"
193 - default
194 -}