8624afbb83
As usual, https://github.com/kergoth/tslib/releases has the changelog summary. This release includes a new plugin "lowpass" that is being built by default; so we add that to the list of statically compiled in plugins for static builds. Signed-off-by: Martin Kepplinger <martink@posteo.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
34 lines
938 B
Makefile
34 lines
938 B
Makefile
################################################################################
|
|
#
|
|
# tslib
|
|
#
|
|
################################################################################
|
|
|
|
TSLIB_VERSION = 1.14
|
|
TSLIB_SITE = https://github.com/kergoth/tslib/releases/download/$(TSLIB_VERSION)
|
|
TSLIB_SOURCE = tslib-$(TSLIB_VERSION).tar.xz
|
|
TSLIB_LICENSE = GPL-2.0+ (programs), LGPL-2.1+ (libraries)
|
|
TSLIB_LICENSE_FILES = COPYING
|
|
|
|
TSLIB_INSTALL_STAGING = YES
|
|
TSLIB_INSTALL_STAGING_OPTS = DESTDIR=$(STAGING_DIR) LDFLAGS=-L$(STAGING_DIR)/usr/lib install
|
|
|
|
ifeq ($(BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6),)
|
|
TSLIB_CONF_OPTS += --disable-tools
|
|
endif
|
|
|
|
ifeq ($(BR2_STATIC_LIBS),y)
|
|
TSLIB_CONF_OPTS += \
|
|
--enable-input=static \
|
|
--enable-linear=static \
|
|
--enable-median=static \
|
|
--enable-pthres=static \
|
|
--enable-iir=static \
|
|
--enable-dejitter=static \
|
|
--enable-debounce=static \
|
|
--enable-skip=static \
|
|
--enable-lowpass=static
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|