Skip to content

Commit

Permalink
net/msgraph: GNOME library to access MS Graph API for Office 365
Browse files Browse the repository at this point in the history
Sponsored by:	Future Crew, LLC
Pull Request:	#332
  • Loading branch information
arrowd committed Jan 15, 2025
1 parent 867f893 commit 709fe0c
Show file tree
Hide file tree
Showing 5 changed files with 68 additions and 0 deletions.
1 change: 1 addition & 0 deletions net/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,7 @@
SUBDIR += mrouted
SUBDIR += mrtparse
SUBDIR += msend
SUBDIR += msgraph
SUBDIR += msoak
SUBDIR += mtr
SUBDIR += multicat
Expand Down
32 changes: 32 additions & 0 deletions net/msgraph/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
PORTNAME= msgraph
DISTVERSION= 0.2.3
CATEGORIES= net gnome
MASTER_SITES= GNOME

LICENSE= LGPL3
LICENSE_FILE= ${WRKSRC}/COPYING

MAINTAINER= [email protected]
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 changes: 3 additions & 0 deletions net/msgraph/distinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
TIMESTAMP = 1734121676
SHA256 (msgraph-0.2.3.tar.xz) = ed42e800cb7f0a07477cd9e3e744cdc1a240a6ad7ab96b8a875806267a9fddb0
SIZE (msgraph-0.2.3.tar.xz) = 95904
4 changes: 4 additions & 0 deletions net/msgraph/pkg-descr
Original file line number Diff line number Diff line change
@@ -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 changes: 28 additions & 0 deletions net/msgraph/pkg-plist
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 709fe0c

Please sign in to comment.