| # Copyright 1999-2014 Gentoo Foundation |
| # Distributed under the terms of the GNU General Public License v2 |
| # $Id$ |
| |
| EAPI=5 |
| inherit multilib nsplugins |
| |
| DESCRIPTION="A browser plugin that uses GNOME MPlayer" |
| HOMEPAGE="https://code.google.com/p/gecko-mediaplayer/" |
| SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz" |
| |
| LICENSE="GPL-2" |
| SLOT="0" |
| KEYWORDS="amd64 ~ppc ~ppc64 x86" |
| IUSE="+curl" |
| |
| RDEPEND=">=dev-libs/dbus-glib-0.100 |
| >=dev-libs/glib-2.30 |
| dev-libs/nspr |
| >=media-libs/gmtk-${PV} |
| >=media-video/gnome-mplayer-${PV}[dbus] |
| curl? ( net-misc/curl )" |
| DEPEND="${RDEPEND} |
| app-arch/xz-utils |
| >=net-misc/npapi-sdk-0.27 |
| sys-devel/gettext |
| virtual/pkgconfig" |
| |
| DOCS="ChangeLog DOCS/tech/*.txt" |
| |
| src_configure() { |
| econf \ |
| --with-plugin-dir=/usr/$(get_libdir)/${PLUGINS_DIR} \ |
| $(use_with curl libcurl) |
| } |
| |
| src_install() { |
| default |
| rm -rf "${ED}"/usr/share/doc/${PN} |
| } |