summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Proschofsky <suka@gentoo.org>2010-11-16 08:15:03 +0000
committerAndreas Proschofsky <suka@gentoo.org>2010-11-16 08:15:03 +0000
commitc17950ec508da10f3bb26f406702fb8e379ac3e2 (patch)
tree75567485f607f22e6b63abd32964e0ae825282c9 /dev-libs/gjs/gjs-9999.ebuild
parentunmask gnome-shell 2.91.2 again... (diff)
downloadsuka-c17950ec508da10f3bb26f406702fb8e379ac3e2.tar.gz
suka-c17950ec508da10f3bb26f406702fb8e379ac3e2.tar.bz2
suka-c17950ec508da10f3bb26f406702fb8e379ac3e2.zip
update gjs
svn path=/; revision=314
Diffstat (limited to 'dev-libs/gjs/gjs-9999.ebuild')
-rw-r--r--dev-libs/gjs/gjs-9999.ebuild33
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"
}