diff options
author | Hanno Böck <hanno@gentoo.org> | 2007-06-20 02:01:22 +0000 |
---|---|---|
committer | Hanno Böck <hanno@gentoo.org> | 2007-06-20 02:01:22 +0000 |
commit | d7252c3c9584c446b84e62776c91f16de1e4c72f (patch) | |
tree | c0402af45e42265795606b6c8e0dd0a1c3d07e48 /net-www/gnash | |
parent | use emerge --unmerge, not emerge unmerge; bug #182219 (diff) | |
download | gentoo-2-d7252c3c9584c446b84e62776c91f16de1e4c72f.tar.gz gentoo-2-d7252c3c9584c446b84e62776c91f16de1e4c72f.tar.bz2 gentoo-2-d7252c3c9584c446b84e62776c91f16de1e4c72f.zip |
add up-to-date gnash cvs ebuild
(Portage version: 2.1.3_rc4)
Diffstat (limited to 'net-www/gnash')
-rw-r--r-- | net-www/gnash/ChangeLog | 7 | ||||
-rw-r--r-- | net-www/gnash/files/digest-gnash-9999 | 0 | ||||
-rw-r--r-- | net-www/gnash/gnash-9999.ebuild | 129 |
3 files changed, 135 insertions, 1 deletions
diff --git a/net-www/gnash/ChangeLog b/net-www/gnash/ChangeLog index 225bcccb7db0..93a70bac9d1a 100644 --- a/net-www/gnash/ChangeLog +++ b/net-www/gnash/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-www/gnash # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/gnash/ChangeLog,v 1.45 2007/06/12 11:15:09 opfer Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-www/gnash/ChangeLog,v 1.46 2007/06/20 02:01:21 hanno Exp $ + +*gnash-9999 (20 Jun 2007) + + 20 Jun 2007; Hanno Boeck <hanno@gentoo.org> +gnash-9999.ebuild: + Add up-to-date cvs ebuild. 12 Jun 2007; Christian Faulhammer <opfer@gentoo.org> gnash-0.8.0.ebuild: fixed a typo and added two pairs of quotes diff --git a/net-www/gnash/files/digest-gnash-9999 b/net-www/gnash/files/digest-gnash-9999 new file mode 100644 index 000000000000..e69de29bb2d1 --- /dev/null +++ b/net-www/gnash/files/digest-gnash-9999 diff --git a/net-www/gnash/gnash-9999.ebuild b/net-www/gnash/gnash-9999.ebuild new file mode 100644 index 000000000000..419d887028d2 --- /dev/null +++ b/net-www/gnash/gnash-9999.ebuild @@ -0,0 +1,129 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-www/gnash/gnash-9999.ebuild,v 1.1 2007/06/20 02:01:21 hanno Exp $ + +WANT_AUTOCONF=latest +inherit nsplugins autotools cvs kde-functions qt3 multilib +set-kdedir + +DESCRIPTION="Gnash is a GNU Flash movie player that supports many SWF v7 features" +HOMEPAGE="http://www.gnu.org/software/gnash" +ECVS_SERVER="cvs.sv.gnu.org:/sources/${PN}" +ECVS_MODULE="${PN}" +S="${WORKDIR}/${PN}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="" +IUSE="agg gstreamer ffmpeg kde nsplugin xml video_cards_i810" +#dmalloc, broken see bug 142939 +#dmalloc? ( dev-libs/dmalloc ) +# $(use_enable dmalloc) \ + +RDEPEND=" + xml? ( dev-libs/libxml2 ) + sys-libs/zlib + media-libs/jpeg + media-libs/libogg + media-libs/libpng + net-misc/curl + !ffmpeg? ( media-libs/libmad ) + ffmpeg? ( media-video/ffmpeg ) + gstreamer? ( media-libs/gstreamer + || ( + media-plugins/gst-plugins-ffmpeg + media-plugins/gst-plugins-mad + media-plugins/gst-plugins-lame + ) + ) + !gstreamer? ( media-libs/libsdl ) + dev-libs/boost + || ( + ( x11-libs/libX11 + x11-libs/libXi + x11-libs/libXmu + x11-libs/libXt + x11-proto/xproto ) + virtual/x11 + ) + dev-libs/atk + dev-libs/glib + >x11-libs/gtk+-2 + x11-libs/pango + !agg? ( virtual/opengl x11-libs/gtkglext ) + kde? ( kde-base/kdelibs ) + agg? ( x11-libs/agg )" + #cairo? ( x11-libs/cairo ) + +pkg_setup() { + if use agg && use kde; then + eerror "Building klash with the agg based renderer is not supported" + eerror "Please USE -kde or -agg" + die "kde and agg not supported at the same time" + fi + + if has_version '<dev-libs/boost-1.34' && ! built_with_use dev-libs/boost threads; then + eerror "dev-libst/boost has to be built with the 'threads' USE flag" + die "dev-libs/boost not built with threads" + fi +} + +src_compile() { + ./autogen.sh + local myconf + + use nsplugin && myconf="${myconf} --with-plugindir=/opt/netscape/plugins" + + #--enable-renderer=engine Specify rendering engine: + # OpenGL (default) + # Cairo (experimental) + #cairo: does not work for plugins yet, offers flash for non-accelerated gfx? + #if use cairo; then + # myconf="${myconf} --enable-renderer=cairo" + #fi + if use agg; then + myconf="${myconf} --enable-renderer=agg" + fi + #--enable-gui=flavor Specify gui flavor: + # GTK + # SDL -> has no controls, we do not USE it + #$(use_enable gtk glext) with USE=-gtk, fails to detect gtkglext, bug 135010 + #--enable-sound=gst,sdl + if use gstreamer; then + myconf="${myconf} --enable-sound=gst" + else + myconf="${myconf} --enable-sound=sdl" + fi + + if use ffmpeg; then + myconf="${myconf} --with-mp3-decoder=ffmpeg" + fi + + if use kde; then + myconf="${myconf} --enable-klash --with-qt-incl=${QTDIR}/include + --with-qt-lib=${QTDIR}/$(get_libdir)" + else + myconf="${myconf} --disable-klash" + fi + + econf \ + $(use_enable nsplugin plugin) \ + $(use_enable xml) \ + $(use_enable video_cards_i810 i810-lod-bias) \ + --without-gcc-arch \ + ${myconf} || die "econf failed" + emake -j1 || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + use nsplugin && inst_plugin /opt/netscape/plugins/libgnashplugin.so \ + || rm -rf "${D}/opt" + dodoc AUTHORS ChangeLog NEWS README +} + +pkg_postinst() { + ewarn "ALPHA" + ewarn "gnash is still in heavy development" + ewarn "please report gnash bugs upstream to the gnash devs" +} |