[gnome-software: 1/2] build: Use libsoup3 version of snapd-glib




commit 86dd3c457ba5d20dc3b78e2667389e4c7bdef633
Author: Robert Ancell <robert ancell canonical com>
Date:   Wed Aug 24 15:06:44 2022 +1200

    build: Use libsoup3 version of snapd-glib

 meson.build | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index f4e42e602..eab142201 100644
--- a/meson.build
+++ b/meson.build
@@ -252,7 +252,11 @@ if get_option('gudev')
 endif
 
 if get_option('snap')
-  snap = dependency('snapd-glib', version : '>= 1.50')
+  if get_option('soup2')
+    snap = dependency('snapd-glib', version : '>= 1.50')
+  else
+    snap = dependency('snapd-glib-2', version : '>= 1.62')
+  endif
 endif
 
 if get_option('hardcoded_foss_webapps') or get_option('hardcoded_proprietary_webapps')


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