diff options
author | Joseph Jezak <josejx@gentoo.org> | 2006-08-06 15:18:28 +0000 |
---|---|---|
committer | Joseph Jezak <josejx@gentoo.org> | 2006-08-06 15:18:28 +0000 |
commit | 3f648b650d617d73836952575d75efe38c4fac15 (patch) | |
tree | e1c32a1a79cf74c9e5b89ec2d7e872331bf8f61d /net-www | |
parent | Remove obsolete versions. (diff) | |
download | gentoo-2-3f648b650d617d73836952575d75efe38c4fac15.tar.gz gentoo-2-3f648b650d617d73836952575d75efe38c4fac15.tar.bz2 gentoo-2-3f648b650d617d73836952575d75efe38c4fac15.zip |
Added the latest version.
(Portage version: 2.1.1_pre4-r2)
Diffstat (limited to 'net-www')
-rw-r--r-- | net-www/mplayerplug-in/ChangeLog | 8 | ||||
-rw-r--r-- | net-www/mplayerplug-in/files/3.30-fix-cflags.patch | 11 | ||||
-rw-r--r-- | net-www/mplayerplug-in/files/digest-mplayerplug-in-3.30 | 3 | ||||
-rw-r--r-- | net-www/mplayerplug-in/mplayerplug-in-3.30.ebuild | 81 |
4 files changed, 102 insertions, 1 deletions
diff --git a/net-www/mplayerplug-in/ChangeLog b/net-www/mplayerplug-in/ChangeLog index d8fe830c53d7..79ba29594659 100644 --- a/net-www/mplayerplug-in/ChangeLog +++ b/net-www/mplayerplug-in/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-www/mplayerplug-in # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/mplayerplug-in/ChangeLog,v 1.66 2006/07/11 16:18:31 josejx Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-www/mplayerplug-in/ChangeLog,v 1.67 2006/08/06 15:18:28 josejx Exp $ + +*mplayerplug-in-3.30 (06 Aug 2006) + + 06 Aug 2006; Joseph Jezak <josejx@gentoo.org> + +files/3.30-fix-cflags.patch, +mplayerplug-in-3.30.ebuild: + Added the latest version. *mplayerplug-in-3.25-r1 (11 Jul 2006) diff --git a/net-www/mplayerplug-in/files/3.30-fix-cflags.patch b/net-www/mplayerplug-in/files/3.30-fix-cflags.patch new file mode 100644 index 000000000000..79c213bdaa6d --- /dev/null +++ b/net-www/mplayerplug-in/files/3.30-fix-cflags.patch @@ -0,0 +1,11 @@ +--- Makefile.in.bak 2006-08-06 11:05:12.000000000 -0400 ++++ Makefile.in 2006-08-06 11:05:20.000000000 -0400 +@@ -12,7 +12,7 @@ + + CC= @CC@ + CXX= @CXX@ +-CFLAGS= -Wall @CFLAGS@ @CPPFLAGS@ @CXXFLAGS@ @CXXFLAGS64@ -DXP_UNIX -DMOZ_X11 @MOZPLUG_CFLAGS@ -Iinclude -fPIC @GECKO_DEFINES@ @GTK_CFLAGS@ @GTHREAD_CFLAGS@ @GTK_DEFINES@ ++CFLAGS= -Wall @CPPFLAGS@ @CXXFLAGS@ @CXXFLAGS64@ -DXP_UNIX -DMOZ_X11 @MOZPLUG_CFLAGS@ -Iinclude -fPIC @GECKO_DEFINES@ @GTK_CFLAGS@ @GTHREAD_CFLAGS@ @GTK_DEFINES@ + LDFLAGS= @LDFLAGS@ @LDFLAGS64@ @LIBS@ @X_PRE_LIBS@ @XEXT_LIBS@ @XPM_LIBS@ @GTK_LIBS@ @GTHREAD_LIBS@ + LIBOBJS= @LIBOBJS@ + OBJ= plugin.o nsScriptablePeer.o npp_gate.o np_entry.o npn_gate.o \ diff --git a/net-www/mplayerplug-in/files/digest-mplayerplug-in-3.30 b/net-www/mplayerplug-in/files/digest-mplayerplug-in-3.30 new file mode 100644 index 000000000000..2d3421560276 --- /dev/null +++ b/net-www/mplayerplug-in/files/digest-mplayerplug-in-3.30 @@ -0,0 +1,3 @@ +MD5 f595c816731df260ae9cf5052ac1a80b mplayerplug-in-3.30.tar.gz 208125 +RMD160 f193a4587bd3c99a125076b1beb0ac3134afdbca mplayerplug-in-3.30.tar.gz 208125 +SHA256 65ada7e9720a754bb3247bbb9e27a6a9fe85d11176840ee58c62c692b90c4acd mplayerplug-in-3.30.tar.gz 208125 diff --git a/net-www/mplayerplug-in/mplayerplug-in-3.30.ebuild b/net-www/mplayerplug-in/mplayerplug-in-3.30.ebuild new file mode 100644 index 000000000000..46f24bebf6a8 --- /dev/null +++ b/net-www/mplayerplug-in/mplayerplug-in-3.30.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-www/mplayerplug-in/mplayerplug-in-3.30.ebuild,v 1.1 2006/08/06 15:18:28 josejx Exp $ + +inherit eutils multilib nsplugins + +DESCRIPTION="mplayer plug-in for Gecko based browsers" +HOMEPAGE="http://mplayerplug-in.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 -hppa ~ia64 ~ppc ~sparc ~x86" +IUSE="gtk" + +DEPEND=">=media-video/mplayer-1.0_pre5 + || ( www-client/mozilla-firefox + www-client/seamonkey + ) + || ( ( x11-libs/libXpm + x11-proto/xextproto + ) + virtual/x11 + ) + gtk? ( + >=x11-libs/gtk+-2.2.0 + dev-libs/atk + >=dev-libs/glib-2.2.0 + >=x11-libs/pango-1.2.1 + )" + +S=${WORKDIR}/${PN} + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${PV}-fix-cflags.patch +} + +src_compile() { + local myconf + + # We force gtk2 now because moz only compiles against gtk2 + if use gtk; then + myconf="${myconf} --enable-gtk2" + else + ewarn "For playback controls, you must enable gtk support." + myconf="${myconf} --enable-x" + fi + + econf ${myconf} || die "econf failed" + emake || die "emake failed" +} + +src_install() { + exeinto /opt/netscape/plugins + doexe mplayerplug-in.so || die "plugin failed" + inst_plugin /opt/netscape/plugins/mplayerplug-in.so + + insinto /opt/netscape/plugins + doins mplayerplug-in.xpt || die "xpt failed" + inst_plugin /opt/netscape/plugins/mplayerplug-in.xpt + + PLUGINS="gmp rm qt wmp" + + for plugin in ${PLUGINS}; do + ### Install the plugin + exeinto /opt/netscape/plugins + doexe "mplayerplug-in-${plugin}.so" || die "plugin ${plugin} failed" + inst_plugin "/opt/netscape/plugins/mplayerplug-in-${plugin}.so" + ### Install the xpt + insinto /opt/netscape/plugins + doins "mplayerplug-in-${plugin}.xpt" || die "plugin ${plugin} xpt failed" + inst_plugin "/opt/netscape/plugins/mplayerplug-in-${plugin}.xpt" + done + + insinto /etc + doins mplayerplug-in.conf + + dodoc ChangeLog INSTALL README DOCS/tech/*.txt +} |