Commit 7fd81d0c authored by Niels De Graef's avatar Niels De Graef

meson: Don't use hardcoded dependency names

Use the name() method from the dependency objects themselves, which is
more foolproof in case of an update and makes sure we don't refer to
dependencies we shouldn't be using.
parent 5a633e69
Pipeline #76011 passed with stage
in 8 minutes and 58 seconds
......@@ -27,7 +27,7 @@ eds_backendlib_deps = [
# doesn't have native support (https://github.com/mesonbuild/meson/issues/894)
eds_backendlib_doc_deps = [
'--pkg', 'folks',
'--pkg', 'libebook-1.2',
'--pkg', libebook_dep.name(),
]
eds_backendlib_vala_flags = [
......
......@@ -23,8 +23,8 @@ libsocialweb_backendlib_deps = [
# FIXME: we need to set these manually for the valadoc target as long as meson
# doesn't have native support (https://github.com/mesonbuild/meson/issues/894)
libsocialweb_backendlib_doc_deps = [
'--pkg', 'libsocialweb-client',
'--pkg', 'folks',
'--pkg', libsocialweb_dep.name(),
]
libsocialweb_backendlib_vala_flags = [
......
......@@ -95,7 +95,7 @@ telepathy_backendlib_deps = [
telepathy_backendlib_doc_deps = [
'--pkg', 'folks',
'--pkg', 'tp-lowlevel', '--vapidir', meson.current_build_dir(),
'--pkg', 'telepathy-glib',
'--pkg', telepathy_glib_dep.name(),
]
if zeitgeist_enabled
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment