1 ################################################################################
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
19 ifeq ($(BR2_PACKAGE_HAS_UDEV
),y
)
20 LIBCEC_DEPENDENCIES
+= udev
23 ifeq ($(BR2_PACKAGE_PYTHON
)$(BR2_PACKAGE_PYTHON3
),y
)
24 LIBCEC_DEPENDENCIES
+= host-swig
$(if
$(BR2_PACKAGE_PYTHON3
),python3
,python
)
27 ifeq ($(BR2_PACKAGE_RPI_USERLAND
),y
)
28 LIBCEC_DEPENDENCIES
+= rpi-userland
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"
36 ifeq ($(BR2_PACKAGE_XLIB_LIBXRANDR
),y
)
37 LIBCEC_DEPENDENCIES
+= xlib_libXrandr
40 $(eval
$(cmake-package
))