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

38 lines
1.3 KiB
Bash

# Template file for 'gnome-online-accounts'
pkgname=gnome-online-accounts
version=3.46.0
revision=1
build_style=meson
build_helper="gir"
configure_args="$(vopt_bool gir introspection) $(vopt_bool gir vapi)
-Dmedia_server=true -Dman=true"
hostmakedepends="pkg-config gettext glib-devel docbook-xsl libxslt"
makedepends="gtk+3-devel libwebkit2gtk41-devel json-glib-devel libsecret-devel
rest-devel gcr-devel mit-krb5-devel libsoup3-devel"
depends="hicolor-icon-theme"
short_desc="GNOME service to access online accounts"
maintainer="Michal Vasilek <michal@vasilek.cz>"
license="LGPL-2.0-or-later"
homepage="https://wiki.gnome.org/Projects/GnomeOnlineAccounts"
changelog="https://gitlab.gnome.org/GNOME/gnome-online-accounts/-/raw/gnome-43/NEWS"
distfiles="${GNOME_SITE}/gnome-online-accounts/${version%.*}/gnome-online-accounts-${version}.tar.xz"
checksum=5e7859ce4858a6b99d3995ed70527d66e297bb90bbf75ec8780fe9da22c1fcaa
build_options="gir"
build_options_default="gir"
gnome-online-accounts-devel_package() {
depends="gtk+3-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
}
}