nautilus-sendto: remove XBPS_GCC_* usage

This commit is contained in:
maxice8 2018-12-31 14:22:51 -02:00 committed by maxice8
parent fa07f65de4
commit 2e48b576fc
1 changed files with 2 additions and 7 deletions

View File

@ -8,17 +8,12 @@ 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>"
license="GPL-2.0-or-later"
homepage="http://download.gnome.org/sources/nautilus-sendto/"
license="GPL-2"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
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