mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-04 06:10:16 +03:00
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>
This commit is contained in:
committed by
Thomas Petazzoni
parent
ceeb3ff41e
commit
157974248f
@@ -10,14 +10,13 @@ LIBEVDEV_SOURCE = libevdev-$(LIBEVDEV_VERSION).tar.xz
|
||||
LIBEVDEV_LICENSE = X11
|
||||
LIBEVDEV_LICENSE_FILES = COPYING
|
||||
|
||||
# patch touches configure.ac
|
||||
LIBEVDEV_AUTORECONF = YES
|
||||
|
||||
# Uses PKG_CHECK_MODULES() in configure.ac
|
||||
LIBEVDEV_DEPENDENCIES = host-pkgconf host-python
|
||||
LIBEVDEV_DEPENDENCIES = $(BR2_PYTHON3_HOST_DEPENDENCY)
|
||||
|
||||
LIBEVDEV_INSTALL_STAGING = YES
|
||||
|
||||
LIBEVDEV_CONF_OPTS += --disable-runtime-tests
|
||||
LIBEVDEV_CONF_OPTS += \
|
||||
-Dtests=disabled \
|
||||
-Ddocumentation=disabled \
|
||||
-Dcoverity=false
|
||||
|
||||
$(eval $(autotools-package))
|
||||
$(eval $(meson-package))
|
||||
|
||||
Reference in New Issue
Block a user