# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-www/mplayerplug-in/mplayerplug-in-0.95.ebuild,v 1.7 2005/02/19 07:06:04 josejx Exp $ IUSE="" inherit nsplugins toolchain-funcs S="${WORKDIR}/${PN}" HOMEPAGE="http://mplayerplug-in.sourceforge.net/" DESCRIPTION="mplayer plug-in for Mozilla" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz mirror://sourceforge/${PN}/mini.tar.bz2" RESTRICT="nomirror" SLOT="0" LICENSE="GPL-2" KEYWORDS="~x86 ~amd64 ~ia64 ~ppc ~alpha" DEPEND=">=media-video/mplayer-0.91" src_compile() { emake CC="$(tc-getCC)" OPTIMIZER="${CFLAGS}" || die } src_install() { exeinto /opt/netscape/plugins doexe mplayerplug-in.so inst_plugin /opt/netscape/plugins/mplayerplug-in.so insinto /usr/share/mplayer/Skin/mini doins ${WORKDIR}/mini/* dodir /etc # For some reason this does not work yet for mplayer options, and # setting 'vo' cause it for 'mozilla file:///space/movies/foo.avi' # at least to not work... cat > ${D}/etc/mplayerplug-in.conf <