e243a5102a
Kodi Helix depends on libcec >= 2.2.0 Removed libcec-0001-Fix-unregistering-a-callback-that-wasn-t-register.patch applied upstream: https://github.com/Pulse-Eight/libcec/commit/485660f Renamed remaining patch according to new naming convention. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
35 lines
915 B
Makefile
35 lines
915 B
Makefile
################################################################################
|
|
#
|
|
# libcec
|
|
#
|
|
################################################################################
|
|
|
|
LIBCEC_VERSION = libcec-2.2.0-repack
|
|
LIBCEC_SITE = $(call github,Pulse-Eight,libcec,$(LIBCEC_VERSION))
|
|
LIBCEC_LICENSE = GPLv2+
|
|
LIBCEC_LICENSE_FILES = COPYING
|
|
|
|
# Autoreconf required due to being a dev tarball and not a release tarball.
|
|
LIBCEC_AUTORECONF = YES
|
|
LIBCEC_INSTALL_STAGING = YES
|
|
LIBCEC_DEPENDENCIES = host-pkgconf
|
|
|
|
ifeq ($(BR2_PACKAGE_LOCKDEV),y)
|
|
LIBCEC_DEPENDENCIES += lockdev
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
|
|
LIBCEC_DEPENDENCIES += udev
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_RPI_USERLAND),y)
|
|
LIBCEC_CONF_OPTS = --enable-rpi \
|
|
--with-rpi-include-path=$(STAGING_DIR)/usr/include
|
|
LIBCEC_DEPENDENCIES += rpi-userland
|
|
LIBCEC_CONF_ENV += LIBS="-lvcos -lvchostif"
|
|
else
|
|
LIBCEC_CONF_OPTS = --disable-rpi
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|