Lines 1-8
Link Here
|
1 |
# Copyright 1999-2008 Gentoo Foundation |
1 |
# Copyright 1999-2008 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/media-video/gxine/gxine-0.5.903.ebuild,v 1.1 2008/08/03 02:29:29 chutzpah Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/media-video/gxine/gxine-0.5.903.ebuild,v 1.1 2008/08/03 02:29:29 chutzpah Exp $ |
4 |
|
4 |
|
5 |
inherit eutils nsplugins fdo-mime libtool |
5 |
inherit eutils autotools nsplugins fdo-mime libtool |
6 |
|
6 |
|
7 |
DESCRIPTION="GTK+ Front-End for libxine" |
7 |
DESCRIPTION="GTK+ Front-End for libxine" |
8 |
HOMEPAGE="http://xine.sourceforge.net/" |
8 |
HOMEPAGE="http://xine.sourceforge.net/" |
Lines 37-57
Link Here
|
37 |
src_unpack() { |
37 |
src_unpack() { |
38 |
unpack ${A} |
38 |
unpack ${A} |
39 |
cd "${S}" |
39 |
cd "${S}" |
|
|
40 |
epatch "${FILESDIR}"/lock-on-update.patch |
40 |
sed -i -e '/ac_have_xinerama/ s:text:test:' \ |
41 |
sed -i -e '/ac_have_xinerama/ s:text:test:' \ |
41 |
"${S}/configure"{,.ac} |
42 |
-e '/^XINE_LIST=/s:XINE_LIST=.*$:XINE_LIST=:' \ |
|
|
43 |
"${S}/configure.ac" |
42 |
|
44 |
|
|
|
45 |
eautoreconf |
43 |
elibtoolize |
46 |
elibtoolize |
44 |
} |
47 |
} |
45 |
|
48 |
|
46 |
src_compile() { |
49 |
src_compile() { |
47 |
econf \ |
50 |
econf \ |
48 |
$(use_enable nls) \ |
51 |
$(use_enable nls) \ |
|
|
52 |
--with-spidermonkey=/usr/include/js \ |
49 |
$(use_enable lirc) \ |
53 |
$(use_enable lirc) \ |
50 |
$(use_with nsplugin browser-plugin) \ |
54 |
$(use_with nsplugin browser-plugin) \ |
51 |
$(use_with xcb) \ |
55 |
$(use_with xcb) \ |
52 |
$(use_with hal) \ |
56 |
$(use_with hal) \ |
53 |
$(use_with xinerama) \ |
57 |
$(use_with xinerama) \ |
54 |
--disable-gtk-compat \ |
|
|
55 |
--disable-dependency-tracking || die "econf failed" |
58 |
--disable-dependency-tracking || die "econf failed" |
56 |
emake || die "emake failed" |
59 |
emake || die "emake failed" |
57 |
} |
60 |
} |