/[gentoo-x86]/www-plugins/mozplugger/mozplugger-1.14.2.ebuild
Gentoo

Contents of /www-plugins/mozplugger/mozplugger-1.14.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sat Jan 15 10:37:14 2011 UTC (7 years, 8 months ago) by mgorny
Branch: MAIN
Changes since 1.2: +3 -4 lines
Drop the xulrunner dependency as mozplugger bundles the necessary NPAPI headers. This fixes bugs #336385 and #233969. Approved by Jory A. Pratt.

(Portage version: 2.2.0_alpha15_p1/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/www-plugins/mozplugger/mozplugger-1.14.2.ebuild,v 1.2 2010/12/04 14:43:32 anarchy Exp $
4
5 EAPI=2
6 inherit eutils multilib toolchain-funcs
7
8 DESCRIPTION="Configurable browser plugin to launch streaming media players."
9 SRC_URI="http://mozplugger.mozdev.org/files/${P}.tar.gz"
10 HOMEPAGE="http://mozplugger.mozdev.org/"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
15 IUSE=""
16
17 RDEPEND="x11-libs/libX11"
18 DEPEND="${RDEPEND}"
19
20 src_prepare() {
21 epatch "${FILESDIR}/${PN}-1.14.2-fix-nsplugin-install.patch"
22 sed -i "s:libprefix=.*:libprefix=/$(get_libdir):" Makefile
23 }
24
25 src_compile() {
26 emake \
27 CC="$(tc-getCC)" \
28 LD="$(tc-getCC)" \
29 RPM_OPT_FLAGS="${CFLAGS}" \
30 XCFLAGS="-fPIC -Wall" \
31 COMMON_LDFLAGS="${LDFLAGS}" \
32 all || die
33 }
34
35 src_install() {
36 emake root="${D}" install || die
37 dodoc ChangeLog README
38 }

  ViewVC Help
Powered by ViewVC 1.1.20