Gentoo Archives: gentoo-commits

From: "Stefan Schweizer (genstef)" <genstef@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-www/gnash: ChangeLog gnash-9999.ebuild
Date: Wed, 21 Nov 2007 09:41:23
Message-Id: E1Ium58-0004Dw-4N@stork.gentoo.org
1 genstef 07/11/21 09:41:18
2
3 Modified: ChangeLog gnash-9999.ebuild
4 Log:
5 change cvs ebuild to a stub to point to the cvs ebuild overlay made by Harley Peters <harley@×××××××××××××.com> in bug 187444
6 (Portage version: 2.1.3.18)
7
8 Revision Changes Path
9 1.52 net-www/gnash/ChangeLog
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-www/gnash/ChangeLog?rev=1.52&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-www/gnash/ChangeLog?rev=1.52&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-www/gnash/ChangeLog?r1=1.51&r2=1.52
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/net-www/gnash/ChangeLog,v
18 retrieving revision 1.51
19 retrieving revision 1.52
20 diff -u -r1.51 -r1.52
21 --- ChangeLog 21 Nov 2007 09:19:53 -0000 1.51
22 +++ ChangeLog 21 Nov 2007 09:41:17 -0000 1.52
23 @@ -1,6 +1,10 @@
24 # ChangeLog for net-www/gnash
25 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/net-www/gnash/ChangeLog,v 1.51 2007/11/21 09:19:53 uid895 Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/net-www/gnash/ChangeLog,v 1.52 2007/11/21 09:41:17 genstef Exp $
28 +
29 + 21 Nov 2007; Stefan Schweizer <genstef@g.o> gnash-9999.ebuild:
30 + change cvs ebuild to a stub to point to the cvs ebuild overlay made by
31 + Harley Peters <harley@×××××××××××××.com> in bug 187444
32
33 *gnash-0.8.1 (21 Nov 2007)
34
35
36
37
38 1.6 net-www/gnash/gnash-9999.ebuild
39
40 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-www/gnash/gnash-9999.ebuild?rev=1.6&view=markup
41 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-www/gnash/gnash-9999.ebuild?rev=1.6&content-type=text/plain
42 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-www/gnash/gnash-9999.ebuild?r1=1.5&r2=1.6
43
44 Index: gnash-9999.ebuild
45 ===================================================================
46 RCS file: /var/cvsroot/gentoo-x86/net-www/gnash/gnash-9999.ebuild,v
47 retrieving revision 1.5
48 retrieving revision 1.6
49 diff -u -r1.5 -r1.6
50 --- gnash-9999.ebuild 30 Aug 2007 07:52:00 -0000 1.5
51 +++ gnash-9999.ebuild 21 Nov 2007 09:41:17 -0000 1.6
52 @@ -1,145 +1,19 @@
53 # Copyright 1999-2007 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 -# $Header: /var/cvsroot/gentoo-x86/net-www/gnash/gnash-9999.ebuild,v 1.5 2007/08/30 07:52:00 genstef Exp $
56 -
57 -WANT_AUTOCONF=latest
58 -inherit nsplugins autotools cvs kde-functions qt3 multilib
59 -set-kdedir
60 +# $Header: /var/cvsroot/gentoo-x86/net-www/gnash/gnash-9999.ebuild,v 1.6 2007/11/21 09:41:17 genstef Exp $
61
62 DESCRIPTION="Gnash is a GNU Flash movie player that supports many SWF v7 features"
63 HOMEPAGE="http://www.gnu.org/software/gnash"
64 -ECVS_SERVER="cvs.sv.gnu.org:/sources/${PN}"
65 -ECVS_MODULE="${PN}"
66 -S="${WORKDIR}/${PN}"
67 +SRC_URI=""
68
69 -LICENSE="GPL-2"
70 +LICENSE="GPL-3"
71 SLOT="0"
72 KEYWORDS=""
73 -IUSE="agg gstreamer ffmpeg kde mad nsplugin xml video_cards_i810"
74 -#dmalloc, broken see bug 142939
75 -#dmalloc? ( dev-libs/dmalloc )
76 -# $(use_enable dmalloc) \
77 +IUSE=""
78
79 -RDEPEND="
80 - xml? ( dev-libs/libxml2 )
81 - sys-libs/zlib
82 - media-libs/jpeg
83 - media-libs/libogg
84 - media-libs/libpng
85 - net-misc/curl
86 - mad? ( media-libs/libmad )
87 - ffmpeg? ( media-video/ffmpeg )
88 - gstreamer? ( media-libs/gstreamer
89 - || (
90 - media-plugins/gst-plugins-ffmpeg
91 - media-plugins/gst-plugins-mad
92 - media-plugins/gst-plugins-lame
93 - )
94 - )
95 - !gstreamer? ( media-libs/libsdl )
96 - dev-libs/boost
97 - x11-libs/libX11
98 - x11-libs/libXi
99 - x11-libs/libXmu
100 - x11-libs/libXt
101 - x11-proto/xproto
102 - dev-libs/atk
103 - dev-libs/glib
104 - >x11-libs/gtk+-2
105 - x11-libs/pango
106 - !agg? ( virtual/opengl x11-libs/gtkglext )
107 - kde? ( kde-base/kdelibs )
108 - agg? ( x11-libs/agg )"
109 - #cairo? ( x11-libs/cairo )
110 -DEPEND="${RDEPEND} dev-util/pkgconfig"
111 +RDEPEND=""
112 +DEPEND=""
113
114 pkg_setup() {
115 - if use agg && use kde; then
116 - eerror "Building klash with the agg based renderer is not supported"
117 - eerror "Please USE -kde or -agg"
118 - die "kde and agg not supported at the same time"
119 - fi
120 -
121 - if has_version '<dev-libs/boost-1.34' && ! built_with_use dev-libs/boost threads; then
122 - eerror "dev-libst/boost has to be built with the 'threads' USE flag"
123 - die "dev-libs/boost not built with threads"
124 - fi
125 -
126 - if use mad && ( use !ffmpeg && use !gstreamer ) && ( use nsplugin || use xml ); then
127 - eerror "Building Gnash using the mad media handler is incompatible with the nsplugin or xml USE flags"
128 - die "nsplugin and xml not supported with mad media handler"
129 - fi
130 -
131 - if use !mad && use !ffmpeg && use !gstreamer; then
132 - eerror "You are trying to build Gnash without choosing a media handler"
133 - eerror "Please enable one of the following ffmpeg,gstreamer or mad(mp3 audio only)"
134 - die "No media handler selected !"
135 - fi
136 -}
137 -
138 -src_unpack() {
139 - cvs_src_unpack
140 - cd ${S}
141 - ./autogen.sh
142 -}
143 -
144 -src_compile() {
145 - local myconf
146 -
147 - use nsplugin && myconf="${myconf} --with-plugindir=/opt/netscape/plugins"
148 -
149 - #--enable-renderer=engine Specify rendering engine:
150 - # OpenGL (default)
151 - # Cairo (experimental)
152 - #cairo: does not work for plugins yet, offers flash for non-accelerated gfx?
153 - #if use cairo; then
154 - # myconf="${myconf} --enable-renderer=cairo"
155 - #fi
156 - if use agg; then
157 - myconf="${myconf} --enable-renderer=agg"
158 - fi
159 - #--enable-gui=flavor Specify gui flavor:
160 - # GTK
161 - # SDL -> has no controls, we do not USE it
162 - #$(use_enable gtk glext) with USE=-gtk, fails to detect gtkglext, bug 135010
163 - #--enable-media=gst||ffmpeg||mad
164 - if use mad && use !ffmpeg && use !gstreamer; then
165 - myconf="${myconf} --enable-media=mad"
166 - fi
167 -
168 - if use gstreamer && use !ffmpeg; then
169 - myconf="${myconf} --enable-media=gst"
170 - fi
171 -
172 - if use ffmpeg; then
173 - myconf="${myconf} --enable-media=ffmpeg"
174 - fi
175 -
176 - if use kde; then
177 - myconf="${myconf} --enable-klash --with-qt-incl=${QTDIR}/include
178 - --with-qt-lib=${QTDIR}/$(get_libdir)"
179 - else
180 - myconf="${myconf} --disable-klash"
181 - fi
182 -
183 - econf \
184 - $(use_enable nsplugin plugin) \
185 - $(use_enable xml) \
186 - $(use_enable video_cards_i810 i810-lod-bias) \
187 - --without-gcc-arch --disable-debugger \
188 - ${myconf} || die "econf failed"
189 - emake -j1 || die "emake failed"
190 -}
191 -
192 -src_install() {
193 - emake DESTDIR="${D}" install || die "emake install failed"
194 - use nsplugin && inst_plugin /opt/netscape/plugins/libgnashplugin.so \
195 - || rm -rf "${D}/opt"
196 - dodoc AUTHORS ChangeLog NEWS README
197 -}
198 -
199 -pkg_postinst() {
200 - ewarn "ALPHA"
201 - ewarn "gnash is still in heavy development"
202 - ewarn "please report gnash bugs upstream to the gnash devs"
203 + die "Please get the current cvs ebuild from layman -a gnash-cvs"
204 }
205
206
207
208 --
209 gentoo-commits@g.o mailing list