build: use meson.override_dependency v1 APPLIED

Simon Ser: 1
 build: use meson.override_dependency

 1 files changed, 2 insertions(+), 0 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~kennylevinsen/seatd-devel/patches/27387/mbox | git am -3
Learn more about email & git

[PATCH] build: use meson.override_dependency Export this patch

This allows downstream users to write:

    dependency('libseat', fallback: 'seatd')

instead of having to rely on the seatd/meson.build's variable name:

    dependency('libseat', fallback: ['seatd', 'libseat'])
 meson.build | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meson.build b/meson.build
index c3132943876b..960c3b6f8f6b 100644
--- a/meson.build
+++ b/meson.build
@@ -200,6 +200,8 @@ libseat = declare_dependency(
	variables: libseat_vars,

meson.override_dependency('libseat', libseat)

if with_server

base-commit: f381e22955d9bcffd1c47c70626f22972e5af1db
Applied, thanks!