Files
gentoo/net-libs/msgraph/msgraph-0.2.3.ebuild
Alfred Wingate d83e25b6a5 */*: depend on newer gobject-introspection as a workaround
sed -E '/dev-libs\/gobject-introspection(:=|\s|$|-[0-9]|\[)/ { s/(>=)?dev-libs\/gobject-introspection(-[0-9.r-]*)?/>=dev-libs\/gobject-introspection-1.82.0-r2/ }' */*/*.ebuild -i

+ manually going over to undo the false positives or if the version
  requirement was higher.

Bug: https://bugs.gentoo.org/947058
See-Also: ae37e3f389
Signed-off-by: Alfred Wingate <parona@protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/44336
Closes: https://github.com/gentoo/gentoo/pull/44336
Signed-off-by: Sam James <sam@gentoo.org>
2025-10-26 03:26:28 +00:00

48 lines
1.1 KiB
Bash

# 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"
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
}