diff options
author | Joseph Jezak <josejx@gentoo.org> | 2006-08-30 02:43:59 +0000 |
---|---|---|
committer | Joseph Jezak <josejx@gentoo.org> | 2006-08-30 02:43:59 +0000 |
commit | 1f12c1ec9cf9279367e4b23d0688f4df68b5f9f8 (patch) | |
tree | b95a03e711d0fd3479cb97af1e7483c9c13160f0 /net-www | |
parent | Accidentally removed gecko-sdk for mplayerplug-in. (diff) | |
download | gentoo-2-1f12c1ec9cf9279367e4b23d0688f4df68b5f9f8.tar.gz gentoo-2-1f12c1ec9cf9279367e4b23d0688f4df68b5f9f8.tar.bz2 gentoo-2-1f12c1ec9cf9279367e4b23d0688f4df68b5f9f8.zip |
Fixed bug #145517 (Thanks to Aaron Slunt for a fix).
(Portage version: 2.1.1_rc1)
Diffstat (limited to 'net-www')
-rw-r--r-- | net-www/mplayerplug-in/ChangeLog | 5 | ||||
-rw-r--r-- | net-www/mplayerplug-in/mplayerplug-in-3.31.ebuild | 60 |
2 files changed, 53 insertions, 12 deletions
diff --git a/net-www/mplayerplug-in/ChangeLog b/net-www/mplayerplug-in/ChangeLog index 82a1e227d2ec..035542b4c923 100644 --- a/net-www/mplayerplug-in/ChangeLog +++ b/net-www/mplayerplug-in/ChangeLog @@ -1,6 +1,9 @@ # 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.68 2006/08/29 17:26:00 josejx Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-www/mplayerplug-in/ChangeLog,v 1.69 2006/08/30 02:43:59 josejx Exp $ + + 30 Aug 2006; Joseph Jezak <josejx@gentoo.org> mplayerplug-in-3.31.ebuild: + Fixed bug #145517 (Thanks to Aaron Slunt for a fix). *mplayerplug-in-3.31 (29 Aug 2006) diff --git a/net-www/mplayerplug-in/mplayerplug-in-3.31.ebuild b/net-www/mplayerplug-in/mplayerplug-in-3.31.ebuild index e25d97ecf491..001d50c017e2 100644 --- a/net-www/mplayerplug-in/mplayerplug-in-3.31.ebuild +++ b/net-www/mplayerplug-in/mplayerplug-in-3.31.ebuild @@ -1,6 +1,6 @@ # 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.31.ebuild,v 1.1 2006/08/29 17:26:00 josejx Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-www/mplayerplug-in/mplayerplug-in-3.31.ebuild,v 1.2 2006/08/30 02:43:59 josejx Exp $ inherit eutils multilib nsplugins @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 -hppa ~ia64 ~ppc ~sparc ~x86" -IUSE="gtk" +IUSE="gtk divx gmedia real quicktime wmp" DEPEND=">=media-video/mplayer-1.0_pre5 || ( www-client/mozilla-firefox @@ -48,6 +48,42 @@ src_compile() { myconf="${myconf} --enable-x" fi + # Media Playback Support (bug #145517) + ### Divx Enable/Disable + if use divx; then + myconf="${myconf} --enable-dvx" + else + myconf="${myconf} --disable-dvx" + fi + + ### Google Media Enable/Disable + if use gmedia; then + myconf="${myconf} --enable-gmp" + else + myconf="${myconf} --disable-gmp" + fi + + ### Real Media Enable/Disable + if use real; then + myconf="${myconf} --enable-rm" + else + myconf="${myconf} --disable-rm" + fi + + ### Quicktime Enable/Disable + if use quicktime; then + myconf="${myconf} --enable-qt" + else + myconf="${myconf} --disable-qt" + fi + + ### Windows Media Enable/Disable + if use wmp; then + myconf="${myconf} --enable-wmp" + else + myconf="${myconf} --disable-wmp" + fi + econf ${myconf} || die "econf failed" emake || die "emake failed" } @@ -61,17 +97,19 @@ src_install() { doins mplayerplug-in.xpt || die "xpt failed" inst_plugin /opt/netscape/plugins/mplayerplug-in.xpt - PLUGINS="gmp rm qt wmp" + PLUGINS="gmp rm qt wmp dvx" 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" + if [ -e "mplayerplug-in-${plugin}.so" ]; then + ### 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" + fi done insinto /etc |