[gtk: 1/2] Specify version for optional librsvg dependency




commit f4a6a99b7c7fa1155d4380e71e8bbac391623597
Author: Andreas Persson <andreasp56 outlook com>
Date:   Thu Aug 6 11:59:17 2020 +0200

    Specify version for optional librsvg dependency
    
    The testsvg test uses a method in librsvg that was introduced in
    2.46.0. The test is now skipped if the librsvg version is too old.
    (It was previously already skipped if librsvg wasn't found.)

 tests/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tests/meson.build b/tests/meson.build
index c7a83bb7d1..fd5fd6905d 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -141,7 +141,7 @@ if get_option('profiler')
               dependencies: [profiler_dep, platform_gio_dep, libm])
 endif
 
-librsvg = dependency('librsvg-2.0', required: false)
+librsvg = dependency('librsvg-2.0', version: '>= 2.46.0', required: false)
 
 if librsvg.found()
   executable('testsvg', 'testsvg.c',


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