~kennylevinsen/public-inbox

seatd: meson: declare libseat dependency v1 APPLIED

Simon Ser: 1
 meson: declare libseat dependency

 1 files changed, 6 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/public-inbox/patches/21483/mbox | git am -3
Learn more about email & git

[PATCH seatd] meson: declare libseat dependency Export this patch

This can be used by parent projects when seatd is a subproject:

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

diff --git a/meson.build b/meson.build
index c3800aed24ee..482f8777d8c9 100644
--- a/meson.build
+++ b/meson.build
@@ -164,6 +164,12 @@ pkgconfig.generate(lib,
	description: 'Seat management library',
)

libseat = declare_dependency(
	link_with: lib,
	dependencies: private_deps,
	include_directories: include_directories('include', is_system: true),
)

if get_option('server').enabled()
	executable(
		'seatd',
-- 
2.31.0
Applied, thanks!