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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Mon Nov 11 16:21:03 2013 UTC (10 months ago) by axs
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Dropped mozplugger: Severely outdated, mozilla herd has no interest in maintaining, major QA issues with newer versions, only a matter of time before it breaks; bug 442122

1 robbat2 1.1 # Copyright 1999-2011 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 axs 1.2 # $Header: /var/cvsroot/gentoo-x86/www-plugins/mozplugger/mozplugger-1.14.3.ebuild,v 1.1 2011/10/03 23:30:34 robbat2 Exp $
4 robbat2 1.1
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="xembed"
16    
17     RDEPEND="x11-libs/libX11"
18     DEPEND="${RDEPEND}"
19    
20     src_prepare() {
21     epatch "${FILESDIR}/${PN}-1.14.3-Makefile.in.patch"
22     sed -i "s:libprefix=.*:libprefix=/$(get_libdir):" Makefile.in
23     }
24    
25     src_configure() {
26     local myconf
27     if [[ -x ${ECONF_SOURCE:-.}/configure ]] ; then
28     if use xembed; then
29     myconf="${myconf} --enable-always-xembed"
30     fi
31    
32     econf \
33     ${myconf}
34     fi
35     }
36    
37     src_compile() {
38     emake \
39     CC="$(tc-getCC)" \
40     LD="$(tc-getCC)" \
41     RPM_OPT_FLAGS="${CFLAGS}" \
42     XCFLAGS="-fPIC -Wall" \
43     COMMON_LDFLAGS="${LDFLAGS}" \
44     all || die
45     }
46    
47     src_install() {
48     emake root="${D}" install || die
49     dodoc ChangeLog README
50     }

  ViewVC Help
Powered by ViewVC 1.1.20