diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2022-12-18 09:11:15 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2022-12-18 09:11:15 +0530 |
commit | 0797d89ad75f4a843291aaa2c6d2ad5c7a156a81 (patch) | |
tree | ff0366644cfbdc861f74f218adf523a475937480 /gdk-pixbuf/gdk-pixbuf-private.h | |
parent | da8aa8352adff2836b1aba5f8a291e5b6e27dd1b (diff) | |
download | gdk-pixbuf-0797d89ad75f4a843291aaa2c6d2ad5c7a156a81.tar.gz |
meson: Override dependencies to improve usage as a subproject
With this change, gdk-pixbuf can be consumed as a subproject without
making any changes to the build files of a project. All you need to do
is provide a wrap file with a `[provide]` section:
https://mesonbuild.com/Wrap-dependency-system-manual.html#provide-section
This is also necessary because otherwise projects need to hard-code
the subproject name, which might be `gdk-pixbuf` when using `wrap-git`
or `gdk-pixbuf-2.42.10` when using `wrap-file` (to build from
a release tarball). This can cause conflicts between different
subprojects that consume gdk-pixbuf differently.
Other projects like glib, cairo, pango, etc already do this.
Diffstat (limited to 'gdk-pixbuf/gdk-pixbuf-private.h')
0 files changed, 0 insertions, 0 deletions