1 |
commit: b28181e78deb8ce2b4737d326869087d5b736e46 |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Apr 28 13:21:17 2020 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Apr 28 13:21:24 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b28181e7 |
7 |
|
8 |
dev-libs/gjs: bump to 1.58.7 |
9 |
|
10 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
11 |
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org> |
12 |
|
13 |
dev-libs/gjs/Manifest | 1 + |
14 |
dev-libs/gjs/gjs-1.58.7.ebuild | 64 ++++++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 65 insertions(+) |
16 |
|
17 |
diff --git a/dev-libs/gjs/Manifest b/dev-libs/gjs/Manifest |
18 |
index 5c6fa914e3b..2e24535ae89 100644 |
19 |
--- a/dev-libs/gjs/Manifest |
20 |
+++ b/dev-libs/gjs/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST gjs-1.56.2.tar.xz 701976 BLAKE2B 77057e4a3a8958d6648c92bb56495b505b3ec49bc0eeff0fa5c9e3ae5a694a4b5643dc72d7aa673f9e66d42e9b0def7f9df0043f2690216bfc5c5109ea9eca51 SHA512 687b8e3795565b5c56fceebefb229c07b4c084a4f65c0035e0d185d12082920424632c0f896df8dc1cd5013a97b6e08274efaec4caeb564dc2070d26a5f974c5 |
23 |
DIST gjs-1.58.6.tar.xz 637972 BLAKE2B 553f29808723e48cee39c62e260d9c09f5db160756bf6c2fc45e532bee1d5c8babdd2bd5aee39fdff1300fc10de2c2a4e34d6b850e6e95c83ef217a8955379b6 SHA512 3e8fa8ccaabbbd07e74869fdc6188cffc19565798a6267fd3480d9320a2c9c5906c864e5d0c6e9e57f7bb79cc1706717b76b23c7cd89eb191477eb173b24aa74 |
24 |
+DIST gjs-1.58.7.tar.xz 638804 BLAKE2B eb9bb1ea0cd9b52b58a0c4497d5bb930ccb0c8451a94cf9e5e97a6cf1e7bd4dfa5f7a15c2c68fbba3c36a5d71e71df88f086b528e7c2e86d2a8374bfdeac8aa4 SHA512 0790cffd2f2230717b78266b356e88133b5fb816380bf96fc2bea0a039d96979796ad6455a4270dcde62ff2a023fbd73e2edc98428aa2a8b2fdf2cc6c8f8ecce |
25 |
|
26 |
diff --git a/dev-libs/gjs/gjs-1.58.7.ebuild b/dev-libs/gjs/gjs-1.58.7.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..c0859f6c9be |
29 |
--- /dev/null |
30 |
+++ b/dev-libs/gjs/gjs-1.58.7.ebuild |
31 |
@@ -0,0 +1,64 @@ |
32 |
+# Copyright 1999-2020 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
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 readline +sysprof test" |
44 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
45 |
+ |
46 |
+RDEPEND=" |
47 |
+ >=dev-libs/glib-2.58.0 |
48 |
+ >=dev-libs/gobject-introspection-1.61.2:= |
49 |
+ |
50 |
+ readline? ( sys-libs/readline:0= ) |
51 |
+ dev-lang/spidermonkey:60 |
52 |
+ dev-libs/libffi:= |
53 |
+ cairo? ( x11-libs/cairo[X] ) |
54 |
+" |
55 |
+DEPEND="${RDEPEND} |
56 |
+ sysprof? ( >=dev-util/sysprof-capture-3.33.2:3 ) |
57 |
+ virtual/pkgconfig |
58 |
+ test? ( sys-apps/dbus |
59 |
+ >=x11-libs/gtk+-3.20:3[introspection] ) |
60 |
+" |
61 |
+ |
62 |
+RESTRICT="!test? ( test )" |
63 |
+ |
64 |
+src_configure() { |
65 |
+ # FIXME: add systemtap/dtrace support, like in glib:2 |
66 |
+ # FIXME: --enable-systemtap installs files in ${D}/${D} for some reason |
67 |
+ # XXX: Do NOT enable coverage, completely useless for portage installs |
68 |
+ gnome2_src_configure \ |
69 |
+ --disable-systemtap \ |
70 |
+ --disable-dtrace \ |
71 |
+ --disable-code-coverage \ |
72 |
+ $(use_with cairo cairo) \ |
73 |
+ $(use_enable sysprof profiler) \ |
74 |
+ $(use_enable readline) \ |
75 |
+ $(use_with test dbus-tests) \ |
76 |
+ $(use_with test gtk-tests) \ |
77 |
+ --disable-installed-tests |
78 |
+} |
79 |
+ |
80 |
+src_install() { |
81 |
+ # installation sometimes fails in parallel, bug #??? |
82 |
+ gnome2_src_install -j1 |
83 |
+ |
84 |
+ if use examples; then |
85 |
+ insinto /usr/share/doc/"${PF}"/examples |
86 |
+ doins "${S}"/examples/* |
87 |
+ fi |
88 |
+ |
89 |
+ # Required for gjs-console to run correctly on PaX systems |
90 |
+ pax-mark mr "${ED}/usr/bin/gjs-console" |
91 |
+} |
92 |
+ |
93 |
+src_test() { |
94 |
+ virtx emake check |
95 |
+} |