From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 19B99138010 for ; Sat, 18 Aug 2012 12:41:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E1A5AE062D; Sat, 18 Aug 2012 12:41:13 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id AE46BE062D for ; Sat, 18 Aug 2012 12:41:13 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 916141B4038 for ; Sat, 18 Aug 2012 12:41:12 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 538F1E5440 for ; Sat, 18 Aug 2012 12:41:11 +0000 (UTC) From: "Priit Laes" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Priit Laes" Message-ID: <1345293625.763bcee4ae4e3aaa6f3ce7ee0c7006dd3a281d8a.plaes@gentoo> Subject: [gentoo-commits] proj/gnome:master commit in: dev-libs/gjs/ X-VCS-Repository: proj/gnome X-VCS-Files: dev-libs/gjs/gjs-1.33.4.ebuild X-VCS-Directories: dev-libs/gjs/ X-VCS-Committer: plaes X-VCS-Committer-Name: Priit Laes X-VCS-Revision: 763bcee4ae4e3aaa6f3ce7ee0c7006dd3a281d8a X-VCS-Branch: master Date: Sat, 18 Aug 2012 12:41:11 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 4b92eaef-8142-4a59-9e7a-0c3de3a7aec9 X-Archives-Hash: 5697a082aa0c96dcfc9b4960cb1a7cd1 commit: 763bcee4ae4e3aaa6f3ce7ee0c7006dd3a281d8a Author: Priit Laes plaes org> AuthorDate: Sat Aug 18 12:40:25 2012 +0000 Commit: Priit Laes plaes org> CommitDate: Sat Aug 18 12:40:25 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=763bcee4 dev-libs/gjs: Add missing ebuild --- dev-libs/gjs/gjs-1.33.4.ebuild | 76 ++++++++++++++++++++++++++++++++++++++++ 1 files changed, 76 insertions(+), 0 deletions(-) diff --git a/dev-libs/gjs/gjs-1.33.4.ebuild b/dev-libs/gjs/gjs-1.33.4.ebuild new file mode 100644 index 0000000..a4b4d6f --- /dev/null +++ b/dev-libs/gjs/gjs-1.33.4.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/gjs/gjs-1.29.0.ebuild,v 1.1 2011/06/14 13:19:59 nirbheek Exp $ + +EAPI="4" +GCONF_DEBUG="no" +GNOME2_LA_PUNT="yes" +PYTHON_DEPEND="2" + +inherit gnome2 pax-utils python virtualx +if [[ ${PV} = 9999 ]]; then + inherit gnome2-live +fi + +DESCRIPTION="Javascript bindings for GNOME" +HOMEPAGE="http://live.gnome.org/Gjs" + +LICENSE="MIT MPL-1.1 LGPL-2 GPL-2" +SLOT="0" +IUSE="examples test" +if [[ ${PV} = 9999 ]]; then + KEYWORDS="" +else + KEYWORDS="~amd64 ~x86" +fi + +RDEPEND=">=dev-libs/glib-2.32:2 + >=dev-libs/gobject-introspection-1.33.2 + + dev-libs/dbus-glib + sys-libs/readline + x11-libs/cairo + >=dev-lang/spidermonkey-1.8.5" +DEPEND="${RDEPEND} + sys-devel/gettext + virtual/pkgconfig" + +pkg_setup() { + # AUTHORS, ChangeLog are empty + DOCS="NEWS README" + # FIXME: add systemtap/dtrace support, like in glib:2 + # FIXME: --enable-systemtap installs files in ${D}/${D} for some reason + # XXX: Do NOT enable coverage, completely useless for portage installs + G2CONF="${G2CONF} + --disable-systemtap + --disable-dtrace + --disable-coverage + " + # TODO: figure out how to use the `--disable-test` + + python_set_active_version 2 + python_pkg_setup +} + +src_prepare() { + gnome2_src_prepare + python_convert_shebangs 2 "${S}"/scripts/make-tests +} + +src_test() { + # Tests need dbus + Xemake check +} + +src_install() { + # installation sometimes fails in parallel + gnome2_src_install -j1 + + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins ${S}/examples/* + fi + + # Required for gjs-console to run correctly on PaX systems + pax-mark mr "${ED}/usr/bin/gjs-console" +}