Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/gjs/
Date: Sat, 08 Oct 2016 09:51:26
Message-Id: 1475920219.833a69e71411655efa689e98176ad309f6ae842a.pacho@gentoo
1 commit: 833a69e71411655efa689e98176ad309f6ae842a
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 8 08:57:58 2016 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 8 09:50:19 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=833a69e7
7
8 dev-libs/gjs: Version bump
9
10 Package-Manager: portage-2.3.1
11
12 dev-libs/gjs/Manifest | 1 +
13 dev-libs/gjs/gjs-1.46.0.ebuild | 67 ++++++++++++++++++++++++++++++++++++++++++
14 2 files changed, 68 insertions(+)
15
16 diff --git a/dev-libs/gjs/Manifest b/dev-libs/gjs/Manifest
17 index 3216e76..0452367 100644
18 --- a/dev-libs/gjs/Manifest
19 +++ b/dev-libs/gjs/Manifest
20 @@ -1,2 +1,3 @@
21 DIST gjs-1.44.0.tar.xz 486144 SHA256 88c960f6ad47a6931d123f5d6317d13704f58572f68a4391913a254ff27dce80 SHA512 3866e124f05221fd47275951f8c2c6954ba28a9b1443cc3c01789284709e2dd69f496efa094e6ddc9fcae563b9def68441aa398c1488076701fa1e873f9b9735 WHIRLPOOL ee165353e08c6a5f69785e04fb12e582778695fb8b20f93153d6f648bd8597988a5d12349f73e70c2d52aed4d80d53484086f212c427fe2c7675eb858d41cad0
22 DIST gjs-1.45.4.tar.xz 480828 SHA256 db51bc2aae51700a2a8ca8ba597c488505d106bc70b9605e77c6ab5183212228 SHA512 ef3587b16e0b4cc1df390e2d241f7293279c43d3399143d67c226ba668fe2c4f310ee08392ac1c21322abd9578ebe2eed4d870bbe62134af76c15555cf6445b1 WHIRLPOOL 8950f28feacc7d8768375446efcfad23aa16ad9be134e2b968f995b2f5e7d26392915f0ef667221b7a090fb1318f111c746a764c8b1dce83ae31d14c32674baf
23 +DIST gjs-1.46.0.tar.xz 490812 SHA256 2283591fa70785443793e1d7db66071b36052d707075f229baeb468d8dd25ad4 SHA512 14af40668e95d269ac87556c75cf45680c41bc8246f04c46726d34bd80e9344045c0a510567f156c2c25c1f10dd474dc38bd50581d1b2e5abe0daa0cf570e2bc WHIRLPOOL 4aaf910c344d7df028a52e43b60b49e4fb0aefd92968e068d0effc4817b0f6b3d388c8287c6f7e3f85bc92c9e5605c03ff4743677ebc95dcd383d5a84d06f4fa
24
25 diff --git a/dev-libs/gjs/gjs-1.46.0.ebuild b/dev-libs/gjs/gjs-1.46.0.ebuild
26 new file mode 100644
27 index 00000000..5a6e896
28 --- /dev/null
29 +++ b/dev-libs/gjs/gjs-1.46.0.ebuild
30 @@ -0,0 +1,67 @@
31 +# Copyright 1999-2016 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +# $Id$
34 +
35 +EAPI=6
36 +inherit gnome2 pax-utils virtualx
37 +
38 +DESCRIPTION="Javascript bindings for GNOME"
39 +HOMEPAGE="https://wiki.gnome.org/Projects/Gjs"
40 +
41 +LICENSE="MIT || ( MPL-1.1 LGPL-2+ GPL-2+ )"
42 +SLOT="0"
43 +IUSE="+cairo examples gtk test"
44 +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
45 +
46 +RDEPEND="
47 + >=dev-libs/glib-2.36:2
48 + >=dev-libs/gobject-introspection-1.41.4:=
49 +
50 + sys-libs/readline:0
51 + dev-lang/spidermonkey:24
52 + virtual/libffi
53 + cairo? ( x11-libs/cairo[X] )
54 + gtk? ( x11-libs/gtk+:3 )
55 +"
56 +DEPEND="${RDEPEND}
57 + gnome-base/gnome-common
58 + sys-devel/gettext
59 + virtual/pkgconfig
60 + test? ( sys-apps/dbus )
61 +"
62 +
63 +PATCHES=(
64 + # Disable broken unittests, upstream bug #????
65 + "${FILESDIR}"/${PN}-1.43.3-disable-unittest-{1,2}.patch
66 +)
67 +
68 +src_configure() {
69 + # FIXME: add systemtap/dtrace support, like in glib:2
70 + # FIXME: --enable-systemtap installs files in ${D}/${D} for some reason
71 + # XXX: Do NOT enable coverage, completely useless for portage installs
72 + gnome2_src_configure \
73 + --disable-systemtap \
74 + --disable-dtrace \
75 + --disable-coverage \
76 + $(use_with cairo cairo) \
77 + $(use_with gtk) \
78 + $(use_with test dbus-tests) \
79 + $(use_with test xvfb-tests)
80 +}
81 +
82 +src_test() {
83 + virtx emake check
84 +}
85 +
86 +src_install() {
87 + # installation sometimes fails in parallel, bug #???
88 + gnome2_src_install -j1
89 +
90 + if use examples; then
91 + insinto /usr/share/doc/"${PF}"/examples
92 + doins "${S}"/examples/*
93 + fi
94 +
95 + # Required for gjs-console to run correctly on PaX systems
96 + pax-mark mr "${ED}/usr/bin/gjs-console"
97 +}