# Template file for 'nautilus-sendto'
pkgname=nautilus-sendto
version=3.8.6
revision=1
build_style=meson
# XXX: add pidgin and gajim depends for plugins to work.
hostmakedepends="pkg-config intltool $(vopt_if gir gobject-introspection)"
makedepends="evolution-data-server-devel nautilus-devel gupnp-devel appstream-glib-devel"
short_desc="Nautilus context menu for sending files"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://download.gnome.org/sources/nautilus-sendto/"
license="GPL-2"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=164d7c6e8bae29c4579bcc67a7bf50d783662b1545b62f3008e7ea3c0410e04d

build_options="gir"
if [ -z "$CROSS_BUILD" ]; then
	build_options_default="gir"
fi

if [ ${XBPS_GCC_VERSION_MAJOR} -gt 5 ]; then
	CFLAGS="-Wno-error=format-nonliteral"
fi

