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



commit cd4ce6ff7cec1fe427996483951a66910dcf53e9
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 52e33d51..0cf8daf5 100644
--- a/meson.build
+++ b/meson.build
@@ -45,8 +45,8 @@ dependency('libsoup-2.4')
 dependency('tracker-sparql-2.0', version: '>= 2.2.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.9')
+dependency('grilo-0.3', version: '>= 0.3.9', fallback: ['grilo', 'libgrl_dep'])
+dependency('grilo-plugins-0.3', version: '>= 0.3.9', fallback: ['grilo-plugins', 'grilo_plugins_dep'])
 
 subproject('libgd',
     default_options: [


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