[gthumb] Fails to build when passing -Dgstreamer=false



commit 3ae5cfff69f8ab28a7219b85405dba7edf69b180
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Sun Feb 24 08:57:45 2019 +0100

    Fails to build when passing -Dgstreamer=false
    
    Fixes: https://gitlab.gnome.org/GNOME/gthumb/issues/35

 extensions/contact_sheet/meson.build | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/extensions/contact_sheet/meson.build b/extensions/contact_sheet/meson.build
index 72f2429b..b0d559ab 100644
--- a/extensions/contact_sheet/meson.build
+++ b/extensions/contact_sheet/meson.build
@@ -24,7 +24,10 @@ source_files = files(
 
 shared_module('contact_sheet',
   sources : [ source_files, enum_files ],
-  dependencies : [ extension_common_deps, gstreamer_deps ],
+  dependencies : [
+    extension_common_deps,
+    use_gstreamer ? gstreamer_deps : [],
+  ],
   include_directories : [ config_inc, gthumb_inc ],
   c_args : c_args,
   link_with: [ image_rotation_mod, export_tools_mod ],


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