From: Jakub Bogusz Date: Wed, 29 Apr 2020 15:22:45 +0000 (+0200) Subject: - libphonenumber support X-Git-Tag: auto/th/evolution-data-server-3.36.2-1 X-Git-Url: https://git.pld-linux.org/?p=packages%2Fevolution-data-server.git;a=commitdiff_plain;h=93e78f6 - libphonenumber support --- 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}