2013-05-08 20:55:27 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libcec
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
LIBCEC_VERSION = libcec-2.1.1
|
|
|
|
LIBCEC_SITE = http://github.com/Pulse-Eight/libcec/tarball/$(LIBCEC_VERSION)
|
|
|
|
LIBCEC_LICENSE = GPLv2+
|
2013-08-02 10:57:31 +02:00
|
|
|
LIBCEC_LICENSE_FILES = COPYING
|
2013-05-08 20:55:27 +02:00
|
|
|
|
|
|
|
# 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_UDEV),y)
|
|
|
|
LIBCEC_DEPENDENCIES += udev
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_RPI_USERLAND),y)
|
|
|
|
LIBCEC_CONF_OPT = --enable-rpi \
|
|
|
|
--with-rpi-include-path=$(STAGING_DIR)/usr/include
|
|
|
|
LIBCEC_DEPENDENCIES += rpi-userland
|
|
|
|
else
|
|
|
|
LIBCEC_CONF_OPT = --disable-rpi
|
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|