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.48.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-44/NEWS"
distfiles="${GNOME_SITE}/gnome-online-accounts/${version%.*}/gnome-online-accounts-${version}.tar.xz"
checksum=418bb9fcffdbd72a98205ad365137617fc1e3551a54de74f6a98d45d266175bf
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
}
}