[gnome-music/sam/grilo-subproject: 30/30] build: Allow building grilo and grilo-plugins as Meson subprojects



commit 8460995a20c3d65c2303e0316326439edbf0c336
Author: Sam Thursfield <sam afuera me uk>
Date:   Sun Oct 6 21:05:35 2019 +0200

    build: Allow building grilo and grilo-plugins as Meson subprojects
    
    This change makes it easier to build and test gnome-music on systems
    which have old versions of Grilo installed. Meson will now automatically
    clone and build the latest Git versions of grilo and grilo-plugins if
    the system-installed versions are too old.
    
    Distributors can disable this behaviour by passing
    `--wrap-mode=nodownload` at configure time.

 meson.build | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/meson.build b/meson.build
index bb147bdc..46da0f58 100644
--- a/meson.build
+++ b/meson.build
@@ -45,8 +45,8 @@ dependency('libsoup-2.4')
 dependency('tracker-sparql-2.0', version: '>= 2.3.0')
 dependency('pygobject-3.0', version: '>= 3.29.1')
 dependency('py3cairo', version: '>= 1.14.0')
-dependency('grilo-0.3', version: '>= 0.3.9')
-dependency('grilo-plugins-0.3', version: '>= 0.3.10')
+dependency('grilo-0.3', version: '>= 0.3.9', fallback: ['grilo', 'libgrl_dep'])
+dependency('grilo-plugins-0.3', version: '>= 0.3.10', fallback: ['grilo-plugins', 'grilo_plugins_dep'])
 
 subproject('libgd',
     default_options: [


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