# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/www-plugins/gecko-mediaplayer/gecko-mediaplayer-1.0.0.ebuild,v 1.10 2011/04/23 14:24:02 ssuominen Exp $ EAPI=2 GCONF_DEBUG=no inherit gnome2 multilib nsplugins DESCRIPTION="A browser plugin that uses GNOME MPlayer" HOMEPAGE="http://code.google.com/p/gecko-mediaplayer/" SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="alpha amd64 ppc ppc64 x86" IUSE="gnome" RDEPEND=">=dev-libs/glib-2.14:2 net-libs/xulrunner:1.9 dev-libs/nspr >=dev-libs/dbus-glib-0.88 || ( >=media-video/gnome-mplayer-1.0.3-r2[dbus] =net-libs/xulrunner-2"; then sed -i -e '/PKG_CONFIG/s:libxul >= 2.0:libxul >= 2:' configure || die sed -i -e '/NPP_Initialize/d' src/np_entry.cpp || die fi gnome2_src_prepare } src_install() { gnome2_src_install rm -rf "${D}"/usr/share/doc/${PN} rmdir -p "${D}"/var/lib }