From: Mart Raudsepp Date: Sun, 1 Mar 2020 12:52:23 +0000 (+0200) Subject: dev-libs/gjs: bump to 1.58.5 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b576f7ab64da16559c6f13ab71534768e1c29622;p=gentoo.git dev-libs/gjs: bump to 1.58.5 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Mart Raudsepp --- diff --git a/dev-libs/gjs/Manifest b/dev-libs/gjs/Manifest index 30687981603d..0c07395ac35f 100644 --- a/dev-libs/gjs/Manifest +++ b/dev-libs/gjs/Manifest @@ -1,2 +1,3 @@ DIST gjs-1.48.7.tar.xz 595324 BLAKE2B eac8b5b2f7e909e94e3fb305cac443da3f433047ee07fa8fbd15905890f77d57449c8689867df61f1ac849b8b4bddc089a9b1ddc3aa79d4b3d054226c58fa909 SHA512 b8c58e068eaecfca2fa40cebe209fa8058e603809be4307099a0f3dbd561752a540d587d546ffa74aef0268a111f2b2846a1e0febda1adcefdac8c02e716e2dd DIST gjs-1.56.2.tar.xz 701976 BLAKE2B 77057e4a3a8958d6648c92bb56495b505b3ec49bc0eeff0fa5c9e3ae5a694a4b5643dc72d7aa673f9e66d42e9b0def7f9df0043f2690216bfc5c5109ea9eca51 SHA512 687b8e3795565b5c56fceebefb229c07b4c084a4f65c0035e0d185d12082920424632c0f896df8dc1cd5013a97b6e08274efaec4caeb564dc2070d26a5f974c5 +DIST gjs-1.58.5.tar.xz 637996 BLAKE2B a6c96ee4be81e36d4675d24d9b66b9aab83fe7e4c4cac042122f095b477b551234785417f796144c6755e5faf4afeee446f00a5914a9d63d0619f74fbb2a5694 SHA512 18ef3afc4403ed281e1e70a379fd68ffa537ffc20ab66d7faaefe51e03bb6a66e359e5ca2c0511e1c5f8c6adfce93601d011cfb9e9e6b0a18f8aa1f2398297c3 diff --git a/dev-libs/gjs/gjs-1.58.5.ebuild b/dev-libs/gjs/gjs-1.58.5.ebuild new file mode 100644 index 000000000000..ee4c6cf3c607 --- /dev/null +++ b/dev-libs/gjs/gjs-1.58.5.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 ) +" + +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 +} diff --git a/dev-libs/gjs/metadata.xml b/dev-libs/gjs/metadata.xml index 4cbddcaa19ad..029c403a1ba9 100644 --- a/dev-libs/gjs/metadata.xml +++ b/dev-libs/gjs/metadata.xml @@ -5,4 +5,7 @@ gnome@gentoo.org Gentoo GNOME Desktop + + Enable profiling data capture support using dev-util/sysprof-capture + diff --git a/profiles/arch/amd64/package.use.mask b/profiles/arch/amd64/package.use.mask index df5cf9ee937b..6742c8915355 100644 --- a/profiles/arch/amd64/package.use.mask +++ b/profiles/arch/amd64/package.use.mask @@ -20,6 +20,7 @@ # Mart Raudsepp (2020-03-01) # dev-util/sysprof-capture is keyworded on amd64 x11-wm/mutter -sysprof +dev-libs/gjs -sysprof # Andreas Sturmlechner (2020-02-26) # Vulkan is available on amd64. diff --git a/profiles/arch/base/package.use.mask b/profiles/arch/base/package.use.mask index e10f9e3163b2..35aad9c845f6 100644 --- a/profiles/arch/base/package.use.mask +++ b/profiles/arch/base/package.use.mask @@ -4,6 +4,7 @@ # Mart Raudsepp (2020-03-01) # dev-util/sysprof not keyworded on most arches yet x11-wm/mutter sysprof +dev-libs/gjs sysprof # Andreas Sturmlechner (2020-02-26) # Vulkan support is only available on few selected arches atm. diff --git a/profiles/arch/x86/package.use.mask b/profiles/arch/x86/package.use.mask index 95763c27f52b..caf8b39b5ddb 100644 --- a/profiles/arch/x86/package.use.mask +++ b/profiles/arch/x86/package.use.mask @@ -4,6 +4,7 @@ # Mart Raudsepp (2020-03-01) # dev-util/sysprof-capture is keyworded on x86 x11-wm/mutter -sysprof +dev-libs/gjs -sysprof # Andreas Sturmlechner (2020-02-26) # Vulkan is available on x86.