void-packages/srcpkgs/nautilus-sendto/template
2016-09-17 16:41:08 +02:00

26 lines
905 B
Bash

# Template file for 'nautilus-sendto'
pkgname=nautilus-sendto
version=3.8.2
revision=4
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=932811e781457b1dbf7b396e930d588f433b9ba756b10bde9f03f6d71d54bdc5
build_options="gir"
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
_gccver=$(gcc --version | awk '/^gcc \(GCC\)/ { print $3 }')
if [ "${_gccver%%.*}" -gt 5 ]; then
CFLAGS="-Wno-error=format-nonliteral"
fi