9cddb7bd56
- change site URL to new gitlab.freedesktop.org location - change hash from upstream provided to locally computed (and drop sha512) For details see [1] and [2]. [1] https://lists.freedesktop.org/archives/wayland-devel/2022-February/042111.html [2] https://gitlab.freedesktop.org/libinput/libinput/-/releases/1.20.0 Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
34 lines
1.0 KiB
Makefile
34 lines
1.0 KiB
Makefile
################################################################################
|
|
#
|
|
# libinput
|
|
#
|
|
################################################################################
|
|
|
|
LIBINPUT_VERSION = 1.20.0
|
|
LIBINPUT_SOURCE = libinput-$(LIBINPUT_VERSION).tar.bz2
|
|
LIBINPUT_SITE = https://gitlab.freedesktop.org/libinput/libinput/-/archive/$(LIBINPUT_VERSION)
|
|
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))
|