From 3553d8490d50bcb5c60c8c89f0af77cd0b836301 Mon Sep 17 00:00:00 2001 From: Stefan Schweizer Date: Fri, 17 Nov 2006 20:17:16 +0000 Subject: version bump (Portage version: 2.1.2_rc1-r7) --- net-www/gnash/ChangeLog | 7 ++- net-www/gnash/files/digest-gnash-0.7.2 | 3 + net-www/gnash/gnash-0.7.2.ebuild | 105 +++++++++++++++++++++++++++++++++ 3 files changed, 114 insertions(+), 1 deletion(-) create mode 100644 net-www/gnash/files/digest-gnash-0.7.2 create mode 100644 net-www/gnash/gnash-0.7.2.ebuild (limited to 'net-www') diff --git a/net-www/gnash/ChangeLog b/net-www/gnash/ChangeLog index 15f9de424fa6..8411a5ae1d83 100644 --- a/net-www/gnash/ChangeLog +++ b/net-www/gnash/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-www/gnash # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/gnash/ChangeLog,v 1.25 2006/11/08 22:09:57 genstef Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-www/gnash/ChangeLog,v 1.26 2006/11/17 20:17:16 genstef Exp $ + +*gnash-0.7.2 (17 Nov 2006) + + 17 Nov 2006; Stefan Schweizer +gnash-0.7.2.ebuild: + version bump thanks go to Nihilus and the other gnash developers! 08 Nov 2006; Stefan Schweizer gnash-0.7.1_p20099999.ebuild: diff --git a/net-www/gnash/files/digest-gnash-0.7.2 b/net-www/gnash/files/digest-gnash-0.7.2 new file mode 100644 index 000000000000..f5e856ec1ba3 --- /dev/null +++ b/net-www/gnash/files/digest-gnash-0.7.2 @@ -0,0 +1,3 @@ +MD5 59a6644c93d0790eddb14a55dc5ca684 gnash-0.7.2.tar.bz2 4426828 +RMD160 5baa53d631b74f8e9436b91371a87476fb888d64 gnash-0.7.2.tar.bz2 4426828 +SHA256 998c57fac5958dcd1ec547ed9ea3ef9f9631ebeb630468cf8cc4d79bfe14297b gnash-0.7.2.tar.bz2 4426828 diff --git a/net-www/gnash/gnash-0.7.2.ebuild b/net-www/gnash/gnash-0.7.2.ebuild new file mode 100644 index 000000000000..e9b2a4dd472e --- /dev/null +++ b/net-www/gnash/gnash-0.7.2.ebuild @@ -0,0 +1,105 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-www/gnash/gnash-0.7.2.ebuild,v 1.1 2006/11/17 20:17:16 genstef Exp $ + +inherit nsplugins + +DESCRIPTION="Gnash is a GNU Flash movie player that supports many SWF v7 features" +HOMEPAGE="http://www.gnu.org/software/gnash" +SRC_URI="ftp://ftp.gnu.org/pub/gnu/${PN}/${PV}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 -sparc ~x86" +IUSE="agg gstreamer ffmpeg 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 ) + agg? ( x11-libs/agg )" + #cairo? ( x11-libs/cairo ) + +src_compile() { + 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 + + # klash is broken, thus we do not offer it + econf \ + $(use_enable nsplugin plugin) \ + $(use_enable xml) \ + $(use_enable video_cards_i810 i810-lod-bias) \ + --without-gcc-arch \ + --disable-klash \ + ${myconf} || die "econf failed" + emake || 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" +} -- cgit v1.2.3-65-gdbad