void-packages/srcpkgs/gnome-online-accounts/template

40 lines
1.4 KiB
Bash

# Template file for 'gnome-online-accounts'
pkgname=gnome-online-accounts
version=3.50.2
revision=2
build_style=meson
build_helper="gir"
configure_args="$(vopt_bool gir introspection) $(vopt_bool gir vapi)
-Dman=true"
hostmakedepends="pkg-config gettext glib-devel docbook-xsl libxslt vala
gtk4-update-icon-cache"
makedepends="gtk4-devel json-glib-devel libsecret-devel
rest-devel gcr4-devel mit-krb5-devel libsoup3-devel libadwaita-devel"
depends="hicolor-icon-theme"
short_desc="GNOME service to access online accounts"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.0-or-later"
homepage="https://wiki.gnome.org/Projects/GnomeOnlineAccounts"
changelog="https://gitlab.gnome.org/GNOME/gnome-online-accounts/-/raw/gnome-46/NEWS"
#changelog="https://gitlab.gnome.org/GNOME/gnome-online-accounts/-/raw/master/NEWS"
distfiles="${GNOME_SITE}/gnome-online-accounts/${version%.*}/gnome-online-accounts-${version}.tar.xz"
checksum=df16ad975d139c6bfc4ebb2ec8bb8327297a791ef2bf0b977c78076af5faa98e
build_options="gir"
build_options_default="gir"
gnome-online-accounts-devel_package() {
depends="libadwaita-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/lib/goa-1.0
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
vmove usr/share/vala
fi
}
}