1 |
commit: e2bac96502905f126a3bdc60b3f0389208c77eda |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 1 17:51:16 2019 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 1 18:00:56 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2bac965 |
7 |
|
8 |
dev-libs/gjs: bump to 1.56.2 |
9 |
|
10 |
Seems to work fine with GNOME 3.30 too, as no mozjs update was |
11 |
done (no newer ESR at the time), thus introduced without |
12 |
immediately matching mutter/gnome-shell into ~arch. |
13 |
Tests fail for me: https://gitlab.gnome.org/GNOME/gjs/issues/280 |
14 |
|
15 |
Package-Manager: Portage-2.3.69, Repoman-2.3.12 |
16 |
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org> |
17 |
|
18 |
dev-libs/gjs/Manifest | 1 + |
19 |
dev-libs/gjs/gjs-1.56.2.ebuild | 66 ++++++++++++++++++++++++++++++++++++++++++ |
20 |
2 files changed, 67 insertions(+) |
21 |
|
22 |
diff --git a/dev-libs/gjs/Manifest b/dev-libs/gjs/Manifest |
23 |
index 74251b92231..93445a7c07c 100644 |
24 |
--- a/dev-libs/gjs/Manifest |
25 |
+++ b/dev-libs/gjs/Manifest |
26 |
@@ -1,2 +1,3 @@ |
27 |
DIST gjs-1.48.7.tar.xz 595324 BLAKE2B eac8b5b2f7e909e94e3fb305cac443da3f433047ee07fa8fbd15905890f77d57449c8689867df61f1ac849b8b4bddc089a9b1ddc3aa79d4b3d054226c58fa909 SHA512 b8c58e068eaecfca2fa40cebe209fa8058e603809be4307099a0f3dbd561752a540d587d546ffa74aef0268a111f2b2846a1e0febda1adcefdac8c02e716e2dd |
28 |
DIST gjs-1.54.3.tar.xz 647704 BLAKE2B 792225afd9828755ef67b3e7221d4c53535d79d879e0aef0c7c56f06e02313a966776b5dddf9876649984a1599eb44a27d6288f9216bb929a66ad9e14cb632e5 SHA512 f19e667963fa3feecd23a9e4cc263a55d9d1311de7d10905969966f74e26ff982839c192c555cbc059e4fd65ff7c89d18944ca6bf8ffbb65ec91081036d19505 |
29 |
+DIST gjs-1.56.2.tar.xz 701976 BLAKE2B 77057e4a3a8958d6648c92bb56495b505b3ec49bc0eeff0fa5c9e3ae5a694a4b5643dc72d7aa673f9e66d42e9b0def7f9df0043f2690216bfc5c5109ea9eca51 SHA512 687b8e3795565b5c56fceebefb229c07b4c084a4f65c0035e0d185d12082920424632c0f896df8dc1cd5013a97b6e08274efaec4caeb564dc2070d26a5f974c5 |
30 |
|
31 |
diff --git a/dev-libs/gjs/gjs-1.56.2.ebuild b/dev-libs/gjs/gjs-1.56.2.ebuild |
32 |
new file mode 100644 |
33 |
index 00000000000..071966de153 |
34 |
--- /dev/null |
35 |
+++ b/dev-libs/gjs/gjs-1.56.2.ebuild |
36 |
@@ -0,0 +1,66 @@ |
37 |
+# Copyright 1999-2019 Gentoo Authors |
38 |
+# Distributed under the terms of the GNU General Public License v2 |
39 |
+ |
40 |
+EAPI=6 |
41 |
+inherit gnome2 pax-utils virtualx |
42 |
+ |
43 |
+DESCRIPTION="Javascript bindings for GNOME" |
44 |
+HOMEPAGE="https://wiki.gnome.org/Projects/Gjs" |
45 |
+ |
46 |
+LICENSE="MIT || ( MPL-1.1 LGPL-2+ GPL-2+ )" |
47 |
+SLOT="0" |
48 |
+IUSE="+cairo examples gtk readline test" |
49 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
50 |
+ |
51 |
+RDEPEND=" |
52 |
+ >=dev-libs/glib-2.54.0 |
53 |
+ >=dev-libs/gobject-introspection-1.57.2:= |
54 |
+ |
55 |
+ readline? ( sys-libs/readline:0= ) |
56 |
+ dev-lang/spidermonkey:60 |
57 |
+ virtual/libffi:= |
58 |
+ cairo? ( x11-libs/cairo[X] ) |
59 |
+ gtk? ( >=x11-libs/gtk+-3.20:3 ) |
60 |
+" |
61 |
+DEPEND="${RDEPEND} |
62 |
+ gnome-base/gnome-common |
63 |
+ sys-devel/gettext |
64 |
+ virtual/pkgconfig |
65 |
+ test? ( sys-apps/dbus ) |
66 |
+" |
67 |
+ |
68 |
+RESTRICT="!test? ( test )" |
69 |
+ |
70 |
+src_configure() { |
71 |
+ # FIXME: add systemtap/dtrace support, like in glib:2 |
72 |
+ # FIXME: --enable-systemtap installs files in ${D}/${D} for some reason |
73 |
+ # XXX: Do NOT enable coverage, completely useless for portage installs |
74 |
+ gnome2_src_configure \ |
75 |
+ --disable-systemtap \ |
76 |
+ --disable-dtrace \ |
77 |
+ --enable-profiler \ |
78 |
+ --disable-code-coverage \ |
79 |
+ $(use_with cairo cairo) \ |
80 |
+ $(use_with gtk) \ |
81 |
+ $(use_enable readline) \ |
82 |
+ $(use_with test dbus-tests) \ |
83 |
+ $(use_with test xvfb-tests) \ |
84 |
+ --disable-installed-tests |
85 |
+} |
86 |
+ |
87 |
+src_install() { |
88 |
+ # installation sometimes fails in parallel, bug #??? |
89 |
+ gnome2_src_install -j1 |
90 |
+ |
91 |
+ if use examples; then |
92 |
+ insinto /usr/share/doc/"${PF}"/examples |
93 |
+ doins "${S}"/examples/* |
94 |
+ fi |
95 |
+ |
96 |
+ # Required for gjs-console to run correctly on PaX systems |
97 |
+ pax-mark mr "${ED}/usr/bin/gjs-console" |
98 |
+} |
99 |
+ |
100 |
+src_test() { |
101 |
+ virtx default |
102 |
+} |