[evince/wip/gpoo/reduce-scop-nautilus-extension] build: Narrow the version to enable nautilus plugin




commit 54910f81b1c9a885e2c79041ee9b213dafdefccc
Author: Germán Poo-Caamaño <gpoo gnome org>
Date:   Sun Jul 17 12:51:25 2022 -0400

    build: Narrow the version to enable nautilus plugin
    
    Since version 43, nautilus extension breaks the API and depends on
    gtk4. Therefore, we build the evince extension for nautilus only
    if the version is older. Assume 42.20 is a upper top.
    
    Fixes #1822

 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index b5dbea53a..986689a45 100644
--- a/meson.build
+++ b/meson.build
@@ -195,7 +195,7 @@ if ev_platform == 'gnome'
   # *** Nautilus property page build ***
   enable_nautilus = get_option('nautilus')
   if enable_nautilus
-    libnautilus_extension_dep = dependency('libnautilus-extension', version: '>= 3.28.0')
+    libnautilus_extension_dep = dependency('libnautilus-extension', version: ['>= 3.28.0', '< 42.20'])
     nautilus_extension_dir = libnautilus_extension_dep.get_pkgconfig_variable('extensiondir', 
define_variable: ['libdir', ev_libdir])
   endif
 


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