re-enable libevdev

This commit is contained in:
Leonid Pliushch 2019-02-04 20:29:26 +02:00 committed by Yaksh Bariya
parent d01f1af66d
commit 7d1ad1cd39
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581
2 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,12 @@
TERMUX_PKG_HOMEPAGE=https://www.freedesktop.org/wiki/Software/libevdev/
TERMUX_PKG_DESCRIPTION="Wrapper library for evdev devices"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com> @xeffyr"
TERMUX_PKG_VERSION=1.6.0
TERMUX_PKG_SRCURL=https://www.freedesktop.org/software/libevdev/libevdev-$TERMUX_PKG_VERSION.tar.xz
TERMUX_PKG_SHA256=f5005c865987d980cc1279b9ec6131b06a89fd9892f649f2a68262b8786ef814
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-test-run"
termux_step_pre_configure() {
autoreconf -i
}

View File

@ -0,0 +1,11 @@
+++ ./tools/Makefile.am 2018-06-15 15:24:28.611793003 +0300
@@ -1,9 +1,3 @@
-noinst_PROGRAMS = libevdev-events
-bin_PROGRAMS = \
- touchpad-edge-detector \
- mouse-dpi-tool \
- libevdev-tweak-device
-
AM_CPPFLAGS = $(GCC_CFLAGS) -I$(top_srcdir) -I$(top_srcdir)/include -I$(top_srcdir)/libevdev
libevdev_ldadd = $(top_builddir)/libevdev/libevdev.la