dev-libs/json-glib: add 1.10.8

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2025-09-14 11:47:49 +01:00
parent 0b6a154469
commit 50d71e2b1c
2 changed files with 59 additions and 0 deletions

View File

@@ -1,3 +1,4 @@
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.10.8.tar.xz 1294096 BLAKE2B c24cf2b5c4a24bc8eaa31a52aff23522b1fb98724bff445fd766d6def8138535ba24ba52d7dd9a348891c604ca747df4affb86170af486f6987c8810ccfe2f44 SHA512 f4ba8660b586a4e738803e4dbfdfcd34fa7ceba9189e7bf3f2b50e21f4d4886f99535ceb3453c89b1d1ae8d96bf4168a135b73b7e1a2dbc46b19e9b710ad56a1
DIST json-glib-1.8.0.tar.xz 157300 BLAKE2B eef0344c353bb9288efb700a6041342379627b924a042263e011f21140166b57b108f6816e80ac692159b49943f9c1afeb722efafa34e8c60f2fcdf53a0dc034 SHA512 e4fe16bb7c5b72fcf9c0966ac1903ff0cd74ec8eab891db4b94e92353bdcb57b24613b6c2cce7bfa1996603c367d1b4939c12209369dfb915aac0f3804a3a900

View File

@@ -0,0 +1,58 @@
# Copyright 1999-2025 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
}