[grilo-plugins/sam/dummy-dep: 161/161] build: Make it possible to use grilo-plugins as a Meson subproject




commit d5660fd4d58f083fe2bfa30c6ca3418389f9eefa
Author: Sam Thursfield <sam afuera me uk>
Date:   Sun Oct 6 21:04:48 2019 +0200

    build: Make it possible to use grilo-plugins as a Meson subproject
    
    This commit adds a dummy declare_dependency() object. This is needed
    so that other projects can embed grilo-plugins as a Meson subproject,
    like this:
    
        dependency('grilo-plugins-0.3', version: '>= 0.3.9',
                   fallback: ['grilo-plugins', 'grilo_plugins_dep']

 meson.build | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/meson.build b/meson.build
index e6614f39..ef280c95 100644
--- a/meson.build
+++ b/meson.build
@@ -195,3 +195,7 @@ subdir('src')
 subdir('help')
 subdir('po')
 subdir('tests')
+
+# This is a dummy dependency for use when grilo-plugins is built as a Meson
+# subproject.
+grilo_plugins_dep = declare_dependency()


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