New package: msgraph-0.2.1

This commit is contained in:
cinerea0 2024-03-24 12:04:29 -04:00 committed by cinerea0
parent 0e4d113a29
commit d65011054f
3 changed files with 40 additions and 0 deletions

View File

@ -4303,3 +4303,4 @@ libunicode_loader.so.0.4 libunicode-0.4.0_1
force-stage.so.0.1 void-force-stage-0.1_1
libliftoff.so.0 libliftoff-0.4.1_1
libscfg.so libscfg-0.1.1_1
libmsgraph-0.so.1 msgraph-0.2.1_1

1
srcpkgs/msgraph-devel Symbolic link
View File

@ -0,0 +1 @@
msgraph

38
srcpkgs/msgraph/template Normal file
View File

@ -0,0 +1,38 @@
# Template file for 'msgraph'
pkgname=msgraph
version=0.2.1
revision=1
build_style=meson
build_helper=gir
configure_args="$(vopt_bool gtk_doc gtk_doc)"
hostmakedepends="pkg-config $(vopt_if gtk_doc gi-docgen)"
makedepends="glib-devel gnome-online-accounts-devel json-glib-devel rest-devel
uhttpmock-devel"
short_desc="Library to access MS Graph API for Office 365"
maintainer="cinerea0 <cinerea0@protonmail.com>"
license="LGPL-3.0-or-later"
homepage="https://gitlab.gnome.org/GNOME/msgraph"
changelog="https://gitlab.gnome.org/GNOME/msgraph/-/raw/main/NEWS"
distfiles="${GNOME_SITE}/msgraph/${version%.*}/msgraph-${version}.tar.xz"
checksum=e0e59eaa8ae3e0a48ec0a6c2fed0470856a709248e9212b6a1d037de5792ecbb
build_options="gtk_doc"
if [ -z "${CROSS_BUILD}" ]; then
build_options_default="gtk_doc"
fi
msgraph-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}-${version}_${revision} glib-devel
gnome-online-accounts-devel json-glib-devel libsoup3-devel rest-devel"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
vmove usr/share/gir-1.0
if [ "${build_option_gtk_doc}" ]; then
vmove usr/share/doc
fi
}
}