Gentoo Archives: gentoo-commits

From: "Michael Sterrett (mr_bones_)" <mr_bones_@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-emulation/vice: vice-2.4.20.ebuild metadata.xml ChangeLog
Date: Wed, 03 Jun 2015 05:41:20
Message-Id: 20150603054116.09002A17@oystercatcher.gentoo.org
1 mr_bones_ 15/06/03 05:41:16
2
3 Modified: metadata.xml ChangeLog
4 Added: vice-2.4.20.ebuild
5 Log:
6 version bump
7
8 (Portage version: 2.2.18/cvs/Linux x86_64, unsigned Manifest commit)
9
10 Revision Changes Path
11 1.7 app-emulation/vice/metadata.xml
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/vice/metadata.xml?rev=1.7&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/vice/metadata.xml?rev=1.7&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/vice/metadata.xml?r1=1.6&r2=1.7
16
17 Index: metadata.xml
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-emulation/vice/metadata.xml,v
20 retrieving revision 1.6
21 retrieving revision 1.7
22 diff -u -r1.6 -r1.7
23 --- metadata.xml 11 Feb 2015 03:05:43 -0000 1.6
24 +++ metadata.xml 3 Jun 2015 05:41:15 -0000 1.7
25 @@ -3,10 +3,12 @@
26 <pkgmetadata>
27 <herd>games</herd>
28 <use>
29 - <flag name="fullscreen">Enable the ability to run fullscreen</flag>
30 - <flag name="gtk3">Use GTK+3 instead of GTK+2</flag>
31 <flag name='ethernet'>Enable ethernet emulation</flag>
32 + <flag name="fullscreen">Enable the ability to run fullscreen</flag>
33 + <flag name="gtk2">Use GTK+2 for GUI instead of GTK+3</flag>
34 + <flag name="gtk3">Use GTK+3for GUI instead of GTK+2</flag>
35 <flag name='memmap'>Enable extra monitor features</flag>
36 + <flag name='sdlsound'>Use <pkg>media-libs/libsdl</pkg> for sound support</flag>
37 <flag name='vte'>Enable support for <pkg>x11-libs/vte</pkg> in the GTK+ interface</flag>
38 <flag name='xrandr'>Enable support for the X xrandr extension</flag>
39 </use>
40
41
42
43 1.99 app-emulation/vice/ChangeLog
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/vice/ChangeLog?rev=1.99&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/vice/ChangeLog?rev=1.99&content-type=text/plain
47 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/vice/ChangeLog?r1=1.98&r2=1.99
48
49 Index: ChangeLog
50 ===================================================================
51 RCS file: /var/cvsroot/gentoo-x86/app-emulation/vice/ChangeLog,v
52 retrieving revision 1.98
53 retrieving revision 1.99
54 diff -u -r1.98 -r1.99
55 --- ChangeLog 11 Feb 2015 03:05:43 -0000 1.98
56 +++ ChangeLog 3 Jun 2015 05:41:15 -0000 1.99
57 @@ -1,6 +1,12 @@
58 # ChangeLog for app-emulation/vice
59 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
60 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/vice/ChangeLog,v 1.98 2015/02/11 03:05:43 mr_bones_ Exp $
61 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/vice/ChangeLog,v 1.99 2015/06/03 05:41:15 mr_bones_ Exp $
62 +
63 +*vice-2.4.20 (03 Jun 2015)
64 +
65 + 03 Jun 2015; Michael Sterrett <mr_bones_@g.o>
66 + +files/vice-2.4.20-autotools.patch, +vice-2.4.20.ebuild, metadata.xml:
67 + version bump
68
69 *vice-2.4.16-r1 (11 Feb 2015)
70
71
72
73
74 1.1 app-emulation/vice/vice-2.4.20.ebuild
75
76 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/vice/vice-2.4.20.ebuild?rev=1.1&view=markup
77 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/vice/vice-2.4.20.ebuild?rev=1.1&content-type=text/plain
78
79 Index: vice-2.4.20.ebuild
80 ===================================================================
81 # Copyright 1999-2015 Gentoo Foundation
82 # Distributed under the terms of the GNU General Public License v2
83 # $Header: /var/cvsroot/gentoo-x86/app-emulation/vice/vice-2.4.20.ebuild,v 1.1 2015/06/03 05:41:15 mr_bones_ Exp $
84
85 EAPI=5
86 inherit autotools eutils toolchain-funcs flag-o-matic games
87
88 DESCRIPTION="The Versatile Commodore 8-bit Emulator"
89 HOMEPAGE="http://vice-emu.sourceforge.net/"
90 SRC_URI="mirror://sourceforge/vice-emu/releases/${P}.tar.gz"
91
92 LICENSE="GPL-2+"
93 SLOT="0"
94 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
95 IUSE="Xaw3d alsa ethernet ffmpeg fullscreen gtk2 +gtk3 ipv6 lame nls oss png pulseaudio sdl +sdlsound threads vte zlib"
96
97 REQUIRED_USE="?? ( gtk2 gtk3 sdl )"
98
99 GTK_COMMON="
100 x11-libs/pango
101 x11-libs/cairo"
102 RDEPEND="
103 virtual/jpeg:0
104 virtual/opengl
105 media-libs/giflib
106 alsa? ( media-libs/alsa-lib )
107 pulseaudio? ( media-sound/pulseaudio )
108 sdlsound? ( media-libs/libsdl[sound] )
109 ethernet? (
110 >=net-libs/libpcap-0.9.8
111 >=net-libs/libnet-1.1.2.1:1.1
112 )
113 ffmpeg? ( virtual/ffmpeg )
114 lame? ( media-sound/lame )
115 nls? ( virtual/libintl )
116 png? ( media-libs/libpng:0 )
117 zlib? ( sys-libs/zlib )
118 sdl? (
119 media-libs/libsdl[joystick,video]
120 )
121 !sdl? (
122 fullscreen? (
123 x11-libs/libXrandr
124 x11-libs/libXxf86vm )
125 x11-libs/libX11
126 x11-libs/libXext
127 sys-libs/readline
128 )
129 gtk2? (
130 x11-libs/gtk+:2
131 vte? ( x11-libs/vte:0 )
132 x11-libs/gtkglext
133 ${GTK_COMMON}
134 )
135 gtk3? (
136 x11-libs/gtk+:3
137 vte? ( x11-libs/vte:2.90 )
138 ${GTK_COMMON}
139 )
140 !sdl? ( !gtk2? ( !gtk3? (
141 x11-libs/libXmu
142 x11-libs/libXpm
143 x11-libs/libXt
144 x11-libs/libXv
145 Xaw3d? ( x11-libs/libXaw3d )
146 !Xaw3d? ( x11-libs/libXaw )
147 ) ) )
148 "
149 DEPEND="${RDEPEND}
150 virtual/pkgconfig
151 !sdl? (
152 fullscreen? ( x11-proto/xf86vidmodeproto )
153 !gtk2? ( !gtk3? (
154 x11-libs/libICE
155 x11-libs/libSM
156 ) )
157 )
158 x11-apps/bdftopcf
159 x11-apps/mkfontdir
160 x11-proto/xproto
161 x11-proto/xextproto
162 media-libs/fontconfig
163 x11-proto/videoproto
164 nls? ( sys-devel/gettext )"
165
166 src_prepare() {
167 epatch \
168 "${FILESDIR}"/${P}-autotools.patch
169 sed -i \
170 -e 's/building//' \
171 doc/Makefile.am || die
172 sed -i \
173 -e "/^docdir =/s:=.*:=/usr/share/doc/${PF}:" \
174 doc/Makefile.am \
175 doc/readmes/Makefile.am || die
176 sed -i \
177 -e "/^docdir =/s:=.*:=/usr/share/doc/${PF}/html:" \
178 doc/html/Makefile.am || die
179 sed -i \
180 -e "s:/usr/local/lib/VICE:$(games_get_libdir)/${PN}:" \
181 man/vice.1 \
182 $(grep -rl --exclude="*texi" /usr/local/lib doc) || die
183 sed -i \
184 -e "/VICEDIR=/s:=.*:=\"$(games_get_libdir)/${PN}\";:" \
185 configure.ac || die
186 sed -i \
187 -e "s:\(#define LIBDIR \).*:\1\"$(games_get_libdir)/${PN}\":" \
188 -e "s:\(#define DOCDIR \).*:\1\"/usr/share/doc/${PF}\":" \
189 src/arch/unix/archdep.h \
190 src/arch/sdl/archdep_unix.h || die
191 rm -rf src/lib/{libffmpeg,liblame} || die
192 sed -i \
193 -e '/SUBDIRS/s/libffmpeg//;' \
194 -e '/SUBDIRS/s/liblame//;' \
195 src/lib/Makefile.am || die
196 AT_NO_RECURSIVE=1 eautoreconf
197 }
198
199 src_configure() {
200 local gui_arg snd_arg
201
202 snd_arg+=" $(use_with alsa)"
203 snd_arg+=" $(use_with oss)"
204 snd_arg+=" $(use_with pulseaudio pulse)"
205 snd_arg+=" $(use_with sdlsound)"
206
207 gui_arg+=" $(use_enable sdl sdlui)"
208 # The gtk UI code has raw calls to XOpenDisplay and
209 # is missing -lX11 if vte doesn't pull it in.
210 if use gtk2 || use gtk3 ; then
211 use vte || append-libs -lX11
212 fi
213 gui_arg+=" $(use_enable gtk2 gnomeui)"
214 gui_arg+=" $(use_enable gtk3 gnomeui3)"
215 gui_arg+=" $(use_enable Xaw3d xaw3d)"
216
217 # --with-readline is forced to avoid using the embedded copy
218 # don't try to actually run fc-cache (bug #280976)
219 FCCACHE=/bin/true \
220 PKG_CONFIG=$(tc-getPKG_CONFIG) \
221 egamesconf \
222 --enable-parsid \
223 --with-resid \
224 --with-readline \
225 --without-arts \
226 --without-midas \
227 $(use_enable ethernet) \
228 $(use_enable ffmpeg) \
229 $(use_enable ffmpeg external-ffmpeg) \
230 $(use_enable fullscreen) \
231 $(use_enable ipv6) \
232 $(use_enable lame) \
233 $(use_enable nls) \
234 $(use_enable vte) \
235 $(use_with png) \
236 $(use_with threads uithreads) \
237 $(use_with zlib) \
238 ${gui_arg} \
239 ${snd_arg} \
240 --disable-option-checking
241 # --disable-option-checking has to be last
242 }
243
244 src_install() {
245 DOCS="AUTHORS ChangeLog FEEDBACK README" \
246 default
247 prepgamesdirs
248 }