initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
config BR2_PACKAGE_LIBINPUT
|
||||
bool "libinput"
|
||||
depends on BR2_PACKAGE_HAS_UDEV
|
||||
select BR2_PACKAGE_LIBEVDEV
|
||||
select BR2_PACKAGE_MTDEV
|
||||
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/
|
||||
|
||||
comment "libinput needs udev /dev management"
|
||||
depends on !BR2_PACKAGE_HAS_UDEV
|
||||
@@ -0,0 +1,6 @@
|
||||
# From https://lists.freedesktop.org/archives/wayland-devel/2021-October/042003.html
|
||||
sha256 0fc39f0af3ee1a77c60c34bc45391a4d0879169f7c0f7bbbeb5eef590b98b883 libinput-1.19.2.tar.xz
|
||||
sha512 fc5244dc90ceb710f7b5bb76a3cafc7dd5a8d5fa05c51122412615bfc3a99435d6a1017b79c3ce73561139fc2f5959acaf16cb9500796ea2f3eb6cb95d1a1acb libinput-1.19.2.tar.xz
|
||||
|
||||
# License files
|
||||
sha256 80de50b2022a840db044c56db804ca3565600a692c0714babface587acc6d1b0 COPYING
|
||||
@@ -0,0 +1,33 @@
|
||||
################################################################################
|
||||
#
|
||||
# libinput
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBINPUT_VERSION = 1.19.2
|
||||
LIBINPUT_SOURCE = libinput-$(LIBINPUT_VERSION).tar.xz
|
||||
LIBINPUT_SITE = http://www.freedesktop.org/software/libinput
|
||||
LIBINPUT_DEPENDENCIES = host-pkgconf libevdev mtdev udev
|
||||
LIBINPUT_INSTALL_STAGING = YES
|
||||
LIBINPUT_LICENSE = MIT
|
||||
LIBINPUT_LICENSE_FILES = COPYING
|
||||
# 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
|
||||
|
||||
$(eval $(meson-package))
|
||||
Reference in New Issue
Block a user