Initial Commit

- initial default booting image
This commit is contained in:
2026-11-06 20:45:42 +01:00
commit b8783708ae
15201 changed files with 602532 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
config BR2_PACKAGE_LIBINPUT
bool "libinput"
depends on BR2_PACKAGE_HAS_LIBUDEV
select BR2_PACKAGE_LIBEVDEV
help
libinput is a library to handle input devices in Wayland
compositors and to provide a generic X.Org input driver.
It provides device detection, device handling, input device
event processing and abstraction so minimize the amount of
custom input code compositors need to provide the common
set of functionality that users expect.
http://freedesktop.org/wiki/Software/libinput/
if BR2_PACKAGE_LIBINPUT
config BR2_PACKAGE_LIBINPUT_PYTHON_TOOLS
bool "install python tools "
depends on BR2_PACKAGE_PYTHON3
select BR2_PACKAGE_PYTHON_LIBEVDEV # runtime
select BR2_PACKAGE_PYTHON_PYUDEV # runtime
select BR2_PACKAGE_PYTHON_PYYAML # runtime
help
Install python tools:
libinput-analyze-per-slot-delta,
libinput-analyze-recording,
libinput-analyze-touch-down-state,
libinput-measure-fuzz,
libinput-measure-touchpad-pressure,
libinput-measure-touchpad-size,
libinput-measure-touchpad-tap,
libinput-measure-touch-size,
libinput-replay
endif
comment "libinput needs libudev"
depends on !BR2_PACKAGE_HAS_LIBUDEV

View File

@@ -0,0 +1,5 @@
# Locally computed
sha256 01414457befc3d1c68a328ebe01eacec8e7077a4ff08e181f5659daf9f50930e libinput-1.31.3.tar.bz2
# License files
sha256 80de50b2022a840db044c56db804ca3565600a692c0714babface587acc6d1b0 COPYING

View File

@@ -0,0 +1,67 @@
################################################################################
#
# libinput
#
################################################################################
LIBINPUT_VERSION = 1.31.3
LIBINPUT_SOURCE = libinput-$(LIBINPUT_VERSION).tar.bz2
LIBINPUT_SITE = https://gitlab.freedesktop.org/libinput/libinput/-/archive/$(LIBINPUT_VERSION)
LIBINPUT_DEPENDENCIES = host-pkgconf libevdev libudev
LIBINPUT_INSTALL_STAGING = YES
LIBINPUT_LICENSE = MIT
LIBINPUT_LICENSE_FILES = COPYING
LIBINPUT_CPE_ID_VENDOR = freedesktop
# Tests need fork, so just disable them everywhere.
LIBINPUT_CONF_OPTS = -Dtests=false -Dlibwacom=false -Ddocumentation=false
ifeq ($(BR2_PACKAGE_LIBGTK3),y)
LIBINPUT_CONF_OPTS += -Ddebug-gui=true
LIBINPUT_DEPENDENCIES += libgtk3
ifeq ($(BR2_PACKAGE_WAYLAND),y)
LIBINPUT_DEPENDENCIES += wayland
endif
ifeq ($(BR2_PACKAGE_WAYLAND_PROTOCOLS),y)
LIBINPUT_DEPENDENCIES += wayland-protocols
endif
ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y)
LIBINPUT_DEPENDENCIES += xlib_libX11
endif
else
LIBINPUT_CONF_OPTS += -Ddebug-gui=false
endif
ifeq ($(BR2_PACKAGE_LUA_5_4),y)
LIBINPUT_CONF_OPTS += -Dlua-plugins=enabled
LIBINPUT_DEPENDENCIES += lua
else
LIBINPUT_CONF_OPTS += -Dlua-plugins=disabled
endif
ifeq ($(BR2_PACKAGE_MTDEV),y)
LIBINPUT_CONF_OPTS += -Dmtdev=true
LIBINPUT_DEPENDENCIES += mtdev
else
LIBINPUT_CONF_OPTS += -Dmtdev=false
endif
ifeq ($(BR2_PACKAGE_LIBINPUT_PYTHON_TOOLS),)
LIBINPUT_PYTHON_TOOLS = libinput-analyze-per-slot-delta \
libinput-analyze-recording \
libinput-analyze-touch-down-state \
libinput-measure-fuzz \
libinput-measure-touchpad-pressure \
libinput-measure-touchpad-size \
libinput-measure-touchpad-tap \
libinput-measure-touch-size \
libinput-replay
define LIBINPUT_REMOVE_UNNEEDED_FILES
$(foreach f,$(LIBINPUT_PYTHON_TOOLS), \
rm -f $(TARGET_DIR)/usr/libexec/libinput/$(f)
)
endef
LIBINPUT_POST_INSTALL_TARGET_HOOKS += LIBINPUT_REMOVE_UNNEEDED_FILES
endif
$(eval $(meson-package))