From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5E2BF1581F0 for ; Wed, 11 Dec 2024 07:21:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2D5E1E07FA; Wed, 11 Dec 2024 07:21:03 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 42EC9E07D9 for ; Wed, 11 Dec 2024 07:21:02 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 688DE34313E for ; Wed, 11 Dec 2024 07:21:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C157AAED for ; Wed, 11 Dec 2024 07:20:59 +0000 (UTC) From: "Bernard Cafarelli" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Bernard Cafarelli" Message-ID: <1733901657.405529193b015944ccbdfaa62634d718ada2d914.voyageur@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/json-glib/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/json-glib/Manifest dev-libs/json-glib/json-glib-1.10.6.ebuild X-VCS-Directories: dev-libs/json-glib/ X-VCS-Committer: voyageur X-VCS-Committer-Name: Bernard Cafarelli X-VCS-Revision: 405529193b015944ccbdfaa62634d718ada2d914 X-VCS-Branch: master Date: Wed, 11 Dec 2024 07:20:59 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 958ca4b1-a59d-4da3-8367-3267b72ef823 X-Archives-Hash: 191bc1ffb693e7517a7a30acc103c564 commit: 405529193b015944ccbdfaa62634d718ada2d914 Author: Bernard Cafarelli gentoo org> AuthorDate: Wed Dec 11 07:15:21 2024 +0000 Commit: Bernard Cafarelli gentoo org> CommitDate: Wed Dec 11 07:20:57 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40552919 dev-libs/json-glib: add 1.10.6 Signed-off-by: Bernard Cafarelli gentoo.org> dev-libs/json-glib/Manifest | 1 + dev-libs/json-glib/json-glib-1.10.6.ebuild | 58 ++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/dev-libs/json-glib/Manifest b/dev-libs/json-glib/Manifest index da48e4af3aea..2f789fcfd80c 100644 --- a/dev-libs/json-glib/Manifest +++ b/dev-libs/json-glib/Manifest @@ -1,2 +1,3 @@ DIST json-glib-1.10.0.tar.xz 252652 BLAKE2B 83f0707c18806c90640fa36208d8aeb46c9902660484c24e4c736b72d35bb0997ab7b0c62fe3f8f4cd5001abb31ca979d75fd0eff54afa57116d360d1ac9e118 SHA512 cafe813c465e69bc002965483359354be0c0af1af8302e93416e25f835103cb9cd2c07ae51783dc28b69512562b3fdd6f62fdcc4c5952d59e667b3fc7740df06 +DIST json-glib-1.10.6.tar.xz 253324 BLAKE2B 125ba305d5d33ecb1a1fbe46322c5035c7f97bd49e8eeef26e3c9c5d829693978fdc10bbe3d926cd4d07f8fd80c9df282d5ff7fe80ab4a6ab8e17c93e9d362d4 SHA512 e1c0e33b17333cf94beb381f505c1819090a11b616dcc23a883f231029dff277c2482823278cbf7b8a07e237d45cbfc7b05f132e1234beff609a739fd5704c6e DIST json-glib-1.8.0.tar.xz 157300 BLAKE2B eef0344c353bb9288efb700a6041342379627b924a042263e011f21140166b57b108f6816e80ac692159b49943f9c1afeb722efafa34e8c60f2fcdf53a0dc034 SHA512 e4fe16bb7c5b72fcf9c0966ac1903ff0cd74ec8eab891db4b94e92353bdcb57b24613b6c2cce7bfa1996603c367d1b4939c12209369dfb915aac0f3804a3a900 diff --git a/dev-libs/json-glib/json-glib-1.10.6.ebuild b/dev-libs/json-glib/json-glib-1.10.6.ebuild new file mode 100644 index 000000000000..ee72086f7cdb --- /dev/null +++ b/dev-libs/json-glib/json-glib-1.10.6.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit gnome.org meson-multilib xdg-utils + +DESCRIPTION="Library providing GLib serialization and deserialization for the JSON format" +HOMEPAGE="https://wiki.gnome.org/Projects/JsonGlib" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="gtk-doc +introspection nls test" +RESTRICT="!test? ( test )" +REQUIRED_USE="gtk-doc? ( introspection )" + +RDEPEND=" + >=dev-libs/glib-2.72.0:2[${MULTILIB_USEDEP}] + introspection? ( >=dev-libs/gobject-introspection-0.9.5:= ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-python/docutils + dev-util/glib-utils + gtk-doc? ( >=dev-util/gi-docgen-2021.6 ) + >=sys-devel/gettext-0.18 + virtual/pkgconfig +" + +src_prepare() { + xdg_environment_reset + default +} + +multilib_src_configure() { + local emesonargs=( + # Never use gi-docgen subproject + --wrap-mode nofallback + -Dinstalled_tests=false + + $(meson_native_use_feature introspection) + $(meson_native_use_feature gtk-doc documentation) + $(meson_native_true man) + + $(meson_feature nls) + $(meson_use test tests) + ) + meson_src_configure +} + +multilib_src_install_all() { + einstalldocs + if use gtk-doc ; then + # TODO: still useful with devhelp 43? + mkdir -p "${ED}"/usr/share/gtk-doc/html || die + mv "${ED}"/usr/share/doc/json-glib-1.0 "${ED}"/usr/share/gtk-doc/html/ || die + fi +}