meson.build: replace get_pkgconfig_variable with get_variable 01/29001/2
authorDenys Dmytriyenko <denys@konsulko.com>
Wed, 7 Jun 2023 19:52:08 +0000 (19:52 +0000)
committerDenys Dmytriyenko <denys@konsulko.com>
Fri, 9 Jun 2023 22:51:20 +0000 (22:51 +0000)
commit5d4671ca8e09985471336eef7f6ecfaa79fd768e
tree211870e745f3d59bcfff89f25c3220bd42ae9432
parentc9ae3bc5a102caad6d8040cd268a64295654e162
meson.build: replace get_pkgconfig_variable with get_variable

Newer meson requires using get_variable(pkgconfig: ...) instead of
get_pkgconfig_variable() and results in this error:

| ../git/homescreen/meson.build:23: WARNING: Project targets '>= 0.60.0' but uses feature deprecated since '0.56.0': dependency.get_pkgconfig_variable. use dependency.get_variable(pkgconfig : ...) instead

Also, look for wayland-scanner program directly, instead of querying
pkgconfig, so it works properly with OE recipe-specific sysroot.

Bug-AGL: SPEC-4578

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Change-Id: I57abc17abea31883c9cc63419a0c2a868e262bba
homescreen/meson.build