Skip to content

Commit 1bedd65

Browse files
committed
dev-libs/gjs: bump to 1.58.6
Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Mart Raudsepp <[email protected]>
1 parent 9c104e3 commit 1bedd65

File tree

2 files changed

+65
-0
lines changed

2 files changed

+65
-0
lines changed

dev-libs/gjs/Manifest

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
DIST gjs-1.48.7.tar.xz 595324 BLAKE2B eac8b5b2f7e909e94e3fb305cac443da3f433047ee07fa8fbd15905890f77d57449c8689867df61f1ac849b8b4bddc089a9b1ddc3aa79d4b3d054226c58fa909 SHA512 b8c58e068eaecfca2fa40cebe209fa8058e603809be4307099a0f3dbd561752a540d587d546ffa74aef0268a111f2b2846a1e0febda1adcefdac8c02e716e2dd
22
DIST gjs-1.56.2.tar.xz 701976 BLAKE2B 77057e4a3a8958d6648c92bb56495b505b3ec49bc0eeff0fa5c9e3ae5a694a4b5643dc72d7aa673f9e66d42e9b0def7f9df0043f2690216bfc5c5109ea9eca51 SHA512 687b8e3795565b5c56fceebefb229c07b4c084a4f65c0035e0d185d12082920424632c0f896df8dc1cd5013a97b6e08274efaec4caeb564dc2070d26a5f974c5
33
DIST gjs-1.58.5.tar.xz 637996 BLAKE2B a6c96ee4be81e36d4675d24d9b66b9aab83fe7e4c4cac042122f095b477b551234785417f796144c6755e5faf4afeee446f00a5914a9d63d0619f74fbb2a5694 SHA512 18ef3afc4403ed281e1e70a379fd68ffa537ffc20ab66d7faaefe51e03bb6a66e359e5ca2c0511e1c5f8c6adfce93601d011cfb9e9e6b0a18f8aa1f2398297c3
4+
DIST gjs-1.58.6.tar.xz 637972 BLAKE2B 553f29808723e48cee39c62e260d9c09f5db160756bf6c2fc45e532bee1d5c8babdd2bd5aee39fdff1300fc10de2c2a4e34d6b850e6e95c83ef217a8955379b6 SHA512 3e8fa8ccaabbbd07e74869fdc6188cffc19565798a6267fd3480d9320a2c9c5906c864e5d0c6e9e57f7bb79cc1706717b76b23c7cd89eb191477eb173b24aa74

dev-libs/gjs/gjs-1.58.6.ebuild

+64
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
# Copyright 1999-2020 Gentoo Authors
2+
# Distributed under the terms of the GNU General Public License v2
3+
4+
EAPI=6
5+
inherit gnome2 pax-utils virtualx
6+
7+
DESCRIPTION="Javascript bindings for GNOME"
8+
HOMEPAGE="https://wiki.gnome.org/Projects/Gjs"
9+
10+
LICENSE="MIT || ( MPL-1.1 LGPL-2+ GPL-2+ )"
11+
SLOT="0"
12+
IUSE="+cairo examples gtk readline +sysprof test"
13+
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
14+
15+
RDEPEND="
16+
>=dev-libs/glib-2.58.0
17+
>=dev-libs/gobject-introspection-1.61.2:=
18+
19+
readline? ( sys-libs/readline:0= )
20+
dev-lang/spidermonkey:60
21+
dev-libs/libffi:=
22+
cairo? ( x11-libs/cairo[X] )
23+
"
24+
DEPEND="${RDEPEND}
25+
sysprof? ( >=dev-util/sysprof-capture-3.33.2:3 )
26+
virtual/pkgconfig
27+
test? ( sys-apps/dbus
28+
>=x11-libs/gtk+-3.20:3 )
29+
"
30+
31+
RESTRICT="!test? ( test )"
32+
33+
src_configure() {
34+
# FIXME: add systemtap/dtrace support, like in glib:2
35+
# FIXME: --enable-systemtap installs files in ${D}/${D} for some reason
36+
# XXX: Do NOT enable coverage, completely useless for portage installs
37+
gnome2_src_configure \
38+
--disable-systemtap \
39+
--disable-dtrace \
40+
--disable-code-coverage \
41+
$(use_with cairo cairo) \
42+
$(use_enable sysprof profiler) \
43+
$(use_enable readline) \
44+
$(use_with test dbus-tests) \
45+
$(use_with test gtk-tests) \
46+
--disable-installed-tests
47+
}
48+
49+
src_install() {
50+
# installation sometimes fails in parallel, bug #???
51+
gnome2_src_install -j1
52+
53+
if use examples; then
54+
insinto /usr/share/doc/"${PF}"/examples
55+
doins "${S}"/examples/*
56+
fi
57+
58+
# Required for gjs-console to run correctly on PaX systems
59+
pax-mark mr "${ED}/usr/bin/gjs-console"
60+
}
61+
62+
src_test() {
63+
virtx emake check
64+
}

0 commit comments

Comments
 (0)