net/msgraph: GNOME library to access MS Graph API for Office 365

Sponsored by:	Future Crew, LLC
Pull Request:	https://github.com/freebsd/freebsd-ports/pull/332
This commit is contained in:
Gleb Popov 2024-12-14 01:08:23 +03:00
parent 867f893181
commit 709fe0c871
5 changed files with 68 additions and 0 deletions

View file

@ -501,6 +501,7 @@
SUBDIR += mrouted
SUBDIR += mrtparse
SUBDIR += msend
SUBDIR += msgraph
SUBDIR += msoak
SUBDIR += mtr
SUBDIR += multicat

32
net/msgraph/Makefile Normal file
View file

@ -0,0 +1,32 @@
PORTNAME= msgraph
DISTVERSION= 0.2.3
CATEGORIES= net gnome
MASTER_SITES= GNOME
LICENSE= LGPL3
LICENSE_FILE= ${WRKSRC}/COPYING
MAINTAINER= gnome@FreeBSD.org
COMMENT= Library to access MS Graph API for Office 365
WWW= https://gnome.pages.gitlab.gnome.org/msgraph/
LIB_DEPENDS= libgoa-1.0.so:net/gnome-online-accounts \
libjson-glib-1.0.so:devel/json-glib \
libsoup-3.0.so:devel/libsoup3
USES= gnome meson pkgconfig tar:xz
USE_GNOME= glib20 introspection:build
USE_LDCONFIG= yes
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-0
PORTDOCS= *
OPTIONS_DEFINE= DOCS TEST
DOCS_MESON_TRUE= gtk_doc
DOCS_BUILD_DEPENDS= gi-docgen:textproc/py-gi-docgen
TEST_MESON_TRUE= tests
TEST_LIB_DEPENDS= libuhttpmock-1.0.so:net/uhttpmock
.include <bsd.port.mk>

3
net/msgraph/distinfo Normal file
View file

@ -0,0 +1,3 @@
TIMESTAMP = 1734121676
SHA256 (msgraph-0.2.3.tar.xz) = ed42e800cb7f0a07477cd9e3e744cdc1a240a6ad7ab96b8a875806267a9fddb0
SIZE (msgraph-0.2.3.tar.xz) = 95904

4
net/msgraph/pkg-descr Normal file
View file

@ -0,0 +1,4 @@
Microsoft Graph is a RESTful web API that enables you to access Microsoft
Cloud service resources. libmsgraph is a GLib-based library for accessing this
API licensed under LGPL.

28
net/msgraph/pkg-plist Normal file
View file

@ -0,0 +1,28 @@
include/msg/contact/msg-contact-service.h
include/msg/contact/msg-contact.h
include/msg/drive/msg-drive-item-file.h
include/msg/drive/msg-drive-item-folder.h
include/msg/drive/msg-drive-item.h
include/msg/drive/msg-drive-service.h
include/msg/drive/msg-drive.h
include/msg/message/msg-mail-folder.h
include/msg/message/msg-message-service.h
include/msg/message/msg-message.h
include/msg/msg-authorizer.h
include/msg/msg-error.h
include/msg/msg-goa-authorizer.h
include/msg/msg-input-stream.h
include/msg/msg-json-utils.h
include/msg/msg-oauth2-authorizer.h
include/msg/msg-private.h
include/msg/msg-service.h
include/msg/msg-version.h
include/msg/msg.h
include/msg/user/msg-user-service.h
include/msg/user/msg-user.h
lib/girepository-1.0/Msg-0.typelib
lib/libmsgraph-0.so
lib/libmsgraph-0.so.0.2.3
lib/libmsgraph-0.so.1
libdata/pkgconfig/msgraph-0.1.pc
share/gir-1.0/Msg-0.gir