mirror of
https://github.com/PartialVolume/shredos.x86_64.git
synced 2026-02-26 20:42:11 +00:00
lirc-tools: bump to version 0.10.1
Drop upstream patch. Add an upstream patch fixing build without python. Add two more patches (one of them upstream) fixing cross compile of the python client library. Enable devinput and uinput unconditionally to suppress non cross compile compatible host checks. Set DEVINPUT_HEADER to target header of input events to avoid use of host header. Add python3 as optional dependency. Cc: Rhys Williams <github@wilberforce.co.nz> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
b860bd83b2
commit
64043653cb
@@ -4,16 +4,26 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIRC_TOOLS_VERSION = 0.9.4d
|
||||
LIRC_TOOLS_VERSION = 0.10.1
|
||||
LIRC_TOOLS_SOURCE = lirc-$(LIRC_TOOLS_VERSION).tar.bz2
|
||||
LIRC_TOOLS_SITE = http://downloads.sourceforge.net/project/lirc/LIRC/$(LIRC_TOOLS_VERSION)
|
||||
LIRC_TOOLS_LICENSE = GPL-2.0+
|
||||
LIRC_TOOLS_LICENSE_FILES = COPYING
|
||||
LIRC_TOOLS_DEPENDENCIES = host-libxslt host-pkgconf host-python3
|
||||
LIRC_TOOLS_INSTALL_STAGING = YES
|
||||
# Patching configure.ac and Makefile.am
|
||||
LIRC_TOOLS_AUTORECONF = YES
|
||||
|
||||
LIRC_TOOLS_CONF_ENV = XSLTPROC=yes HAVE_WORKING_POLL=yes
|
||||
LIRC_TOOLS_CONF_OPTS = --without-x
|
||||
LIRC_TOOLS_CONF_OPTS = --without-x --enable-devinput --enable-uinput
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4),y)
|
||||
LIRC_TOOLS_CONF_ENV += \
|
||||
DEVINPUT_HEADER=$(STAGING_DIR)/usr/include/linux/input-event-codes.h
|
||||
else
|
||||
LIRC_TOOLS_CONF_ENV += \
|
||||
DEVINPUT_HEADER=$(STAGING_DIR)/usr/include/linux/input.h
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
|
||||
LIRC_TOOLS_DEPENDENCIES += udev
|
||||
@@ -35,6 +45,11 @@ ifeq ($(BR2_PACKAGE_LIBFTDI1),y)
|
||||
LIRC_TOOLS_DEPENDENCIES += libftdi1
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PYTHON3),y)
|
||||
LIRC_TOOLS_DEPENDENCIES += python3 host-python-setuptools
|
||||
LIRC_TOOLS_MAKE_ENV += SETUPTOOLS_ENV="$(PKG_PYTHON_SETUPTOOLS_ENV)"
|
||||
endif
|
||||
|
||||
define LIRC_TOOLS_INSTALL_INIT_SYSV
|
||||
$(INSTALL) -D -m 0755 package/lirc-tools/S25lircd \
|
||||
$(TARGET_DIR)/etc/init.d/S25lircd
|
||||
|
||||
Reference in New Issue
Block a user