[gtksourceview: 2/5] Add meson dependency override




commit ce1eb81672f0af868a2f7aa1e430d82aeb480f3f
Author: Tristan Partin <tristan partin io>
Date:   Tue Oct 19 00:54:40 2021 -0500

    Add meson dependency override
    
    This assists projects when using gtksourceview as a subproject. This is
    a semi-new paradigm when using provide.dependency_names in wrap files.

 gtksourceview/meson.build | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/gtksourceview/meson.build b/gtksourceview/meson.build
index 090f7a9c..c6dc5bbf 100644
--- a/gtksourceview/meson.build
+++ b/gtksourceview/meson.build
@@ -328,6 +328,8 @@ gtksource_dep = declare_dependency(
               sources: gtksource_dep_sources,
 )
 
+meson.override_dependency(package_string, gtksource_dep)
+
 gtksource_pc_reqs = [
   'glib-2.0 @0@'.format(glib_req),
   'gobject-2.0 @0@'.format(glib_req),


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