databases/evolution-data-server: Make Vala bindings optional.

This commit is contained in:
Gleb Popov 2021-10-22 11:49:09 +03:00
parent 0cc019babe
commit 5749104741
2 changed files with 25 additions and 23 deletions

View file

@ -12,7 +12,6 @@ COMMENT= Data backends for the Evolution integrated mail/PIM suite
LICENSE= LGPL20
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= vapigen:lang/vala
LIB_DEPENDS= libsoup-2.4.so:devel/libsoup \
libfribidi.so:converters/fribidi \
libgcr-base-3.so:security/gcr \
@ -41,8 +40,7 @@ USE_XORG= x11
USE_LDCONFIG= yes
CPE_VENDOR= gnome
CMAKE_ARGS= -DENABLE_VALA_BINDINGS=ON \
-DENABLE_INTROSPECTION=ON \
CMAKE_ARGS= -DENABLE_INTROSPECTION=ON \
-DENABLE_UOA=OFF
CMAKE_ARGS+= -DWITH_LIBDB_CFLAGS=-I${LOCALBASE}/include/db5 \
@ -58,8 +56,8 @@ GLIB_SCHEMAS= org.gnome.evolution-data-server.addressbook.gschema.xml \
PLIST_SUB= EVO_VERSION="1.2"
OPTIONS_SUB= yes
OPTIONS_DEFINE= WEATHER KERBEROS LDAP
OPTIONS_DEFAULT=WEATHER KERBEROS LDAP
OPTIONS_DEFINE= WEATHER KERBEROS LDAP VALA
OPTIONS_DEFAULT=WEATHER KERBEROS LDAP VALA
KERBEROS_CMAKE_ON= -DWITH_KRB5=/usr
KERBEROS_CMAKE_OFF= -DWITH_KRB5=OFF
@ -69,6 +67,10 @@ LDAP_CMAKE_ON= -DWITH_OPENLDAP=${LOCALBASE}
LDAP_CMAKE_OFF= -DWITH_OPENLDAP=OFF
LDAP_USE= openldap=yes
VALA_DESC= Build Vala language bindings
VALA_BUILD_DEPENDS= vapigen:lang/vala
VALA_CMAKE_BOOL= ENABLE_VALA_BINDINGS
WEATHER_DESC= Weather calendar backend
WEATHER_LIB_DEPENDS= libgweather-3.so:net/libgweather
WEATHER_CMAKE_BOOL= ENABLE_WEATHER

View file

@ -546,21 +546,21 @@ share/pixmaps/evolution-data-server/category_status_16.png
share/pixmaps/evolution-data-server/category_strategies_16.png
share/pixmaps/evolution-data-server/category_suppliers_16.png
share/pixmaps/evolution-data-server/category_time-and-expenses_16.png
share/vala/vapi/camel-%%EVO_VERSION%%.deps
share/vala/vapi/camel-%%EVO_VERSION%%.vapi
share/vala/vapi/libebackend-%%EVO_VERSION%%.deps
share/vala/vapi/libebackend-%%EVO_VERSION%%.vapi
share/vala/vapi/libebook-%%EVO_VERSION%%.deps
share/vala/vapi/libebook-%%EVO_VERSION%%.vapi
share/vala/vapi/libebook-contacts-%%EVO_VERSION%%.deps
share/vala/vapi/libebook-contacts-%%EVO_VERSION%%.vapi
share/vala/vapi/libecal-2.0.deps
share/vala/vapi/libecal-2.0.vapi
share/vala/vapi/libedata-book-%%EVO_VERSION%%.deps
share/vala/vapi/libedata-book-%%EVO_VERSION%%.vapi
share/vala/vapi/libedata-cal-2.0.deps
share/vala/vapi/libedata-cal-2.0.vapi
share/vala/vapi/libedataserver-%%EVO_VERSION%%.deps
share/vala/vapi/libedataserver-%%EVO_VERSION%%.vapi
share/vala/vapi/libedataserverui-%%EVO_VERSION%%.deps
share/vala/vapi/libedataserverui-%%EVO_VERSION%%.vapi
%%VALA%%share/vala/vapi/camel-%%EVO_VERSION%%.deps
%%VALA%%share/vala/vapi/camel-%%EVO_VERSION%%.vapi
%%VALA%%share/vala/vapi/libebackend-%%EVO_VERSION%%.deps
%%VALA%%share/vala/vapi/libebackend-%%EVO_VERSION%%.vapi
%%VALA%%share/vala/vapi/libebook-%%EVO_VERSION%%.deps
%%VALA%%share/vala/vapi/libebook-%%EVO_VERSION%%.vapi
%%VALA%%share/vala/vapi/libebook-contacts-%%EVO_VERSION%%.deps
%%VALA%%share/vala/vapi/libebook-contacts-%%EVO_VERSION%%.vapi
%%VALA%%share/vala/vapi/libecal-2.0.deps
%%VALA%%share/vala/vapi/libecal-2.0.vapi
%%VALA%%share/vala/vapi/libedata-book-%%EVO_VERSION%%.deps
%%VALA%%share/vala/vapi/libedata-book-%%EVO_VERSION%%.vapi
%%VALA%%share/vala/vapi/libedata-cal-2.0.deps
%%VALA%%share/vala/vapi/libedata-cal-2.0.vapi
%%VALA%%share/vala/vapi/libedataserver-%%EVO_VERSION%%.deps
%%VALA%%share/vala/vapi/libedataserver-%%EVO_VERSION%%.vapi
%%VALA%%share/vala/vapi/libedataserverui-%%EVO_VERSION%%.deps
%%VALA%%share/vala/vapi/libedataserverui-%%EVO_VERSION%%.vapi