Add buildroot 2018-02
This commit is contained in:
6
buildroot/package/tslib/Config.in
Normal file
6
buildroot/package/tslib/Config.in
Normal file
@@ -0,0 +1,6 @@
|
||||
config BR2_PACKAGE_TSLIB
|
||||
bool "tslib"
|
||||
help
|
||||
Tslib is a filtering layer for touchscreen panel events.
|
||||
|
||||
http://tslib.org
|
||||
5
buildroot/package/tslib/tslib.hash
Normal file
5
buildroot/package/tslib/tslib.hash
Normal file
@@ -0,0 +1,5 @@
|
||||
# https://github.com/kergoth/tslib/releases/download/1.15/tslib-1.15.tar.xz.sha256
|
||||
sha256 7ce48807cab655076d71a1ceef3ed0ab8a25df98074981d4a8fd1477ee5f710c tslib-1.15.tar.xz
|
||||
|
||||
# Locally computed
|
||||
sha256 9b872a8a070b8ad329c4bd380fb1bf0000f564c75023ec8e1e6803f15364b9e9 COPYING
|
||||
34
buildroot/package/tslib/tslib.mk
Normal file
34
buildroot/package/tslib/tslib.mk
Normal file
@@ -0,0 +1,34 @@
|
||||
################################################################################
|
||||
#
|
||||
# tslib
|
||||
#
|
||||
################################################################################
|
||||
|
||||
TSLIB_VERSION = 1.15
|
||||
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 \
|
||||
--enable-invert=static
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user