From 93e78f66d877caa69c9be1057428e34b5aa11b48 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Wed, 29 Apr 2020 17:22:45 +0200 Subject: [PATCH] - libphonenumber support --- evolution-data-server.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/evolution-data-server.spec b/evolution-data-server.spec index 5621b25..9377600 100644 --- a/evolution-data-server.spec +++ b/evolution-data-server.spec @@ -5,6 +5,7 @@ %bcond_without kerberos5 # Kerberos5 support %bcond_without ldap # LDAP support %bcond_without goa # Gnome Online Accounts support +%bcond_without phonenumber # libphonenumber support for address books %bcond_without vala # Vala API %define basever 3.36 @@ -43,6 +44,7 @@ BuildRequires: libgdata-devel >= 0.15.1 BuildRequires: libgweather-devel >= 3.10 BuildRequires: libical-glib-devel >= 3.0.7 BuildRequires: libicu-devel +%{?with_phonenumber:BuildRequires: libphonenumber-devel} BuildRequires: libsecret-devel >= 0.5 BuildRequires: libsoup-devel >= 2.42.0 BuildRequires: libstdc++-devel >= 6:5.0 @@ -212,7 +214,8 @@ cd build %{cmake_on_off vala ENABLE_VALA_BINDINGS} \ %{cmake_on_off goa ENABLE_GOA} \ -DENABLE_SCHEMAS_COMPILE=OFF \ - -DENABLE_INTROSPECTION=ON + -DENABLE_INTROSPECTION=ON \ + %{?with_phonenumber:-DWITH_PHONENUMBER=ON} %{__make} -- 2.43.0