Commit Graph

8 Commits

Author SHA1 Message Date
Dylan Baker 0bf66ff02c modules/wayland: Add full type checking 2022-07-17 12:58:17 -04:00
Xavier Claessens 0aeb61bd52 wayland: Lookup for wayland-scanner using pkgconfig
Just like some of glib tools, wayland-scanner can be defined in the
pkgconfig dependency variables. Share code between gnome and wayland
modules into ModuleState.
2022-06-10 00:48:25 -04:00
Xavier Claessens c649a2b8c5 wayland: Make sure wayland-scanner has same version as wayland libraries 2022-04-13 21:40:59 +03:00
Eli Schwartz e5aa47d8af Revert "wayland: Also lookup scanner in pkgconfig"
This reverts commit 7954a4c9cb.
2022-04-07 23:44:34 -04:00
Xavier Claessens 7954a4c9cb wayland: Also lookup scanner in pkgconfig
This moves generally useful logic from GNOME module's
_get_native_binary() into find_program() implementation. We could decide
later to expose it as public API.
2022-04-04 09:17:34 -04:00
Xavier Claessens e33ec88ac7 Pass environment down to base Target class 2022-03-29 16:10:28 -04:00
Xavier Claessens e80a9c2cba wayland module: Allow building both client and server sides
- Change `scope` kwarg to `public` boolean default to false.
- Change `side`  kwarg to `client` and `server` booleans.
- Document returned values
- Aggregate in a single unit test because have lots of small tests
  increases CI time.

Fixes: #10040.
2022-03-06 06:31:43 -05:00
Mark Bolhuis 5a4177523e modules/wayland: Add unstable_wayland module 2022-02-27 14:33:33 -05:00