--- gxine-0.5.903.ebuild 2008-08-03 04:29:29.000000000 +0200 +++ gxine-0.5.903.ebuild 2008-08-04 17:10:59.000000000 +0200 @@ -1,8 +1,8 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-video/gxine/gxine-0.5.903.ebuild,v 1.1 2008/08/03 02:29:29 chutzpah Exp $ -inherit eutils nsplugins fdo-mime libtool +inherit eutils autotools nsplugins fdo-mime libtool DESCRIPTION="GTK+ Front-End for libxine" HOMEPAGE="http://xine.sourceforge.net/" @@ -37,21 +37,24 @@ src_unpack() { unpack ${A} cd "${S}" + epatch "${FILESDIR}"/lock-on-update.patch sed -i -e '/ac_have_xinerama/ s:text:test:' \ - "${S}/configure"{,.ac} + -e '/^XINE_LIST=/s:XINE_LIST=.*$:XINE_LIST=:' \ + "${S}/configure.ac" + eautoreconf elibtoolize } src_compile() { econf \ $(use_enable nls) \ + --with-spidermonkey=/usr/include/js \ $(use_enable lirc) \ $(use_with nsplugin browser-plugin) \ $(use_with xcb) \ $(use_with hal) \ $(use_with xinerama) \ - --disable-gtk-compat \ --disable-dependency-tracking || die "econf failed" emake || die "emake failed" }