python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / libcec / libcec.mk
blobc9a05a5fbaacdd5f9d323599a02a5a9dd52325fe
1 ################################################################################
3 # libcec
5 ################################################################################
7 LIBCEC_VERSION = 2c675dac48387c48c7f43c5d2547ef0c4ef5c7dd
8 LIBCEC_SITE = $(call github,Pulse-Eight,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))