# Template file for 'nautilus-sendto'
pkgname=nautilus-sendto
version=3.8.3
revision=1
build_style=gnu-configure
configure_args="--disable-schemas-compile"
# 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"
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=7ba1c37280e232b06d8e5097c584fab2e05f2b2eb2c5e9c7be8a765af063830c

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