package/wayland-protocols: fix build without host-wayland
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sun, 19 Sep 2021 09:39:01 +0000 (11:39 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sun, 19 Sep 2021 11:24:21 +0000 (13:24 +0200)
commit0fa1f5222b29b7d148e94f906305a46b417fc00f
tree5067da7aeda226eec4c00425cbbed0d6b4b2a7bc
parent536e209ccaec94b4289d09060e2c8e05696bd0fe
package/wayland-protocols: fix build without host-wayland

Don't require wayland-scanner if tests are disabled to avoid the
following build failure raised since bump to version 1.23 in commit
7eedc9cc1e0c3cce1c18cb150157cb2346075b23:

Build-time dependency wayland-scanner found: NO (tried pkgconfig and cmake)

../output-1/build/wayland-protocols-1.23/meson.build:11:0: ERROR: Dependency "wayland-scanner" not found, tried pkgconfig and cmake

Fixes:
 - http://autobuild.buildroot.org/results/2744e50465a9cd9d3726d23298ad6c943ef49a21

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/wayland-protocols/0001-meson.build-wayland-scanner-is-only-needed-for-tests.patch [new file with mode: 0644]