[geocode-glib/wip/hadess/api-version: 1/3] build: Install soup3 build as API version 2.0




commit 160b3aa66db05214e2952a53e6328dbc78b4acfe
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Jun 30 11:38:51 2022 +0200

    build: Install soup3 build as API version 2.0

 meson.build | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index a87603b..3dc7974 100644
--- a/meson.build
+++ b/meson.build
@@ -7,7 +7,11 @@ gclib_major_version = ver_arr[0]
 gclib_minor_version = ver_arr[1]
 gclib_micro_version = ver_arr[2]
 
-gclib_api_version='1.0'
+if get_option('soup2')
+  gclib_api_version='1.0'
+else
+  gclib_api_version='2.0'
+endif
 
 conf = configuration_data()
 conf.set_quoted('VERSION', gclib_version)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]