2013-05-08 20:55:27 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libcec
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2014-05-08 10:59:42 +02:00
|
|
|
LIBCEC_VERSION = libcec-2.1.4-repack
|
2013-12-05 18:20:46 +01:00
|
|
|
LIBCEC_SITE = $(call github,Pulse-Eight,libcec,$(LIBCEC_VERSION))
|
2013-05-08 20:55:27 +02:00
|
|
|
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
|
|
|
|
|
2014-02-07 14:21:33 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
|
2013-05-08 20:55:27 +02:00
|
|
|
LIBCEC_DEPENDENCIES += udev
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_RPI_USERLAND),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
LIBCEC_CONF_OPTS = --enable-rpi \
|
2014-10-24 07:57:37 +02:00
|
|
|
--with-rpi-include-path=$(STAGING_DIR)/usr/include
|
2013-05-08 20:55:27 +02:00
|
|
|
LIBCEC_DEPENDENCIES += rpi-userland
|
2014-06-05 01:04:10 +02:00
|
|
|
LIBCEC_CONF_ENV += LIBS="-lvcos -lvchostif"
|
2013-05-08 20:55:27 +02:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
LIBCEC_CONF_OPTS = --disable-rpi
|
2013-05-08 20:55:27 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|