summaryrefslogtreecommitdiff
path: root/dev-libs/json-glib
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-12-07 02:07:26 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-12-07 02:07:26 +0000
commit2198f8593ae0312add1bdccb49edfcb935e5f8a6 (patch)
tree67d79ffd7e91cc3858d188c49a65f46860a9bac7 /dev-libs/json-glib
parentd285f0ab4ab38d4ea1cd0757a465db5f06764e06 (diff)
gentoo auto-resync : 07:12:2024 - 02:07:26
Diffstat (limited to 'dev-libs/json-glib')
-rw-r--r--dev-libs/json-glib/Manifest2
-rw-r--r--dev-libs/json-glib/json-glib-1.10.0.ebuild58
2 files changed, 60 insertions, 0 deletions
diff --git a/dev-libs/json-glib/Manifest b/dev-libs/json-glib/Manifest
index fd0e77f43e18..b91b196ec5b8 100644
--- a/dev-libs/json-glib/Manifest
+++ b/dev-libs/json-glib/Manifest
@@ -1,4 +1,6 @@
AUX json-glib-1.8.0-werror.patch 799 BLAKE2B 4bec885c2cb061b83d8398bcb842befe0a623eaeeb2d6f7e160fdd5813f9e833adf3fe67e5946eb6908070400f0d35e74faf71b29a12452196e8b35aca8787cd SHA512 0f1aa6379e2525ddae2bc5989d64a8fc3b08e22235868169e3419ebd723c8c1c18212e17b77fa326f71338675d30e6f7410b59f9f3d4fccb427d3827795c7ae9
+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
+EBUILD json-glib-1.10.0.ebuild 1438 BLAKE2B 13b9efd5cbdaa9c1bed503c6c503b6cf18a94bedd675f427b5a2f833cc658a4853d47574fc26dae12e6cb5d72064bc46340f4b880c6704926281d335f72d9ab8 SHA512 874e0048c3d5b74a965ba96c72ada92a470aa29c3e9a302c2f41f0d8461a00a3d205c9261d836d51974485bce7d15008620719accb58b8dabb2fa575b3e69dd9
EBUILD json-glib-1.8.0.ebuild 1866 BLAKE2B df1ce48fc6a1831d0c4f81a4dce2024c283b2796698d5d2819a1440b9a5346e15fffc2d1d269019a68cd5c72a65c57fefdef54be76d08eed16e0fe9abce0607a SHA512 f44e1e3647415bf990145f031259b5e5c46060a4344955b280ee4f95f4a7b5c87689bc6605781029ec8e4331c48886cab837ee3012fac1d0193f87b173221501
MISC metadata.xml 1419 BLAKE2B ac1a9777c70b0d1421de223be8ccc1600192979826eb3cebf80dda2f494a2a97c07746b09a5c91181e18d2d8d51ba4f50952414f9a41c5dad16c63f53aac9517 SHA512 bd248bf651553b0c3d41948826ca0022cfd273b18d8cf61820637b127f4c37a8f883d3d71f9bddf3dc78317540442ef8132e7d67b0a35a6d4da0661b8e86ddbe
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..ee72086f7cdb
--- /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-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
+}