package/libevdev: convert to meson
authorPeter Seiderer <ps.report@gmx.net>
Mon, 2 Mar 2020 15:09:07 +0000 (16:09 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 5 Mar 2020 22:09:24 +0000 (23:09 +0100)
commit157974248fca21c485050fb52dd30e70cd328bd5
tree17ff74d5c1982bbad1162bb256f281f557f99fac
parentceeb3ff41e001b2d3516ba7783bf6dce18087aea
package/libevdev: convert to meson

- drop legacy patch 0001-configure-add-disable-runtime-tests-option.patch
  and use -Dtests=disabled instead

- drop host-pkgconf dependency as pkgconf is only used in case tests
  are enabled to find the check package (checked via meson output -
  no 'Found pkg-config' - and via strace)

- update host-python dependency to host-python3 as the script
  libevdev/make-event-names.py which is used to generate the
  header file event-names.h is updated to python3:
  '#!/usr/bin/env python3'
  This made no difference with autotools build as the script
  was called with '$(PYTHON) libevdev/make-event-names.py'.

  We use BR2_PYTHON3_HOST_DEPENDENCY instead of depending on
  host-python3, to use any available Python 3.x interpreter on the
  build machine instead of building our own, if possible.

- add patch to fix tools compile with older toolchains adding
  the local include path (only the meson build is affected)

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/libevdev/0001-configure-add-disable-runtime-tests-option.patch [deleted file]
package/libevdev/0001-meson.build-use-local-include-path-for-tools.patch [new file with mode: 0644]
package/libevdev/libevdev.mk