diff options
author | Mart Raudsepp <leio@gentoo.org> | 2021-10-10 20:30:14 +0300 |
---|---|---|
committer | Mart Raudsepp <leio@gentoo.org> | 2021-10-11 13:14:16 +0300 |
commit | 58fceb2fb7c7d48f761f85060ded645030f96ede (patch) | |
tree | f95a6c08d5f42eed8ad2cd7dcc0018a932816a2c /dev-libs | |
parent | dev-libs/libinput: fix some minimum deps (diff) | |
download | gentoo-58fceb2fb7c7d48f761f85060ded645030f96ede.tar.gz gentoo-58fceb2fb7c7d48f761f85060ded645030f96ede.tar.bz2 gentoo-58fceb2fb7c7d48f761f85060ded645030f96ede.zip |
dev-libs/gjs: bump to 1.70.0
Also apply via CPPFLAGS what upstream does for release builds.
Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/gjs/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/gjs/gjs-1.70.0.ebuild | 51 |
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-libs/gjs/Manifest b/dev-libs/gjs/Manifest index deb336249171..9a52d47d6ea5 100644 --- a/dev-libs/gjs/Manifest +++ b/dev-libs/gjs/Manifest @@ -3,3 +3,4 @@ DIST gjs-1.68.1.tar.xz 558920 BLAKE2B f5364fe92ddf4cb1e9b5dac5921fa180ed31bfe54b DIST gjs-1.68.2.tar.xz 559432 BLAKE2B 09146cadcc17f16c36f2a07108b086850d51d95cba21ca95ff0311dd107835b6c5fc9d5d682c9c6713ebd082372f8b46aae31b71f7f5e0e03dcb0d47c5d3c72f SHA512 a42d4ee7be92c869ad9e74c0e02debbe62d13fd0926aa0d903efe802d0f8bc6bc18959d4e161b3960261f9e7b9c0de1d4df5cfcf1eabea29fd75063af8cba154 DIST gjs-1.68.3.tar.xz 559792 BLAKE2B 0e625c80164ea6053941ce04d00ac688e7a2ea79150dba8849ffc22ae51951d3a6442d8a28755400331a13bf8fcff01dc299d37e61d165de61bbdc1416298f63 SHA512 1b93bdce97b81ec439cde7824491661fc7e4296464a41e4357fc902ec62024e855a4dec24ae7dcb01ec57d4a0019ab2c4aff0b3c08fb94c7beecdefe34226d46 DIST gjs-1.68.4.tar.xz 559768 BLAKE2B 0e5f2cbb5b93c7ddc05916c95f23d9438c8e76bc2eb35c11eca5414d9f4327e0c99ec9c85795880bd478de5e3655da0f7e9223ba4c3f7c8d5685bdb4a00920d5 SHA512 c610abfa701c0a61ffa6916ec5ebcd07b1dcb04607d74ab0b6d30583da27d60f9993e037fab73e66e1580d644d3a57f0a479f55a09e3bf56fea7f17367c787b3 +DIST gjs-1.70.0.tar.xz 595292 BLAKE2B fc06f4b397350daf19a532a3ec3c2851e106bc76dda41d4a9c32b2718a6f5add1bf0c1066ba9cc5aaeeb192cb4f0a0e3dba1c16826fb3157c0a1e0a8bfe88606 SHA512 e32ee511c34fa9af210061a106d42de67d40c20f398dfacc541db0323bb4a499f2552aa28028eba16ec42afd4dec5a0cea4292155a66b966c3731ded45b23cb4 diff --git a/dev-libs/gjs/gjs-1.70.0.ebuild b/dev-libs/gjs/gjs-1.70.0.ebuild new file mode 100644 index 000000000000..ea422c9bfc60 --- /dev/null +++ b/dev-libs/gjs/gjs-1.70.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit flag-o-matic 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="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-libs/glib-2.66.0 + dev-libs/libffi:= + >=dev-libs/gobject-introspection-1.66.1:= + >=dev-lang/spidermonkey-78.2.0:78 + cairo? ( x11-libs/cairo[X,svg] ) + readline? ( sys-libs/readline:0= ) +" +DEPEND="${RDEPEND} + sysprof? ( >=dev-util/sysprof-capture-3.40.1:4 ) + test? ( sys-apps/dbus + >=x11-libs/gtk+-3.20:3[introspection] ) +" +BDEPEND=" + virtual/pkgconfig +" + +src_configure() { + append-cppflags -DG_DISABLE_CAST_CHECKS + + # 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 +} |