summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Alfredsen <loki_val@gentoo.org>2008-12-13 16:37:03 +0000
committerPeter Alfredsen <loki_val@gentoo.org>2008-12-13 16:37:03 +0000
commit47ec3d9e4753e3bc1080b8ef1f43bc859ab71436 (patch)
treed06cf7155e6e1bf29ab548b5956e17aa17c87c64 /net-www
parentalpha/ia64/sparc stable wrt #249393 (diff)
downloadgentoo-2-47ec3d9e4753e3bc1080b8ef1f43bc859ab71436.tar.gz
gentoo-2-47ec3d9e4753e3bc1080b8ef1f43bc859ab71436.tar.bz2
gentoo-2-47ec3d9e4753e3bc1080b8ef1f43bc859ab71436.zip
Dropped old ebuilds per ssuominen's request on -dev ml, since they do not build with next stable ffmpeg.
(Portage version: 2.2_rc17/cvs/Linux 2.6.28-rc6 x86_64)
Diffstat (limited to 'net-www')
-rw-r--r--net-www/gnash/ChangeLog7
-rw-r--r--net-www/gnash/gnash-0.8.1-r1.ebuild159
-rw-r--r--net-www/gnash/gnash-0.8.3.ebuild278
-rw-r--r--net-www/gnash/gnash-9999.ebuild19
4 files changed, 6 insertions, 457 deletions
diff --git a/net-www/gnash/ChangeLog b/net-www/gnash/ChangeLog
index 6777d9aa174b..e8206aab9d7d 100644
--- a/net-www/gnash/ChangeLog
+++ b/net-www/gnash/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-www/gnash
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/gnash/ChangeLog,v 1.67 2008/10/20 05:18:09 loki_val Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/gnash/ChangeLog,v 1.68 2008/12/13 16:37:03 loki_val Exp $
+
+ 13 Dec 2008; Peter Alfredsen <loki_val@gentoo.org> -gnash-0.8.1-r1.ebuild,
+ -gnash-0.8.3.ebuild, -gnash-9999.ebuild:
+ Dropped old ebuilds per ssuominen's request on -dev ml, since they do not
+ build with next stable ffmpeg.
20 Oct 2008; Peter Alfredsen <loki_val@gentoo.org> gnash-0.8.4.ebuild:
Fixup mysterious sed failure.
diff --git a/net-www/gnash/gnash-0.8.1-r1.ebuild b/net-www/gnash/gnash-0.8.1-r1.ebuild
deleted file mode 100644
index fdc284f45d37..000000000000
--- a/net-www/gnash/gnash-0.8.1-r1.ebuild
+++ /dev/null
@@ -1,159 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/gnash/gnash-0.8.1-r1.ebuild,v 1.5 2008/08/09 06:16:15 wormo Exp $
-
-inherit nsplugins kde-functions qt3 multilib
-set-kdedir eutils
-
-DESCRIPTION="Gnash is a GNU Flash movie player that supports many SWF v7 features"
-HOMEPAGE="http://www.gnu.org/software/gnash"
-SRC_URI="mirror://gnu/${PN}/${PV}/${P}.tar.bz2"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86 ~x86-fbsd"
-IUSE="agg cairo fbcon ffmpeg gstreamer gtk kde mad nsplugin opengl qt3 sdl video_cards_i810"
-
-RDEPEND="
- agg? ( >=x11-libs/agg-2.5 )
- cairo? ( x11-libs/cairo )
- opengl? (
- virtual/opengl
- gtk? ( x11-libs/gtkglext )
- )
- !agg? ( !cairo? ( !opengl? ( >=x11-libs/agg-2.5 ) ) )
- gtk? (
- >x11-libs/gtk+-2
- x11-libs/pango
- dev-libs/glib
- dev-libs/atk
- )
- kde? ( =kde-base/kdelibs-3.5* )
- qt3? ( =x11-libs/qt-3* )
- sdl? ( media-libs/libsdl )
- !gtk? ( !kde? ( !qt3? ( !sdl? ( ( !fbcon? (
- >x11-libs/gtk+-2
- x11-libs/pango
- dev-libs/glib
- dev-libs/atk
- =kde-base/kdelibs-3.5*
- ) ) ) ) ) )
- dev-libs/libxml2
- sys-libs/zlib
- media-libs/jpeg
- media-libs/libpng
- net-misc/curl
- ffmpeg? (
- media-libs/libsdl
- media-video/ffmpeg
- )
- gstreamer? (
- media-plugins/gst-plugins-ffmpeg
- media-plugins/gst-plugins-mad
- )
- mad? ( media-libs/libmad )
- dev-libs/boost
- x11-libs/libX11
- x11-libs/libXi
- x11-libs/libXmu
- x11-libs/libXt
- x11-proto/xproto
- "
-DEPEND="${RDEPEND}
- dev-util/pkgconfig"
-
-pkg_setup() {
- if ! use agg && ! use opengl && use cairo && use kde ; then
- eerror "The cairo renderer and the kde gui were selected"
- eerror "They are incompatible with each other"
- eerror "Disable one of them through the respective USE flag"
- die "cairo and kde USE flags enabled at the same time"
- fi
-
-#( use fbcon || use fltk )
- if ! use agg && use opengl && use fbcon; then
- eerror "The opengl renderer and the fb/fltk guis were selected"
- eerror "They are incompatible with each other"
- eerror "Disable one of them through the respective USE flag"
- die "opengl and fbcon/fltk USE flags enabled at the same time"
- fi
-
- if use nsplugin && use !gtk ; then
- eerror "The Firefox plugin was selected but not the GTK frontend."
- eerror "Disable the nsplugin USE flag or enable the gtk USE flag"
- die "nsplugin USE flag enabled with required gtk USE flag disabled"
- fi
-
- if has_version '<dev-libs/boost-1.34' && ! built_with_use dev-libs/boost threads ; then
- eerror "dev-libs/boost must have been built with the 'threads' USE flag enabled"
- die "dev-libs/boost not built with threads USE flag enabled"
- fi
-}
-
-src_compile() {
- local myconf
-
- if use nsplugin ; then
- myconf="${myconf} --with-plugindir=/opt/netscape/plugins"
- else
- myconf="${myconf} --disable-nsapi"
- fi
-
- if use agg ; then
- myconf="${myconf} --enable-renderer=agg"
- elif use opengl ; then
- myconf="${myconf} --enable-renderer=ogl"
- elif use cairo ; then
- myconf="${myconf} --enable-renderer=cairo"
- else
- ewarn "You did not select a renderer from: agg cairo opengl"
- ewarn " - Default of agg has been selected for you"
- myconf="${myconf} --enable-renderer=agg"
- fi
-
- local gui=""
- use fbcon && gui="${gui},fb"
- #use fltk && gui="${gui},fltk"
- use gtk && gui="${gui},gtk"
- use kde && gui="${gui},kde"
- use qt3 && gui="${gui},qt"
- use sdl && gui="${gui},sdl"
- gui=${gui#,}
- if [[ -z ${gui} ]] ; then
- ewarn "You did not select a gui from: fbcon gtk kde qt3 sdl" #fltk
- ewarn " - Default of gtk,kde has been selected for you"
- gui="gtk,kde"
- fi
-
- if use ffmpeg ; then
- myconf="${myconf} --enable-media=ffmpeg"
- elif use gstreamer ; then
- myconf="${myconf} --enable-media=gst"
- elif use mad ; then
- myconf="${myconf} --enable-media=mad"
- else
- ewarn "You did not select media: ffmpeg gstreamer mad"
- ewarn " - You will not have sound"
- myconf="${myconf} --enable-media=ffmpeg"
- fi
-
- econf \
- $(use_enable video_cards_i810 i810-lod-bias) \
- --enable-gui=${gui} \
- ${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"
-}
diff --git a/net-www/gnash/gnash-0.8.3.ebuild b/net-www/gnash/gnash-0.8.3.ebuild
deleted file mode 100644
index 59b5dbce93a5..000000000000
--- a/net-www/gnash/gnash-0.8.3.ebuild
+++ /dev/null
@@ -1,278 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/gnash/gnash-0.8.3.ebuild,v 1.7 2008/10/19 11:49:10 loki_val Exp $
-
-EAPI=1
-
-inherit autotools nsplugins kde-functions qt3 multilib
-
-set-kdedir 3.5
-
-DESCRIPTION="Gnash is a GNU Flash movie player that supports many SWF v7 features"
-HOMEPAGE="http://www.gnu.org/software/gnash"
-SRC_URI="mirror://gnu/${PN}/${PV}/${P}.tar.bz2"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="+agg -cairo dbus -fbcon -ffmpeg +gstreamer +gtk +kde +nsplugin -opengl -qt3 -sdl test video_cards_i810"
-
-RDEPEND="
- agg? ( >=x11-libs/agg-2.5 )
- opengl? (
- !agg? (
- virtual/opengl
- gtk? ( x11-libs/gtkglext )
- )
- )
- cairo? (
- !opengl? (
- !agg? (
- x11-libs/cairo
- )
- )
- )
-
- !agg? ( !cairo? ( !opengl? ( >=x11-libs/agg-2.5 ) ) )
- gtk? (
- x11-libs/gtk+:2
- x11-libs/pango
- dev-libs/glib
- dev-libs/atk
- )
- kde? ( kde-base/kdelibs:3.5 )
- qt3? ( x11-libs/qt:3 )
- sdl? ( media-libs/libsdl )
- !gtk? ( !kde? ( !qt3? ( !sdl? ( !fbcon? (
- x11-libs/gtk+:2
- x11-libs/pango
- dev-libs/glib
- dev-libs/atk
- kde-base/kdelibs:3.5
- ) ) ) ) )
- dev-libs/libxml2
- sys-libs/zlib
- media-libs/jpeg
- media-libs/libpng
- net-misc/curl
-
- ffmpeg? (
- !gstreamer? (
- media-libs/libsdl
- =media-video/ffmpeg-0.4.9_p20080326
- )
- )
-
- gstreamer? (
- media-plugins/gst-plugins-ffmpeg
- media-plugins/gst-plugins-mad
- )
- >=dev-libs/boost-1.35.0
- x11-libs/libX11
- x11-libs/libXi
- x11-libs/libXmu
- x11-libs/libXt
- x11-proto/xproto
- dbus? ( sys-apps/dbus )
- sys-devel/libtool
- "
-DEPEND="${RDEPEND}
- dev-util/pkgconfig
- test? ( dev-util/dejagnu
- media-gfx/swftools
- >=media-libs/ming-0.4.0_beta5 )"
-
-pkg_setup() {
- if use !gtk && use !kde && use !fbcon && use !qt3
- then
- einfo "No Graphical User Interface selected. Enabling kde and gtk"
- einfo "since they are the defaults."
- export defaultguis=1
- fi
-
- if use !agg && use !opengl && use cairo && use kde
- then
- eerror "The cairo renderer and the kde gui were selected"
- eerror "They are incompatible with each other"
- eerror "Disable one of them through the respective USE flag"
- die "cairo and kde USE flags enabled at the same time"
- fi
-
- if use !agg && use opengl && use fbcon
- then
- eerror "The opengl renderer and the fbcon gui were selected"
- eerror "They are incompatible with each other"
- eerror "Disable one of them through the respective USE flag"
- die "opengl and fbcon USE flags enabled at the same time"
- fi
-
- if use nsplugin && use !gtk && [ -z ${defaultguis} ]
- then
- eerror "The Firefox plugin was selected but not the GTK frontend."
- eerror "Disable the nsplugin USE flag or enable the gtk USE flag"
- die "nsplugin USE flag enabled with required gtk USE flag disabled"
- fi
-
- if use ffmpeg && use gstreamer
- then
- einfo "Only 1 audio output source can be compiled into ${PN}."
- einfo "Selecting gstreamer, since that's upstream default."
- einfo "To enable ffmpeg you must also disable gstreamer."
- fi
-
- if use agg
- then
- if use opengl || use cairo
- then
- einfo "Only 1 renderer can be activated at any one time."
- einfo "If more than one renderer is activated, the order of preference is:"
- einfo "agg > opengl > cairo"
- fi
- else
- if use !opengl && use !cairo
- then
- einfo "No renderer selected from agg, opengl, cairo"
- einfo "Default renderer agg selected."
- fi
- fi
-
- if use !ffmpeg && use !gstreamer
- then
- ewarn "You did not select any media: ffmpeg gstreamer"
- ewarn "You will not have sound!"
- fi
-
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- sed -i \
- -e 's,config.h,gnashconfig.h,' \
- ./extensions/dbus/dbus_ext.h || die
- epatch "${FILESDIR}"/${P}-boost-dynamic-link.patch
- epatch "${FILESDIR}"/${P}-libtool-2.2.patch
- eautoreconf
-}
-
-src_compile() {
- local myconf
-
- if use nsplugin ; then
- myconf="${myconf} --enable-nsapi --with-npapi-plugindir=/opt/netscape/plugins"
- else
- myconf="${myconf} --disable-nsapi"
- fi
-
-#Select renderer.
- if use agg ; then
- myconf="${myconf} --enable-renderer=agg"
- elif use opengl ; then
- myconf="${myconf} --enable-renderer=ogl"
- elif use cairo ; then
- myconf="${myconf} --enable-renderer=cairo"
- else
- myconf="${myconf} --enable-renderer=agg"
- fi
-
-#Select which Graphical User Interfaces to build.
- local guis="" \
- gui=""
- for gui in fbcon-FB gtk-GTK2 kde-KDE qt3-QT sdl-SDL
- do
- use ${gui/-*} && guis="${guis},${gui/*-}"
- done
- guis=${guis#,}
- if [ -z "${guis}" ]
- then
- guis="GTK2,KDE"
- fi
-
-#Select which extensions to build.
- local extensions="FILEIO" \
- extension=""
- for extension in dbus-DBUS gtk-GTK2 test-DEJAGNU
- do
- use ${extension%-*} && extensions="${extensions},${extension#*-}"
- done
-
-#Select audio output extension.
- if use gstreamer
- then
- myconf="${myconf} --enable-media=gst"
- elif use ffmpeg
- then
- myconf="${myconf} --enable-media=ffmpeg"
- else
- myconf="${myconf} --enable-media=none"
- fi
-
- econf \
- $(use_enable video_cards_i810 i810-lod-bias) \
- --enable-gui=${guis} \
- --with-extensions=${extensions} \
- --with-ffmpeg-incl=/usr/include \
- --with-kde-pluginprefix=${KDEDIR} \
- --without-included-ltdl \
- --with-ltdl-include=/usr/include \
- --with-ltdl-lib=/usr/lib \
- ${myconf} \
- || die "econf failed"
- emake || die "emake failed"
-}
-
-src_test() {
- cd testsuite
- make check || die "make check failed"
- ./anaylse-results.sh > TESTRESULTS.txt
- cat TESTRESULTS.txt
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
-
- if use nsplugin
- then
- emake DESTDIR="${D}" install-plugin \
- || die "emake install-plugin failed"
- inst_plugin /opt/netscape/plugins/libgnashplugin.so
- else
- rm -rf "${D}/opt"
- fi
-
- if use kde
- then
- pushd plugin/klash &> /dev/null
- make DESTDIR="${D}" install-plugin
- popd &> /dev/null
- fi
-
- use test && dodoc testsuite/TESTRESULTS.txt
-
- dodoc AUTHORS ChangeLog* NEWS README
-}
-
-pkg_postinst() {
- ewarn "BETA"
- ewarn "gnash is still in heavy development"
- ewarn "please report gnash bugs upstream to the gnash devs"
- if use test
- then
- ewarn "Test results can be found in /usr/share/doc/${PF}/TESTRESULTS.txt"
- ewarn "Currently \"acceptable\" failing tests:"
- ewarn "Unexpected failures follow:"
- ewarn " --=[ ./actionscript.all ]=--"
- ewarn "FAIL: astests-v5-Runner: expected: 584 obtained: 64 [./Date.as:549]"
- ewarn "FAIL: astests-v5-Runner: expected: 0 obtained: 8 [./Date.as:550]"
- ewarn "FAIL: astests-v5-Runner: expected: 4 obtained: 45 [./Date.as:551]"
- ewarn "FAIL: astests-v6-Runner: expected: 584 obtained: 64 [./Date.as:549]"
- ewarn "FAIL: astests-v6-Runner: expected: 0 obtained: 8 [./Date.as:550]"
- ewarn "FAIL: astests-v6-Runner: expected: 4 obtained: 45 [./Date.as:551]"
- ewarn "FAIL: astests-v7-Runner: expected: 584 obtained: 64 [./Date.as:549]"
- ewarn "FAIL: astests-v7-Runner: expected: 0 obtained: 8 [./Date.as:550]"
- ewarn "FAIL: astests-v7-Runner: expected: 4 obtained: 45 [./Date.as:551]"
- ewarn "FAIL: astests-v8-Runner: expected: 584 obtained: 64 [./Date.as:549]"
- ewarn "FAIL: astests-v8-Runner: expected: 0 obtained: 8 [./Date.as:550]"
- ewarn "FAIL: astests-v8-Runner: expected: 4 obtained: 45 [./Date.as:551]"
- fi
-}
diff --git a/net-www/gnash/gnash-9999.ebuild b/net-www/gnash/gnash-9999.ebuild
deleted file mode 100644
index 68593831e786..000000000000
--- a/net-www/gnash/gnash-9999.ebuild
+++ /dev/null
@@ -1,19 +0,0 @@
-# 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.6 2007/11/21 09:41:17 genstef Exp $
-
-DESCRIPTION="Gnash is a GNU Flash movie player that supports many SWF v7 features"
-HOMEPAGE="http://www.gnu.org/software/gnash"
-SRC_URI=""
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS=""
-IUSE=""
-
-RDEPEND=""
-DEPEND=""
-
-pkg_setup() {
- die "Please get the current cvs ebuild from layman -a gnash-cvs"
-}