# SPDX-License-Identifier: GPL-2.0-or-later # Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv) # Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv) PKG_NAME="xf86-input-libinput" PKG_VERSION="1.3.0" PKG_SHA256="1446ba20a22bc968b5a4a0b4dbc3b8e037c50d9c59ac75fa3f7fc506c58c1abb" PKG_LICENSE="MIT" PKG_SITE="https://www.freedesktop.org/wiki/Software/libinput/" PKG_URL="https://xorg.freedesktop.org/archive/individual/driver/${PKG_NAME}-${PKG_VERSION}.tar.xz" PKG_DEPENDS_TARGET="toolchain libinput xwayland" PKG_LONGDESC="This is an X driver based on libinput." PKG_TOOLCHAIN="autotools" PKG_CONFIGURE_OPTS_TARGET="--with-xorg-module-dir=${XORG_PATH_MODULES}" post_makeinstall_target() { mkdir -p ${INSTALL}/usr/share/X11/xorg.conf.d cp ${PKG_BUILD}/conf/*-libinput.conf ${INSTALL}/usr/share/X11/xorg.conf.d }