python-cryptography: bump to version 1.7.2
[buildroot-gz.git] / package / libcec / libcec.mk
blobf00e10f5d25ee4131b9bf69bd272cfaa5b6c28dc
1 ################################################################################
3 # libcec
5 ################################################################################
7 LIBCEC_VERSION = 4.0.2
8 LIBCEC_SITE = $(call github,Pulse-Eight,libcec,libcec-$(LIBCEC_VERSION))
9 LIBCEC_LICENSE = GPLv2+
10 LIBCEC_LICENSE_FILES = COPYING
12 LIBCEC_INSTALL_STAGING = YES
13 LIBCEC_DEPENDENCIES = host-pkgconf libplatform
15 ifeq ($(BR2_PACKAGE_LOCKDEV),y)
16 LIBCEC_DEPENDENCIES += lockdev
17 endif
19 ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
20 LIBCEC_DEPENDENCIES += udev
21 endif
23 ifeq ($(BR2_PACKAGE_PYTHON)$(BR2_PACKAGE_PYTHON3),y)
24 LIBCEC_DEPENDENCIES += host-swig $(if $(BR2_PACKAGE_PYTHON3),python3,python)
25 endif
27 ifeq ($(BR2_PACKAGE_RPI_USERLAND),y)
28 LIBCEC_DEPENDENCIES += rpi-userland
29 LIBCEC_CONF_OPTS += \
30 -DCMAKE_C_FLAGS="$(TARGET_CFLAGS) -lvcos -lvchiq_arm" \
31 -DCMAKE_CXX_FLAGS="$(TARGET_CXXFLAGS) \
32 -I$(STAGING_DIR)/usr/include/interface/vmcs_host/linux \
33 -I$(STAGING_DIR)/usr/include/interface/vcos/pthreads"
34 endif
36 ifeq ($(BR2_PACKAGE_XLIB_LIBXRANDR),y)
37 LIBCEC_DEPENDENCIES += xlib_libXrandr
38 endif
40 $(eval $(cmake-package))