# Template file for 'nautilus-sendto'
pkgname=nautilus-sendto
version=3.8.4
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=51065c6e2601560a8bc507c7aee8e967dc6c6f355c6a05a1d4e7e1fe76b908e7

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

