evolution: fix cross by ENABLE_WEATHER=OFF

Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
Jürgen Buchmüller 2018-04-24 06:24:07 +02:00
parent 963de4de8e
commit a238ce2255
No known key found for this signature in database
GPG key ID: 6764EC32352D0647

View file

@ -4,12 +4,13 @@ version=3.28.1
revision=1
build_style=cmake
configure_args="-DENABLE_AUTOAR=OFF -DENABLE_LIBCRYPTUI=OFF -DENABLE_GTKSPELL=OFF
-DENABLE_TEXT_HIGHLIGHT=OFF -DENABLE_PST_IMPORT=OFF"
-DENABLE_TEXT_HIGHLIGHT=OFF -DENABLE_PST_IMPORT=OFF
-DENABLE_WEATHER=$(vopt_if gir ON OFF)"
hostmakedepends="gnome-doc-utils gobject-introspection intltool itstool
pkg-config"
makedepends="GConf-devel NetworkManager-devel clutter-gtk-devel enchant-devel
evolution-data-server-devel gnome-desktop-devel gtkhtml-devel libcanberra-devel
libgweather-devel libnotify-devel webkit2gtk-devel ytnef-devel"
$(vopt_if gir libgweather-devel) libnotify-devel webkit2gtk-devel ytnef-devel"
depends="gnome-icon-theme gnome-keyring gtkhtml"
short_desc="Integrated mail, addressbook and calendaring for GNOME"
maintainer="Enno Boland <gottox@voidlinux.eu>"
@ -20,7 +21,10 @@ checksum=144967e51a1781626e542f7abc360a926059146ae957af3271e5d32d1e2dbb69
shlib_provides="libevolution-calendar.so libevolution-util.so libemail-engine.so
libevolution-mail.so libevolution-shell.so"
if [ -n "$CROSS_BUILD" ]; then
build_options="gir"
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
else
hostmakedepends+=" glib-devel"
configure_args+=" -D_correct_iconv_EXITCODE=0"
fi