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: ChangeLog vice-2.3.ebuild
Date: Fri, 29 Jul 2011 04:57:43
Message-Id: 20110729045726.719B52004B@flycatcher.gentoo.org
1 mr_bones_ 11/07/29 04:57:26
2
3 Modified: ChangeLog
4 Added: vice-2.3.ebuild
5 Log:
6 version bump (bug #368157)
7
8 (Portage version: 2.1.10.3/cvs/Linux i686)
9
10 Revision Changes Path
11 1.75 app-emulation/vice/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/vice/ChangeLog?rev=1.75&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/vice/ChangeLog?rev=1.75&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/vice/ChangeLog?r1=1.74&r2=1.75
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-emulation/vice/ChangeLog,v
20 retrieving revision 1.74
21 retrieving revision 1.75
22 diff -u -r1.74 -r1.75
23 --- ChangeLog 31 Mar 2011 15:35:13 -0000 1.74
24 +++ ChangeLog 29 Jul 2011 04:57:26 -0000 1.75
25 @@ -1,6 +1,11 @@
26 # ChangeLog for app-emulation/vice
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/vice/ChangeLog,v 1.74 2011/03/31 15:35:13 scarabeus Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/vice/ChangeLog,v 1.75 2011/07/29 04:57:26 mr_bones_ Exp $
30 +
31 +*vice-2.3 (29 Jul 2011)
32 +
33 + 29 Jul 2011; Michael Sterrett <mr_bones_@g.o> +vice-2.3.ebuild:
34 + version bump (bug #368157)
35
36 31 Mar 2011; Tomáš Chvátal <scarabeus@g.o> vice-2.2.ebuild:
37 Depend on virtual/ffmpeg instead of media-video/ffmpeg.
38
39
40
41 1.1 app-emulation/vice/vice-2.3.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/vice/vice-2.3.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/vice/vice-2.3.ebuild?rev=1.1&content-type=text/plain
45
46 Index: vice-2.3.ebuild
47 ===================================================================
48 # Copyright 1999-2011 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/app-emulation/vice/vice-2.3.ebuild,v 1.1 2011/07/29 04:57:26 mr_bones_ Exp $
51
52 EAPI=2
53 inherit autotools eutils games
54
55 DESCRIPTION="The Versatile Commodore 8-bit Emulator"
56 HOMEPAGE="http://vice-emu.sourceforge.net/"
57 SRC_URI="http://www.zimmers.net/anonftp/pub/cbm/crossplatform/emulators/VICE/${P}.tar.gz"
58
59 LICENSE="GPL-2"
60 SLOT="0"
61 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
62 IUSE="Xaw3d alsa gnome nls png readline sdl ipv6 memmap ethernet oss zlib X gif jpeg xv dga xrandr ffmpeg lame pulseaudio"
63
64 RDEPEND="
65 x11-libs/libX11
66 x11-libs/libXext
67 x11-libs/libXpm
68 x11-libs/libICE
69 x11-libs/libSM
70 x11-libs/libXt
71 x11-libs/libXxf86vm
72 x11-apps/xset
73 Xaw3d? ( x11-libs/Xaw3d )
74 !Xaw3d? ( !gnome? ( x11-libs/libXaw ) )
75 alsa? ( media-libs/alsa-lib )
76 gnome? (
77 x11-libs/gtk+:2
78 dev-libs/atk
79 x11-libs/pango
80 )
81 lame? ( media-sound/lame )
82 ffmpeg? ( virtual/ffmpeg )
83 ethernet? (
84 >=net-libs/libpcap-0.9.8
85 >=net-libs/libnet-1.1.2.1
86 )
87 nls? ( virtual/libintl )
88 png? ( media-libs/libpng )
89 readline? ( sys-libs/readline )
90 sdl? ( media-libs/libsdl )
91 gif? ( media-libs/giflib )
92 jpeg? ( virtual/jpeg )
93 xv? ( x11-libs/libXv )
94 dga? ( x11-libs/libXxf86dga )
95 xrandr? ( x11-libs/libXrandr )"
96 DEPEND="${RDEPEND}
97 virtual/texi2dvi
98 dev-util/pkgconfig
99 x11-apps/bdftopcf
100 x11-apps/mkfontdir
101 x11-proto/xproto
102 x11-proto/xf86vidmodeproto
103 x11-proto/xextproto
104 dga? ( x11-proto/xf86dgaproto )
105 xv? ( x11-proto/videoproto )
106 nls? ( sys-devel/gettext )"
107
108 src_prepare() {
109 sed -i \
110 -e "s:/usr/local/lib/VICE:${GAMES_DATADIR}/${PN}:" \
111 man/vice.1 \
112 $(grep -rl /usr/local/lib doc) \
113 || die "sed failed"
114 sed -i \
115 -e "/VICEDIR=/s:=.*:=\"${GAMES_DATADIR}/${PN}\";:" \
116 configure.in \
117 || die "sed failed"
118 sed -i \
119 -e "s:\(#define LIBDIR \).*:\1\"${GAMES_DATADIR}/${PN}\":" \
120 -e "s:\(#define DOCDIR \).*:\1\"/usr/share/doc/${PF}\":" \
121 src/arch/unix/archdep.h \
122 src/arch/sdl/archdep_unix.h
123 AT_NO_RECURSIVE=1 eautoreconf
124 }
125
126 src_configure() {
127 # don't try to actually run fc-cache (bug #280976)
128 FCCACHE=/bin/true \
129 PKG_CONFIG=pkg-config \
130 egamesconf \
131 --disable-dependency-tracking \
132 --enable-fullscreen \
133 --enable-parsid \
134 --with-resid \
135 --without-arts \
136 --without-midas \
137 $(use_enable ffmpeg) \
138 $(use_enable lame) \
139 $(use_enable gnome gnomeui) \
140 $(use_enable nls) \
141 $(use_with Xaw3d xaw3d) \
142 $(use_with alsa) \
143 $(use_with pulseaudio pulse) \
144 $(use_with png) \
145 $(use_with readline) \
146 $(use_with sdl sdlsound) \
147 $(use_enable ipv6) \
148 $(use oss || echo --without-oss) \
149 $(use_enable memmap) \
150 $(use_enable ethernet) \
151 $(use_with zlib) \
152 $(use_with X x)
153 }
154
155 src_install() {
156 emake DESTDIR="${D}" install || die "emake install failed"
157 dodoc AUTHORS ChangeLog FEEDBACK README
158 prepgamesdirs
159 }