gnome-online-accounts: fix for libtool>=2.4.6

Always requires gnome-introspection for autoreconf to find
introspection.m4. It is disabled for cross through configure_args.
This commit is contained in:
Jürgen Buchmüller 2015-10-24 16:40:27 +02:00
parent bc8a0db4b4
commit e86220e819

View file

@ -1,14 +1,14 @@
# Template file for 'gnome-online-accounts'
pkgname=gnome-online-accounts
version=3.18.1
revision=1
revision=2
build_style=gnu-configure
configure_args="
configure_args="$(vopt_enable gir introspection)
--enable-google --enable-kerberos --enable-flickr --enable-telepathy
--enable-facebook --disable-static --enable-exchange --enable-imap-smtp
--enable-owncloud --enable-windows-live --disable-twitter --enable-yahoo"
hostmakedepends="pkg-config intltool libxslt docbook-xsl glib-devel
$(vopt_if gir gobject-introspection) libtool"
gobject-introspection automake gettext-devel libtool"
makedepends="libsoup-gnome-devel webkit2gtk-devel json-glib-devel libnotify-devel
rest-devel gcr-devel libsecret-devel mit-krb5-devel dbus-glib-devel telepathy-glib-devel"
depends="hicolor-icon-theme"
@ -25,7 +25,9 @@ if [ -z "$CROSS_BUILD" ]; then
fi
pre_configure() {
libtoolize -f
autoreconf -if
# This line generates an error (no gnome-compiler-flags.m4?)
sed -i configure -e "/GNOME_COMPILE_WARNINGS(maximum)/d"
export CFLAGS+=" -I$PWD/telepathy-account-widgets"
}