summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2008-01-19 17:20:16 +0000
committerStefan Schweizer <genstef@gentoo.org>2008-01-19 17:20:16 +0000
commite3270f41d47f76b7edf2c8ddd5c0a104afa5cf6c (patch)
treeefc9e9433ac621235ffba45aa0c24094b4cb21fa /net-www
parentpackage.mask dev-java/jsx (diff)
downloadhistorical-e3270f41d47f76b7edf2c8ddd5c0a104afa5cf6c.tar.gz
historical-e3270f41d47f76b7edf2c8ddd5c0a104afa5cf6c.tar.bz2
historical-e3270f41d47f76b7edf2c8ddd5c0a104afa5cf6c.zip
remove old, dont offer fltk because we do not have fltk2, bug 205408
Package-Manager: portage-2.1.4
Diffstat (limited to 'net-www')
-rw-r--r--net-www/gnash/ChangeLog7
-rw-r--r--net-www/gnash/Manifest45
-rw-r--r--net-www/gnash/files/digest-gnash-0.8.03
-rw-r--r--net-www/gnash/files/digest-gnash-0.8.13
-rw-r--r--net-www/gnash/files/gnash-0.8.0-ffmpeg.patch103
-rw-r--r--net-www/gnash/gnash-0.8.0.ebuild148
-rw-r--r--net-www/gnash/gnash-0.8.1-r1.ebuild14
-rw-r--r--net-www/gnash/gnash-0.8.1.ebuild164
8 files changed, 21 insertions, 466 deletions
diff --git a/net-www/gnash/ChangeLog b/net-www/gnash/ChangeLog
index 6e059c2ae4cf..9338b3d7ed73 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.53 2008/01/12 03:49:26 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/gnash/ChangeLog,v 1.54 2008/01/19 17:20:15 genstef Exp $
+
+ 19 Jan 2008; Stefan Schweizer <genstef@gentoo.org>
+ -files/gnash-0.8.0-ffmpeg.patch, -gnash-0.8.0.ebuild, -gnash-0.8.1.ebuild,
+ gnash-0.8.1-r1.ebuild:
+ remove old, dont offer fltk because we do not have fltk2, bug 205408
*gnash-0.8.1-r1 (12 Jan 2008)
diff --git a/net-www/gnash/Manifest b/net-www/gnash/Manifest
index b6e5aded7518..e08dfd133a0e 100644
--- a/net-www/gnash/Manifest
+++ b/net-www/gnash/Manifest
@@ -1,52 +1,23 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-AUX gnash-0.8.0-ffmpeg.patch 3570 RMD160 584bb13d72353424c713aa2fdfb3081910f75f0d SHA1 ef0e9ff7d30b7649e4f7a73f7db13b02a13a7f8a SHA256 f310503c548aefa74f49bd8d4f2baf7a0bb294f6ca1df9f3639f3087b5263723
-MD5 15300df2f3fab34520ec047236b0aa54 files/gnash-0.8.0-ffmpeg.patch 3570
-RMD160 584bb13d72353424c713aa2fdfb3081910f75f0d files/gnash-0.8.0-ffmpeg.patch 3570
-SHA256 f310503c548aefa74f49bd8d4f2baf7a0bb294f6ca1df9f3639f3087b5263723 files/gnash-0.8.0-ffmpeg.patch 3570
-DIST gnash-0.8.0.tar.bz2 2053076 RMD160 6c885c283345973d27206f6e3f90635264a724ae SHA1 b03d3c03bb93b0ebaf5ad10cabd3d7fef2434f7e SHA256 ff8c3ca6f297ad4fa7cc8fecea45119dbaf8fef7f95901c04eccbf0d6424ef84
DIST gnash-0.8.1.tar.bz2 1983596 RMD160 8872e58fb1b2915edd62a2a48fc076a0cda3ed2d SHA1 d83280752d0cdf5c4bbeab1c2e8af3dd0113297f SHA256 30fb283e707bc209109ca313c83b069b1c482497b62f8c4cc37e9a23e0ba8993
-EBUILD gnash-0.8.0.ebuild 4090 RMD160 3aeca570f63e7481866c22a4442f3fa072d53996 SHA1 e04f9a36992990389692e3334ff9c93b9afe79e6 SHA256 a54b0257068f3170f85adaf629745d481459ebae8b0d480e7aab3ebe6626cc91
-MD5 25a1c3194913d9346a8dd67b7281bbd7 gnash-0.8.0.ebuild 4090
-RMD160 3aeca570f63e7481866c22a4442f3fa072d53996 gnash-0.8.0.ebuild 4090
-SHA256 a54b0257068f3170f85adaf629745d481459ebae8b0d480e7aab3ebe6626cc91 gnash-0.8.0.ebuild 4090
-EBUILD gnash-0.8.1-r1.ebuild 4393 RMD160 1069435a5cb3d6f4556c859b7959d84da0b4e3c0 SHA1 68d11f89a12c36cbc7a3d8b68193f98edf03ef30 SHA256 f356e32f8668155a3fb61ebd6985bf572de3934b27df227b62ec012bb6dbd817
-MD5 38cbb90d13eeca0f3c60c019a1a0e531 gnash-0.8.1-r1.ebuild 4393
-RMD160 1069435a5cb3d6f4556c859b7959d84da0b4e3c0 gnash-0.8.1-r1.ebuild 4393
-SHA256 f356e32f8668155a3fb61ebd6985bf572de3934b27df227b62ec012bb6dbd817 gnash-0.8.1-r1.ebuild 4393
-EBUILD gnash-0.8.1.ebuild 4574 RMD160 cafcc1d8441d4e05ff678534d54e00b4d5f08045 SHA1 808bc2e6060f2a6a7cb7ab184c0fd6ed62dacd86 SHA256 b784d91399cde7255176acd565bdbaa83e07c041c5a645151e0c9f1bbfe795d4
-MD5 d7e35df3e31bdbbd04b81b06fb401bab gnash-0.8.1.ebuild 4574
-RMD160 cafcc1d8441d4e05ff678534d54e00b4d5f08045 gnash-0.8.1.ebuild 4574
-SHA256 b784d91399cde7255176acd565bdbaa83e07c041c5a645151e0c9f1bbfe795d4 gnash-0.8.1.ebuild 4574
+EBUILD gnash-0.8.1-r1.ebuild 4369 RMD160 c73fc0cb4fc69aed14a6d725b714d5cc7a2fd7c6 SHA1 3c67b7e86f9eabdf28accd1bda53346a716e1c45 SHA256 e57d9537b685784906a6c2af5de943a1f448473c8e35f8b722f34781fe04da94
+MD5 b5e460d6c4255a7a98064c1ff91a2da6 gnash-0.8.1-r1.ebuild 4369
+RMD160 c73fc0cb4fc69aed14a6d725b714d5cc7a2fd7c6 gnash-0.8.1-r1.ebuild 4369
+SHA256 e57d9537b685784906a6c2af5de943a1f448473c8e35f8b722f34781fe04da94 gnash-0.8.1-r1.ebuild 4369
EBUILD gnash-9999.ebuild 505 RMD160 f7784d63cee65876d046e76d573e062cad927bee SHA1 627b71b89298059d5e3dd3872ff19de69913595a SHA256 f8d9aae6f4245160e80afbf8cebaf859a2834a715b295595fbd88e067ac034aa
MD5 d187943df992d078a66ae777baa4b915 gnash-9999.ebuild 505
RMD160 f7784d63cee65876d046e76d573e062cad927bee gnash-9999.ebuild 505
SHA256 f8d9aae6f4245160e80afbf8cebaf859a2834a715b295595fbd88e067ac034aa gnash-9999.ebuild 505
-MISC ChangeLog 935 RMD160 0bda88965c67c9436496f1916292427ae5955d4f SHA1 9dac3815cf31b02d0dad1502845e4b5e7ae5559e SHA256 d5d3fc0b6ec802b2102dac4f0b7e75db3fe8524ac0792d8712fe08d2a6ca47b4
-MD5 57b08731ebd69b12c6bf98a9cad99354 ChangeLog 935
-RMD160 0bda88965c67c9436496f1916292427ae5955d4f ChangeLog 935
-SHA256 d5d3fc0b6ec802b2102dac4f0b7e75db3fe8524ac0792d8712fe08d2a6ca47b4 ChangeLog 935
+MISC ChangeLog 1163 RMD160 95f3f34f0ee98728676ae55aca5da613aaa63fd5 SHA1 1e1d9e6e3c387a6089399a06eee92902bd54073c SHA256 a3437e537edce02f08f2c6240b60b9292636dbbcabdb608252e235188156b8fa
+MD5 ebf67c81c907d00407e195062c165f75 ChangeLog 1163
+RMD160 95f3f34f0ee98728676ae55aca5da613aaa63fd5 ChangeLog 1163
+SHA256 a3437e537edce02f08f2c6240b60b9292636dbbcabdb608252e235188156b8fa ChangeLog 1163
MISC metadata.xml 263 RMD160 3a7c4caf761fd53690c78d1352c1f7c2858a2c3b SHA1 0a3e12eb5d6d1c8e869b12ce442e89791f96d1a9 SHA256 05cfd5d6b86ee3f8cfda20636cefb676c252d2f4410b610d4f189ea8bfdff37e
MD5 532ea834bddad203e998a8091c1b7c2d metadata.xml 263
RMD160 3a7c4caf761fd53690c78d1352c1f7c2858a2c3b metadata.xml 263
SHA256 05cfd5d6b86ee3f8cfda20636cefb676c252d2f4410b610d4f189ea8bfdff37e metadata.xml 263
-MD5 96894973d0297970a042274df6ff9e82 files/digest-gnash-0.8.0 241
-RMD160 247bd4b4a8bdd4be525eba08c036f886c829db87 files/digest-gnash-0.8.0 241
-SHA256 88aef1d14cb6293b9e8609af2b5d38181abd4453e414c797d6715ac8d10282da files/digest-gnash-0.8.0 241
-MD5 43d39350b0bfc8bacaa038c6a1acaa15 files/digest-gnash-0.8.1 241
-RMD160 52e4b55a159802707e14b71d6d698fae5bb02911 files/digest-gnash-0.8.1 241
-SHA256 de7fba385aa97c0a3af415727b62a0f5739292da1de958372c06e7cc3d516b60 files/digest-gnash-0.8.1 241
MD5 43d39350b0bfc8bacaa038c6a1acaa15 files/digest-gnash-0.8.1-r1 241
RMD160 52e4b55a159802707e14b71d6d698fae5bb02911 files/digest-gnash-0.8.1-r1 241
SHA256 de7fba385aa97c0a3af415727b62a0f5739292da1de958372c06e7cc3d516b60 files/digest-gnash-0.8.1-r1 241
MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-gnash-9999 0
RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 files/digest-gnash-9999 0
SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 files/digest-gnash-9999 0
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.8 (GNU/Linux)
-
-iEYEARECAAYFAkeIOMwACgkQj9hvisErhMKT0ACeJlNP0YJQnNDum+9KbbVO/R8j
-2kMAniAg6T79jDliB2/kNYHM3ZErWRqU
-=g0Z4
------END PGP SIGNATURE-----
diff --git a/net-www/gnash/files/digest-gnash-0.8.0 b/net-www/gnash/files/digest-gnash-0.8.0
deleted file mode 100644
index c58c1de56149..000000000000
--- a/net-www/gnash/files/digest-gnash-0.8.0
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 b3a3b22d608b5050b1b2743bc348c536 gnash-0.8.0.tar.bz2 2053076
-RMD160 6c885c283345973d27206f6e3f90635264a724ae gnash-0.8.0.tar.bz2 2053076
-SHA256 ff8c3ca6f297ad4fa7cc8fecea45119dbaf8fef7f95901c04eccbf0d6424ef84 gnash-0.8.0.tar.bz2 2053076
diff --git a/net-www/gnash/files/digest-gnash-0.8.1 b/net-www/gnash/files/digest-gnash-0.8.1
deleted file mode 100644
index e063d5b29b5c..000000000000
--- a/net-www/gnash/files/digest-gnash-0.8.1
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 5f80a25cb7a37fb351d28fd2097d8f3e gnash-0.8.1.tar.bz2 1983596
-RMD160 8872e58fb1b2915edd62a2a48fc076a0cda3ed2d gnash-0.8.1.tar.bz2 1983596
-SHA256 30fb283e707bc209109ca313c83b069b1c482497b62f8c4cc37e9a23e0ba8993 gnash-0.8.1.tar.bz2 1983596
diff --git a/net-www/gnash/files/gnash-0.8.0-ffmpeg.patch b/net-www/gnash/files/gnash-0.8.0-ffmpeg.patch
deleted file mode 100644
index b9b763ba4357..000000000000
--- a/net-www/gnash/files/gnash-0.8.0-ffmpeg.patch
+++ /dev/null
@@ -1,103 +0,0 @@
-diff -ur gnash-0.8.0.orig/backend/sound_handler_sdl.h gnash-0.8.0/backend/sound_handler_sdl.h
---- gnash-0.8.0.orig/backend/sound_handler_sdl.h 2007-05-28 18:40:58.000000000 +0300
-+++ gnash-0.8.0/backend/sound_handler_sdl.h 2007-07-23 16:13:13.000000000 +0300
-@@ -26,7 +26,11 @@
- #include "log.h"
-
- #ifdef USE_FFMPEG
-+
-+extern "C" {
- #include <ffmpeg/avcodec.h>
-+}
-+
- #elif defined(USE_MAD)
- #include <mad.h>
- #endif
-diff -ur gnash-0.8.0.orig/configure.ac gnash-0.8.0/configure.ac
---- gnash-0.8.0.orig/configure.ac 2007-06-09 03:48:15.000000000 +0300
-+++ gnash-0.8.0/configure.ac 2007-07-23 17:14:05.000000000 +0300
-@@ -881,6 +881,7 @@
-
- if test x"$media_handler" = x"ffmpeg"; then
- GNASH_PATH_FFMPEG
-+ PKG_CHECK_MODULES(FFMPEG, libavutil libavformat libavcodec libswscale, HAVE_FFMPEG=yes, AC_MSG_ERROR([FFMPEG not found.]))
- if test x"${media_handler_specified}" = xfalse; then
- # If the library is not found, or its version is not ok, we'll try gst
- if test x"${ac_cv_path_ffmpeg_lib}" = x -o x"${ffmpeg_version}" != xok; then
-@@ -890,6 +891,8 @@
- fi
- fi
-
-+AC_SUBST(FFMPEG_LIBS)
-+
- if test "$media_handler" = "gst"; then
- GNASH_PKG_FIND(gstreamer, [gst/gst.h], [gstreamer library], gst_init, [0.10])
- if test x"${media_handler_specified}" = xfalse; then
-diff -ur gnash-0.8.0.orig/libbase/embedVideoDecoderFfmpeg.cpp gnash-0.8.0/libbase/embedVideoDecoderFfmpeg.cpp
---- gnash-0.8.0.orig/libbase/embedVideoDecoderFfmpeg.cpp 2007-06-08 21:44:16.000000000 +0300
-+++ gnash-0.8.0/libbase/embedVideoDecoderFfmpeg.cpp 2007-07-23 16:10:45.000000000 +0300
-@@ -26,7 +26,11 @@
- #include "embedVideoDecoderFfmpeg.h"
-
- #ifdef HAVE_SWSCALE_H
-+
-+extern "C" {
- #include <ffmpeg/swscale.h>
-+}
-+
- #endif
-
- #include <boost/scoped_array.hpp>
-diff -ur gnash-0.8.0.orig/libbase/embedVideoDecoderFfmpeg.h gnash-0.8.0/libbase/embedVideoDecoderFfmpeg.h
---- gnash-0.8.0.orig/libbase/embedVideoDecoderFfmpeg.h 2007-06-08 07:18:37.000000000 +0300
-+++ gnash-0.8.0/libbase/embedVideoDecoderFfmpeg.h 2007-07-23 16:10:37.000000000 +0300
-@@ -28,7 +28,11 @@
-
- #include <vector>
- #include "embedVideoDecoder.h"
-+
-+extern "C" {
- #include <ffmpeg/avcodec.h>
-+}
-+
- #include "image.h"
-
- namespace gnash {
-diff -ur gnash-0.8.0.orig/libbase/Makefile.am gnash-0.8.0/libbase/Makefile.am
---- gnash-0.8.0.orig/libbase/Makefile.am 2007-05-21 18:46:48.000000000 +0300
-+++ gnash-0.8.0/libbase/Makefile.am 2007-07-23 17:01:18.000000000 +0300
-@@ -160,7 +160,7 @@
- if USE_FFMPEG_ENGINE
- libgnashbase_la_SOURCES += embedVideoDecoderFfmpeg.cpp
- noinst_HEADERS += embedVideoDecoderFfmpeg.h
--libgnashbase_la_LIBADD += $(FFMPEG_LIBS)
-+libgnashbase_la_LIBADD += $(FFMPEG_LIBS) @FFMPEG_LIBS@
- libgnashbase_la_CPPFLAGS += $(FFMPEG_CFLAGS)
- endif
-
-diff -ur gnash-0.8.0.orig/server/asobj/NetStreamFfmpeg.h gnash-0.8.0/server/asobj/NetStreamFfmpeg.h
---- gnash-0.8.0.orig/server/asobj/NetStreamFfmpeg.h 2007-06-04 15:02:16.000000000 +0300
-+++ gnash-0.8.0/server/asobj/NetStreamFfmpeg.h 2007-07-23 16:11:27.000000000 +0300
-@@ -39,7 +39,9 @@
- #include "impl.h"
- #include "video_stream_instance.h"
-
-+extern "C" {
- #include <ffmpeg/avformat.h>
-+}
-
- #include "image.h"
- #include "StreamProvider.h"
-diff -ur gnash-0.8.0.orig/server/asobj/SoundFfmpeg.h gnash-0.8.0/server/asobj/SoundFfmpeg.h
---- gnash-0.8.0.orig/server/asobj/SoundFfmpeg.h 2007-05-28 18:41:08.000000000 +0300
-+++ gnash-0.8.0/server/asobj/SoundFfmpeg.h 2007-07-23 16:11:53.000000000 +0300
-@@ -32,7 +32,9 @@
- #include <boost/bind.hpp>
- #include <boost/thread/mutex.hpp>
-
-+extern "C" {
- #include <ffmpeg/avformat.h>
-+}
-
- namespace gnash {
-
diff --git a/net-www/gnash/gnash-0.8.0.ebuild b/net-www/gnash/gnash-0.8.0.ebuild
deleted file mode 100644
index 11ffc62186e0..000000000000
--- a/net-www/gnash/gnash-0.8.0.ebuild
+++ /dev/null
@@ -1,148 +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-0.8.0.ebuild,v 1.6 2007/07/23 14:36:24 drac Exp $
-
-WANT_AUTOMAKE="1.9"
-
-inherit nsplugins kde-functions qt3 multilib flag-o-matic autotools
-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-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd"
-IUSE="agg gstreamer ffmpeg kde mad 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
- mad? ( 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
- 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 )
-
-DEPEND="${RDEPEND}
- dev-util/pkgconfig"
-
-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
-
- if use mad && ( use !ffmpeg && use !gstreamer ) && ( use nsplugin || use xml ); then
- eerror "Building Gnash using the mad media handler is incompatible with the nsplugin or xml USE flags"
- die "nsplugin and xml not supported with mad media handler"
- fi
-
- if use !mad && use !ffmpeg && use !gstreamer; then
- eerror "You are trying to build Gnash without choosing a media handler"
- eerror "Please enable one of the following ffmpeg,gstreamer or mad(mp3 audio only)"
- die "No media handler selected !"
- fi
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/${P}-ffmpeg.patch
- eautoconf
- eautomake
-}
-
-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-media=gst||ffmpeg||mad
- if use mad && use !ffmpeg && use !gstreamer; then
- myconf="${myconf} --enable-media=mad"
- fi
-
- if use gstreamer && use !ffmpeg; then
- myconf="${myconf} --enable-media=gst"
- fi
-
- if use ffmpeg; then
- myconf="${myconf} --enable-media=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 --disable-debugger \
- ${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"
-}
diff --git a/net-www/gnash/gnash-0.8.1-r1.ebuild b/net-www/gnash/gnash-0.8.1-r1.ebuild
index 2504617b66b9..9c4e1cea3a7f 100644
--- a/net-www/gnash/gnash-0.8.1-r1.ebuild
+++ b/net-www/gnash/gnash-0.8.1-r1.ebuild
@@ -1,6 +1,6 @@
# 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.1 2008/01/12 03:49:26 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/gnash/gnash-0.8.1-r1.ebuild,v 1.2 2008/01/19 17:20:15 genstef Exp $
inherit nsplugins kde-functions qt3 multilib
set-kdedir eutils
@@ -12,7 +12,7 @@ SRC_URI="mirror://gnu/${PN}/${PV}/${P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd"
-IUSE="agg cairo fbcon ffmpeg fltk gstreamer gtk kde mad nsplugin opengl qt sdl video_cards_i810"
+IUSE="agg cairo fbcon ffmpeg gstreamer gtk kde mad nsplugin opengl qt sdl video_cards_i810"
RDEPEND="
agg? ( >=x11-libs/agg-2.5 )
@@ -31,8 +31,7 @@ RDEPEND="
kde? ( kde-base/kdelibs )
qt? ( x11-libs/qt )
sdl? ( media-libs/libsdl )
- fltk? ( x11-libs/fltk )
- !gtk? ( !kde? ( !qt? ( !sdl? ( !fltk? ( !fbcon? (
+ !gtk? ( !kde? ( !qt? ( !sdl? ( ( !fbcon? (
>x11-libs/gtk+-2
x11-libs/pango
dev-libs/glib
@@ -71,7 +70,8 @@ pkg_setup() {
die "cairo and kde USE flags enabled at the same time"
fi
- if ! use agg && use opengl && ( use fbcon || use fltk ) ; then
+#( 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"
@@ -113,14 +113,14 @@ src_compile() {
local gui=""
use fbcon && gui="${gui},fb"
- use fltk && gui="${gui},fltk"
+ #use fltk && gui="${gui},fltk"
use gtk && gui="${gui},gtk"
use kde && gui="${gui},kde"
use qt && gui="${gui},qt"
use sdl && gui="${gui},sdl"
gui=${gui#,}
if [[ -z ${gui} ]] ; then
- ewarn "You did not select a gui from: fbcon fltk gtk kde qt sdl"
+ ewarn "You did not select a gui from: fbcon gtk kde qt sdl" #fltk
ewarn " - Default of gtk,kde has been selected for you"
gui="gtk,kde"
fi
diff --git a/net-www/gnash/gnash-0.8.1.ebuild b/net-www/gnash/gnash-0.8.1.ebuild
deleted file mode 100644
index 431e0580cb1a..000000000000
--- a/net-www/gnash/gnash-0.8.1.ebuild
+++ /dev/null
@@ -1,164 +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-0.8.1.ebuild,v 1.1 2007/11/21 09:19:53 uid895 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 ~ppc ~sparc ~x86 ~x86-fbsd"
-IUSE="agg opengl cairo gtk kde nsplugin gstreamer ffmpeg video_cards_i810"
-
-RDEPEND="
- agg? ( >=x11-libs/agg-2.5 )
- cairo? ( x11-libs/cairo )
- opengl? (
- virtual/opengl
- gtk? (
- x11-libs/gtkglext
- )
- )
- gtk? (
- >x11-libs/gtk+-2
- x11-libs/pango
- dev-libs/glib
- dev-libs/atk
- )
- kde? ( kde-base/kdelibs )
- 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
- )
- 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 ); then
- eerror "No renderer was selected. Select one between AGG, OpenGL and cairo"
- eerror "They correspond to the agg, opengl and cairo USE flags"
- eerror "AGG is upstream's default, so it is probably a safe choice"
- die "None of the opengl, agg and cairo USE flags enabled"
-
- elif use agg && use opengl || use cairo && ( use agg || use opengl ); then
- eerror "More than one renderer was selected"
- eerror "Please select only one renderer between AGG, OpenGL and cairo"
- eerror "They correspond to the agg, opengl and cairo USE flags"
- eerror "AGG is upstream's default, so it is probably a safe choice"
- die "More than one USE flag enabled between opengl, agg and cairo"
- fi
-
- if 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 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
-
- if use !ffmpeg && use !gstreamer; then
- eerror "No media handler was selected. Select one between FFmpeg and GStreamer"
- eerror "Enable one (and only one) of the ffmpeg and gstreamer USE flags"
- die "ffmpeg and gstreamer USE flags both disabled: no media handler selected"
-
- elif use ffmpeg && use gstreamer; then
- eerror "Both FFmpeg and GStreamer media handlers were selected"
- eerror "One, and only one, of the ffmpeg and gstreamer USE flags must be enabled"
- die "Both ffmpeg and gstreamer USE flags enabled"
- fi
-
- if use !kde && use !gtk; then
- eerror "No frontend was selected"
- eerror "At least one of the kde and gtk USE flags must be enabled"
- die "Both kde and gtk USE flags disabled: no frontend selected"
- 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
-}
-
-src_compile() {
- local myconf
- local gui
-
- if use nsplugin; then
- myconf="${myconf} --with-plugindir=/opt/netscape/plugins"
- else
- myconf="${myconf} --disable-nsapi"
- fi
-
- if use !kde; then
- myconf="${myconf} --disable-kparts"
- fi
-
- if use agg; then
- myconf="${myconf} --enable-renderer=agg"
- elif use opengl; then
- myconf="${myconf} --enable-renderer=ogl"
- else
- myconf="${myconf} --enable-renderer=cairo"
- fi
-
- if use gtk; then
- if use kde; then
- gui="gtk,kde";
- else
- gui=gtk
- fi
- else
- gui=kde
- fi
-
- if use gstreamer; then
- myconf="${myconf} --enable-media=gst"
- else
- myconf="${myconf} --enable-media=ffmpeg"
- fi
-
- econf ${myconf} \
- $(use_enable video_cards_i810 i810-lod-bias) \
- --enable-gui=${gui} \
- || 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"
-}