- libphonenumber support auto/th/evolution-data-server-3.36.2-1
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 29 Apr 2020 15:22:45 +0000 (17:22 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Wed, 29 Apr 2020 15:22:45 +0000 (17:22 +0200)
evolution-data-server.spec

index 5621b25fba8527dd0c0568e7142c42a946f729d9..937760094224c8126e8ce71326daa52be794069a 100644 (file)
@@ -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}
 
This page took 1.870955 seconds and 4 git commands to generate.