diff options
Diffstat (limited to 'dev-libs/gjs/gjs-9999.ebuild')
-rw-r--r-- | dev-libs/gjs/gjs-9999.ebuild | 33 |
1 files changed, 19 insertions, 14 deletions
diff --git a/dev-libs/gjs/gjs-9999.ebuild b/dev-libs/gjs/gjs-9999.ebuild index ba64ace..4d2d27e 100644 --- a/dev-libs/gjs/gjs-9999.ebuild +++ b/dev-libs/gjs/gjs-9999.ebuild @@ -1,10 +1,12 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ -EAPI="2" +EAPI="3" +GCONF_DEBUG="no" +PYTHON_DEPEND="2" -inherit autotools gnome2 git +inherit autotools gnome2 python git EGIT_REPO_URI="git://git.gnome.org/gjs" @@ -17,32 +19,33 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="coverage examples" -RDEPEND=">=dev-libs/glib-2.16.0 +RDEPEND=">=dev-libs/glib-2.18:2 >=dev-libs/gobject-introspection-0.9.5 dev-libs/dbus-glib x11-libs/cairo - net-libs/xulrunner:1.9" + >=net-libs/xulrunner-1.9.2:1.9" DEPEND="${RDEPEND} sys-devel/gettext >=dev-util/pkgconfig-0.9 coverage? ( sys-devel/gcc dev-util/lcov )" -# AUTHORS, ChangeLog are empty -DOCS="NEWS README" -src_prepare() { - - eautoreconf -} +# tests fail and upstream does not support anything but git master +RESTRICT="test" pkg_setup() { + # AUTHORS, ChangeLog are empty + DOCS="NEWS README" G2CONF="${G2CONF} $(use_enable coverage)" - # Build fails without this :/ - # .libs/libgjs-gi.so: file not recognized: File format not recognized - MAKEOPTS="${MAKEOPTS} -j1" +} + +src_prepare() { + gnome2_src_prepare + python_convert_shebangs 2 "${S}"/scripts/make-tests + eautoreconf } src_install() { @@ -52,4 +55,6 @@ src_install() { insinto /usr/share/doc/${PF}/examples doins ${S}/examples/* || die "doins examples failed!" fi + + find "${ED}" -name "*.la" -delete || die "la files removal failed" } |