2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2007-08-12 13:34:03 +02:00
|
|
|
#
|
2009-02-18 15:16:38 +01:00
|
|
|
# tslib
|
2007-08-12 13:34:03 +02:00
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-06-06 01:53:25 +02:00
|
|
|
|
2018-09-06 11:35:50 +02:00
|
|
|
TSLIB_VERSION = 1.17
|
2015-03-09 23:14:51 +01:00
|
|
|
TSLIB_SITE = https://github.com/kergoth/tslib/releases/download/$(TSLIB_VERSION)
|
2017-01-14 21:17:29 +01:00
|
|
|
TSLIB_SOURCE = tslib-$(TSLIB_VERSION).tar.xz
|
2017-07-03 09:50:08 +02:00
|
|
|
TSLIB_LICENSE = GPL-2.0+ (programs), LGPL-2.1+ (libraries)
|
2012-12-07 01:29:23 +01:00
|
|
|
TSLIB_LICENSE_FILES = COPYING
|
|
|
|
|
2009-02-18 15:16:38 +01:00
|
|
|
TSLIB_INSTALL_STAGING = YES
|
2014-09-27 21:32:41 +02:00
|
|
|
TSLIB_INSTALL_STAGING_OPTS = DESTDIR=$(STAGING_DIR) LDFLAGS=-L$(STAGING_DIR)/usr/lib install
|
2007-08-12 13:34:03 +02:00
|
|
|
|
2017-02-09 06:55:04 +01:00
|
|
|
ifeq ($(BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6),)
|
|
|
|
TSLIB_CONF_OPTS += --disable-tools
|
|
|
|
endif
|
|
|
|
|
2017-06-07 09:01:00 +02:00
|
|
|
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 \
|
2017-11-12 01:40:02 +01:00
|
|
|
--enable-skip=static \
|
2018-01-11 15:46:51 +01:00
|
|
|
--enable-lowpass=static \
|
|
|
|
--enable-invert=static
|
2017-06-07 09:01:00 +02:00
|
|
|
endif
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|