commit:     e43534fb8e359eb5be880f5f0c8471edfe647c14
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 15 04:29:43 2022 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Tue Mar 15 04:33:03 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e43534fb

dev-libs/gjs: Version bump to 1.64.5

I noticed that v1.64.4 didn't compile with current glib-2.70.4 and
gcc-11. I cherry picked the upstream patches back to this branch and saw
that there was a newer minor release as well.

Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 dev-libs/gjs/Manifest          |  1 +
 dev-libs/gjs/gjs-1.64.5.ebuild | 51 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 52 insertions(+)

diff --git a/dev-libs/gjs/Manifest b/dev-libs/gjs/Manifest
index cfaa63196895..c5689c102f56 100644
--- a/dev-libs/gjs/Manifest
+++ b/dev-libs/gjs/Manifest
@@ -1,4 +1,5 @@
 DIST gjs-1.64.4.tar.xz 422496 BLAKE2B 
a96211f7240336dbb30c6965e405f59ee72e4288842837da8da8c6d3c59b7e04ebb6c7a8b0b02d38601c162ffdf1a1fef9f13e4db720c4c483f4a39dffd5dbb4
 SHA512 
21a15d7106ad6584fb1f02cb0a0a4cab211a3540adb8f2c03d35c211e3946b81935000a52351fedd95a18a7ff6b7f96e665fcafa3c411ff79f2b6cb332c82b42
+DIST gjs-1.64.5.tar.xz 422548 BLAKE2B 
dcc0b7327cbc6a1108be031c8807e61ebd3c8392916750078aaa0d82cb3bf9f7ff0e1876c250e5ddf6e9d7bb6a17d9d1fe34c1c77ff534b7ec1dd54fa05a2d1b
 SHA512 
41a3c79888792674b2bccbf254507ed02497eb571c8ca7f47aab406d2ee29b73c98b1c7d59c33ed33bad90c6989df944d78b86d2f7e9824d598b62e29769b6dc
 DIST gjs-1.68.4.tar.xz 559768 BLAKE2B 
0e5f2cbb5b93c7ddc05916c95f23d9438c8e76bc2eb35c11eca5414d9f4327e0c99ec9c85795880bd478de5e3655da0f7e9223ba4c3f7c8d5685bdb4a00920d5
 SHA512 
c610abfa701c0a61ffa6916ec5ebcd07b1dcb04607d74ab0b6d30583da27d60f9993e037fab73e66e1580d644d3a57f0a479f55a09e3bf56fea7f17367c787b3
 DIST gjs-1.70.0.tar.xz 595292 BLAKE2B 
fc06f4b397350daf19a532a3ec3c2851e106bc76dda41d4a9c32b2718a6f5add1bf0c1066ba9cc5aaeeb192cb4f0a0e3dba1c16826fb3157c0a1e0a8bfe88606
 SHA512 
e32ee511c34fa9af210061a106d42de67d40c20f398dfacc541db0323bb4a499f2552aa28028eba16ec42afd4dec5a0cea4292155a66b966c3731ded45b23cb4
 DIST gjs-1.70.1.tar.xz 598444 BLAKE2B 
7d5f1b82e9edd20b9b3d3b03511d3cb8e19715d5dcaaa5375867c1c8754895db33089c41e17f28b732183ce510fff868399cd2174062684e0b3072cd599bc12b
 SHA512 
194d8efeb37ecf7f3ea65c0bf0bbe2120524a11448423888d0785868297ebdea12b0ea4b28cb49d2596c7a3d73f13eb216072db8dca5e209193ba3dbbad78b6b

diff --git a/dev-libs/gjs/gjs-1.64.5.ebuild b/dev-libs/gjs/gjs-1.64.5.ebuild
new file mode 100644
index 000000000000..c8a26722b31f
--- /dev/null
+++ b/dev-libs/gjs/gjs-1.64.5.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit gnome.org meson 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"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+       >=dev-libs/glib-2.58.0
+       dev-libs/libffi:=
+       >=dev-libs/gobject-introspection-1.61.2:=
+       dev-lang/spidermonkey:68
+       cairo? ( x11-libs/cairo[X] )
+       readline? ( sys-libs/readline:0= )
+"
+DEPEND="${RDEPEND}
+       sysprof? ( >=dev-util/sysprof-capture-3.33.2:3 )
+       virtual/pkgconfig
+       test? ( sys-apps/dbus
+               >=x11-libs/gtk+-3.20:3[introspection] )
+"
+
+PATCHES=(
+       "${FILESDIR}"/${P}-gcc-11-support.patch
+)
+
+src_configure() {
+       # FIXME: add systemtap/dtrace support, like in glib:2
+       local emesonargs=(
+               $(meson_feature cairo)
+               $(meson_feature readline)
+               $(meson_feature sysprof profiler)
+               -Dinstalled_tests=false
+               $(meson_use !test skip_dbus_tests)
+               $(meson_use !test skip_gtk_tests)
+       )
+       meson_src_configure
+}
+
+src_test() {
+       virtx meson_src_test
+}

Reply via email to