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 0F8FA158232 for ; Fri, 6 Dec 2024 13:14:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 405BEE0AFC; Fri, 6 Dec 2024 13:14:26 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id 2AC2CE0AFC for ; Fri, 6 Dec 2024 13:14:25 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 282B7340813 for ; Fri, 6 Dec 2024 13:14:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B2580AED for ; Fri, 6 Dec 2024 13:14:22 +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: <1733490850.107d54a5124cc87906e766351e2446f537a9a924.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.0.ebuild X-VCS-Directories: dev-libs/json-glib/ X-VCS-Committer: voyageur X-VCS-Committer-Name: Bernard Cafarelli X-VCS-Revision: 107d54a5124cc87906e766351e2446f537a9a924 X-VCS-Branch: master Date: Fri, 6 Dec 2024 13:14:22 +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: 155a01b6-d2b6-4e47-ae2f-0392583f5674 X-Archives-Hash: 971fe4da314f90d8fc97e137374250ee commit: 107d54a5124cc87906e766351e2446f537a9a924 Author: Bernard Cafarelli gentoo org> AuthorDate: Fri Dec 6 13:13:27 2024 +0000 Commit: Bernard Cafarelli gentoo org> CommitDate: Fri Dec 6 13:14:10 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=107d54a5 dev-libs/json-glib: add 1.10.0 Update ebuild and deps Signed-off-by: Bernard Cafarelli gentoo.org> dev-libs/json-glib/Manifest | 1 + dev-libs/json-glib/json-glib-1.10.0.ebuild | 58 ++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/dev-libs/json-glib/Manifest b/dev-libs/json-glib/Manifest index d0d6ff42a81d..da48e4af3aea 100644 --- a/dev-libs/json-glib/Manifest +++ b/dev-libs/json-glib/Manifest @@ -1 +1,2 @@ +DIST json-glib-1.10.0.tar.xz 252652 BLAKE2B 83f0707c18806c90640fa36208d8aeb46c9902660484c24e4c736b72d35bb0997ab7b0c62fe3f8f4cd5001abb31ca979d75fd0eff54afa57116d360d1ac9e118 SHA512 cafe813c465e69bc002965483359354be0c0af1af8302e93416e25f835103cb9cd2c07ae51783dc28b69512562b3fdd6f62fdcc4c5952d59e667b3fc7740df06 DIST json-glib-1.8.0.tar.xz 157300 BLAKE2B eef0344c353bb9288efb700a6041342379627b924a042263e011f21140166b57b108f6816e80ac692159b49943f9c1afeb722efafa34e8c60f2fcdf53a0dc034 SHA512 e4fe16bb7c5b72fcf9c0966ac1903ff0cd74ec8eab891db4b94e92353bdcb57b24613b6c2cce7bfa1996603c367d1b4939c12209369dfb915aac0f3804a3a900 diff --git a/dev-libs/json-glib/json-glib-1.10.0.ebuild b/dev-libs/json-glib/json-glib-1.10.0.ebuild new file mode 100644 index 000000000000..0b9b2e54653a --- /dev/null +++ b/dev-libs/json-glib/json-glib-1.10.0.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-libs/libxslt + 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 +}