From e2bac96502905f126a3bdc60b3f0389208c77eda Mon Sep 17 00:00:00 2001 From: Mart Raudsepp Date: Sun, 1 Sep 2019 20:51:16 +0300 Subject: dev-libs/gjs: bump to 1.56.2 Seems to work fine with GNOME 3.30 too, as no mozjs update was done (no newer ESR at the time), thus introduced without immediately matching mutter/gnome-shell into ~arch. Tests fail for me: https://gitlab.gnome.org/GNOME/gjs/issues/280 Package-Manager: Portage-2.3.69, Repoman-2.3.12 Signed-off-by: Mart Raudsepp --- dev-libs/gjs/Manifest | 1 + dev-libs/gjs/gjs-1.56.2.ebuild | 66 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) create mode 100644 dev-libs/gjs/gjs-1.56.2.ebuild (limited to 'dev-libs/gjs') diff --git a/dev-libs/gjs/Manifest b/dev-libs/gjs/Manifest index 74251b92231b..93445a7c07c6 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.54.3.tar.xz 647704 BLAKE2B 792225afd9828755ef67b3e7221d4c53535d79d879e0aef0c7c56f06e02313a966776b5dddf9876649984a1599eb44a27d6288f9216bb929a66ad9e14cb632e5 SHA512 f19e667963fa3feecd23a9e4cc263a55d9d1311de7d10905969966f74e26ff982839c192c555cbc059e4fd65ff7c89d18944ca6bf8ffbb65ec91081036d19505 +DIST gjs-1.56.2.tar.xz 701976 BLAKE2B 77057e4a3a8958d6648c92bb56495b505b3ec49bc0eeff0fa5c9e3ae5a694a4b5643dc72d7aa673f9e66d42e9b0def7f9df0043f2690216bfc5c5109ea9eca51 SHA512 687b8e3795565b5c56fceebefb229c07b4c084a4f65c0035e0d185d12082920424632c0f896df8dc1cd5013a97b6e08274efaec4caeb564dc2070d26a5f974c5 diff --git a/dev-libs/gjs/gjs-1.56.2.ebuild b/dev-libs/gjs/gjs-1.56.2.ebuild new file mode 100644 index 000000000000..071966de1530 --- /dev/null +++ b/dev-libs/gjs/gjs-1.56.2.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2019 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 test" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +RDEPEND=" + >=dev-libs/glib-2.54.0 + >=dev-libs/gobject-introspection-1.57.2:= + + readline? ( sys-libs/readline:0= ) + dev-lang/spidermonkey:60 + virtual/libffi:= + cairo? ( x11-libs/cairo[X] ) + gtk? ( >=x11-libs/gtk+-3.20:3 ) +" +DEPEND="${RDEPEND} + gnome-base/gnome-common + sys-devel/gettext + virtual/pkgconfig + test? ( sys-apps/dbus ) +" + +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 \ + --enable-profiler \ + --disable-code-coverage \ + $(use_with cairo cairo) \ + $(use_with gtk) \ + $(use_enable readline) \ + $(use_with test dbus-tests) \ + $(use_with test xvfb-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 default +} -- cgit v1.2.3-65-gdbad