evolution-data-server: Add PACKAGECONFIGs for oauth2 and kerberos.

Dependencies for both features are present in either oe-core oe
meta-openembedded meta layer. Both features build and work without any
additional modifications.

Signed-off-by: Piotr Tworek <tworaz@tworaz.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Piotr Tworek
2019-08-22 19:17:13 +02:00
committed by Khem Raj
parent 3308d4a2f7
commit 1b2013ca07
@@ -30,10 +30,8 @@ LKSTRFTIME = "HAVE_LKSTRFTIME=ON"
LKSTRFTIME_libc-musl = "HAVE_LKSTRFTIME=OFF"
EXTRA_OECMAKE = " \
-DWITH_KRB5=OFF \
-DENABLE_GOA=OFF \
-DENABLE_UOA=OFF \
-DENABLE_GOOGLE_AUTH=OFF \
-DENABLE_WEATHER=OFF \
-D${LKSTRFTIME} \
-DSYSCONF_INSTALL_DIR=${sysconfdir} \
@@ -42,6 +40,8 @@ EXTRA_OECMAKE = " \
PACKAGECONFIG ??= ""
PACKAGECONFIG[openldap] = "-DWITH_OPENLDAP=ON,-DWITH_OPENLDAP=OFF,openldap"
PACKAGECONFIG[oauth2] = "-DENABLE_OAUTH2=ON,-DENABLE_OAUTH2=OFF,json-glib webkitgtk"
PACKAGECONFIG[mitkrb5] = "-DWITH_KRB5=ON,-DWITH_KRB5=OFF,krb5"
# -ldb needs this on some platforms
LDFLAGS += "-lpthread -lgmodule-2.0 -lgthread-2.0"