From b28181e78deb8ce2b4737d326869087d5b736e46 Mon Sep 17 00:00:00 2001 From: Mart Raudsepp Date: Tue, 28 Apr 2020 16:21:17 +0300 Subject: [PATCH] dev-libs/gjs: bump to 1.58.7 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Mart Raudsepp --- dev-libs/gjs/Manifest | 1 + dev-libs/gjs/gjs-1.58.7.ebuild | 64 ++++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) create mode 100644 dev-libs/gjs/gjs-1.58.7.ebuild diff --git a/dev-libs/gjs/Manifest b/dev-libs/gjs/Manifest index 5c6fa914e3bc..2e24535ae891 100644 --- a/dev-libs/gjs/Manifest +++ b/dev-libs/gjs/Manifest @@ -1,2 +1,3 @@ DIST gjs-1.56.2.tar.xz 701976 BLAKE2B 77057e4a3a8958d6648c92bb56495b505b3ec49bc0eeff0fa5c9e3ae5a694a4b5643dc72d7aa673f9e66d42e9b0def7f9df0043f2690216bfc5c5109ea9eca51 SHA512 687b8e3795565b5c56fceebefb229c07b4c084a4f65c0035e0d185d12082920424632c0f896df8dc1cd5013a97b6e08274efaec4caeb564dc2070d26a5f974c5 DIST gjs-1.58.6.tar.xz 637972 BLAKE2B 553f29808723e48cee39c62e260d9c09f5db160756bf6c2fc45e532bee1d5c8babdd2bd5aee39fdff1300fc10de2c2a4e34d6b850e6e95c83ef217a8955379b6 SHA512 3e8fa8ccaabbbd07e74869fdc6188cffc19565798a6267fd3480d9320a2c9c5906c864e5d0c6e9e57f7bb79cc1706717b76b23c7cd89eb191477eb173b24aa74 +DIST gjs-1.58.7.tar.xz 638804 BLAKE2B eb9bb1ea0cd9b52b58a0c4497d5bb930ccb0c8451a94cf9e5e97a6cf1e7bd4dfa5f7a15c2c68fbba3c36a5d71e71df88f086b528e7c2e86d2a8374bfdeac8aa4 SHA512 0790cffd2f2230717b78266b356e88133b5fb816380bf96fc2bea0a039d96979796ad6455a4270dcde62ff2a023fbd73e2edc98428aa2a8b2fdf2cc6c8f8ecce diff --git a/dev-libs/gjs/gjs-1.58.7.ebuild b/dev-libs/gjs/gjs-1.58.7.ebuild new file mode 100644 index 000000000000..c0859f6c9be3 --- /dev/null +++ b/dev-libs/gjs/gjs-1.58.7.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit gnome2 pax-utils virtualx + +DESCRIPTION="Javascript bindings for GNOME" +HOMEPAGE="https://wiki.gnome.org/Projects/Gjs" + +LICENSE="MIT || ( MPL-1.1 LGPL-2+ GPL-2+ )" +SLOT="0" +IUSE="+cairo examples gtk readline +sysprof test" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +RDEPEND=" + >=dev-libs/glib-2.58.0 + >=dev-libs/gobject-introspection-1.61.2:= + + readline? ( sys-libs/readline:0= ) + dev-lang/spidermonkey:60 + dev-libs/libffi:= + cairo? ( x11-libs/cairo[X] ) +" +DEPEND="${RDEPEND} + sysprof? ( >=dev-util/sysprof-capture-3.33.2:3 ) + virtual/pkgconfig + test? ( sys-apps/dbus + >=x11-libs/gtk+-3.20:3[introspection] ) +" + +RESTRICT="!test? ( test )" + +src_configure() { + # 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 + gnome2_src_configure \ + --disable-systemtap \ + --disable-dtrace \ + --disable-code-coverage \ + $(use_with cairo cairo) \ + $(use_enable sysprof profiler) \ + $(use_enable readline) \ + $(use_with test dbus-tests) \ + $(use_with test gtk-tests) \ + --disable-installed-tests +} + +src_install() { + # installation sometimes fails in parallel, bug #??? + 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" +} + +src_test() { + virtx emake check +} -- 2.26.2