44 lines
1.5 KiB
Bash
44 lines
1.5 KiB
Bash
# Template file for 'gnome-online-accounts'
|
|
pkgname=gnome-online-accounts
|
|
version=3.36.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
build_helper="gir"
|
|
configure_args="$(vopt_enable gir introspection)
|
|
--enable-documentation --enable-backend
|
|
--enable-google --enable-kerberos --enable-flickr
|
|
--enable-facebook --disable-static --enable-exchange --enable-imap-smtp
|
|
--enable-owncloud --enable-windows-live --enable-pocket
|
|
--enable-lastfm --enable-media-server"
|
|
hostmakedepends="docbook-xsl gettext-devel glib-devel gnome-common
|
|
libxslt pkg-config $(vopt_if vala vala)"
|
|
makedepends="gcr-devel gtk+3-devel json-glib-devel libnotify-devel libsecret-devel
|
|
libsoup-devel mit-krb5-devel rest-devel telepathy-glib-devel webkit2gtk-devel"
|
|
depends="hicolor-icon-theme"
|
|
short_desc="GNOME service to access online accounts"
|
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
|
license="LGPL-2.0-or-later"
|
|
homepage="https://wiki.gnome.org/Projects/GnomeOnlineAccounts"
|
|
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=1c8f62990833ca41188dbb80c5e99d99b57a62608ca675bbcd37bc2244742f2e
|
|
|
|
build_options="gir vala"
|
|
build_options_default="gir vala"
|
|
|
|
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
|
|
fi
|
|
if [ "$build_option_vala" ]; then
|
|
vmove usr/share/vala
|
|
fi
|
|
}
|
|
}
|