[grilo-plugins/wip/hadess/libsoup3-prep: 2/3] build: Disable libgdata dependent plugins when using libsoup3




commit c45092502b4ba1cf10c486977e579c7cfc992116
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Jul 5 16:18:30 2022 +0200

    build: Disable libgdata dependent plugins when using libsoup3
    
    As libgdata isn't ported to libsoup3 yet.
    
    See https://gitlab.gnome.org/GNOME/libgdata/-/merge_requests/28

 meson.build | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index b19094e4..f539cd2f 100644
--- a/meson.build
+++ b/meson.build
@@ -73,16 +73,17 @@ if libdmapsharing4_dep.found()
 else
     libdmapsharing_dep = dependency('libdmapsharing-3.0', version: '>= 2.9.12', required: false)
 endif
-libgdata_dep = dependency('libgdata', version: '>= 0.9.1', required: false)
 libmediaart_dep = dependency('libmediaart-2.0', required: false)
 if soup_api_version == '2.4'
   libsoup_dep = dependency('libsoup-2.4', required: false)
   libsoup24_dep = libsoup_dep
   libsoup30_dep = dependency('unresolvable-dep', required: false)
+  libgdata_dep = dependency('libgdata', version: '>= 0.9.1', required: false)
 else
   libsoup_dep = dependency('libsoup-3.0', required: false)
   libsoup30_dep = libsoup_dep
   libsoup24_dep = dependency('unresolvable-dep', required: false)
+  libgdata_dep = dependency('unresolvable-dep', required: false)
 endif
 libxml_dep = dependency('libxml-2.0', required: false)
 oauth_dep = dependency('oauth', required: false)


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