subprojects: fix wraps
Fixed the missing two wrap files; also simplified meson deps via
`[provide]`.
1. libgpiod; installed from WrapDB; reference:
[1] https://mesonbuild.com/Wrapdb-projects.html
This is also alligned with Yocto; reference:
[1] https://github.com/openbmc/openbmc/blob/78b727985e7571e0b196561e44427690f04d57d9/meta-openembedded/meta-oe/recipes-support/libgpiod/libgpiod_1.6.3.bb
2. sdbusplus
Tested: builds on systems without the two dependencies where meson
automatically downloads them
Signed-off-by: Nan Zhou <nanzhoumails@gmail.com>
Change-Id: I81305c3f399fbe437cc8e32015e074eff93078bc
diff --git a/meson.build b/meson.build
index c1cc9b8..24403ad 100644
--- a/meson.build
+++ b/meson.build
@@ -34,11 +34,10 @@
endif
deps = [
- dependency('libgpiodcxx', fallback: ['libgpiod', 'gpiodcxx_dep'], default_options: ['bindings=cxx']),
+ dependency('libgpiodcxx', default_options: ['bindings=cxx']),
dependency('systemd'),
- dependency('sdbusplus', fallback: ['sdbusplus', 'sdbusplus_dep']),
- dependency('phosphor-logging', fallback: ['phosphor-logging', 'phosphor_logging_dep']),
-
+ dependency('sdbusplus'),
+ dependency('phosphor-logging'),
]
executable(