gnome-online-accounts: fix cross build.

This commit is contained in:
Enno Boland 2015-10-13 15:00:57 +02:00
parent 66cdb281f1
commit 0c4c4e71cb
1 changed files with 7 additions and 2 deletions

View File

@ -1,14 +1,14 @@
# Template file for 'gnome-online-accounts'
pkgname=gnome-online-accounts
version=3.18.0
revision=1
revision=2
build_style=gnu-configure
configure_args="
--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)"
$(vopt_if gir gobject-introspection) 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"
@ -24,6 +24,11 @@ if [ -z "$CROSS_BUILD" ]; then
build_options_default+=" gir"
fi
pre_configure() {
libtoolize -f
export CFLAGS+=" -I$PWD/telepathy-account-widgets"
}
gnome-online-accounts-devel_package() {
depends="libglib-devel gtk+3-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"