commit: a0a0fc6060a1dd08ba280a1955c8bbcd6c577043 Author: Lukas Schmelting <lschmelting <AT> posteo <DOT> com> AuthorDate: Sun Sep 21 07:59:47 2025 +0000 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> CommitDate: Mon Dec 22 11:01:01 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0a0fc60
net-libs/msgraph: add 0.3.3 Signed-off-by: Lukas Schmelting <lschmelting <AT> posteo.com> Part-of: https://github.com/gentoo/gentoo/pull/43870 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> net-libs/msgraph/Manifest | 1 + net-libs/msgraph/msgraph-0.3.3.ebuild | 55 +++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) diff --git a/net-libs/msgraph/Manifest b/net-libs/msgraph/Manifest index 16d09fcda9fb..16b6eb048be1 100644 --- a/net-libs/msgraph/Manifest +++ b/net-libs/msgraph/Manifest @@ -1 +1,2 @@ DIST msgraph-0.2.3.tar.xz 95904 BLAKE2B 5c0476511784861e1a6e3f3cb4ecaa50ad494b484b8b60f9305aae95539e8d4e9c0e491298d5d1df0031f28a9c472eb6f197acf02a69625e904c4095263b831a SHA512 23a9c24dde6125a7e6fc8a9db61248423a78e2e50a95880a59662d5824fc3f171b2354ab6ae66c77c75fd1737b1d4b19b7a35f8c6fe9ba393c5b116f3c56128f +DIST msgraph-0.3.3.tar.xz 115160 BLAKE2B d1163f3b2660bb7b18a6b66ee510c25827104dade9c91b89cc47aaee2dc75404cbea724ae1b3b4629f2a3b57c0a50c887599f4b922c4907e3af9cff501e3f6fb SHA512 8dbb53d5e16c6473a8c631be00d3d1d9ddef2969235c45128fbc66151e6a8ab8c5dfb672e4b3f38754cf0b762dbee1a61ff901f6d135e3d670b5c9a9355f83e0 diff --git a/net-libs/msgraph/msgraph-0.3.3.ebuild b/net-libs/msgraph/msgraph-0.3.3.ebuild new file mode 100644 index 000000000000..781c95f66b9c --- /dev/null +++ b/net-libs/msgraph/msgraph-0.3.3.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit gnome.org meson + +DESCRIPTION="GLib-based library for accessing online serive APIs using MS Graph protocol." +HOMEPAGE="https://gitlab.gnome.org/GNOME/msgraph" + +LICENSE="LGPL-2+" +SLOT="0/1.1" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" + +IUSE="debug gtk-doc +introspection man test" +REQUIRED_USE="gtk-doc? ( introspection )" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-libs/glib-2.28.0:2 + dev-libs/json-glib + net-libs/rest:1.0 + net-libs/libsoup:3.0 + net-libs/gnome-online-accounts:= + >=net-libs/uhttpmock-0.11.0:1.0 + introspection? ( >=dev-libs/gobject-introspection-1.82.0-r2:= ) +" + +DEPEND="${RDEPEND} + >=dev-util/gdbus-codegen-2.30.0 + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig + dev-libs/gobject-introspection-common +" +BDEPEND=" + gtk-doc? ( dev-util/gi-docgen ) + test? ( net-libs/uhttpmock:1.0 ) +" + +src_configure() { + local emesonargs=( + $(meson_use gtk-doc gtk_doc) + $(meson_use introspection) + $(meson_use test tests) + ) + meson_src_configure +} + +src_install(){ + meson_install + if use gtk-doc; then + mkdir -p "${ED}"/usr/share/gtk-doc/html || die + mv "${ED}"/usr/share/doc/msgraph-* "${ED}"/usr/share/gtk-doc/html || die + fi +}
