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 # Autoreconf required due to being a dev tarball and not a release tarball.
13 LIBCEC_AUTORECONF
= YES
14 LIBCEC_INSTALL_STAGING
= YES
15 LIBCEC_DEPENDENCIES
= host-pkgconf libplatform
17 ifeq ($(BR2_PACKAGE_LOCKDEV
),y
)
18 LIBCEC_DEPENDENCIES
+= lockdev
21 ifeq ($(BR2_PACKAGE_HAS_UDEV
),y
)
22 LIBCEC_DEPENDENCIES
+= udev
25 ifeq ($(BR2_PACKAGE_PYTHON
)$(BR2_PACKAGE_PYTHON3
),y
)
26 LIBCEC_DEPENDENCIES
+= host-swig
$(if
$(BR2_PACKAGE_PYTHON3
),python3
,python
)
29 ifeq ($(BR2_PACKAGE_RPI_USERLAND
),y
)
30 LIBCEC_DEPENDENCIES
+= rpi-userland
32 -DCMAKE_C_FLAGS
="$(TARGET_CFLAGS) -lvcos -lvchiq_arm" \
33 -DCMAKE_CXX_FLAGS
="$(TARGET_CXXFLAGS) \
34 -I$(STAGING_DIR)/usr/include/interface/vmcs_host/linux \
35 -I$(STAGING_DIR)/usr/include/interface/vcos/pthreads"
38 ifeq ($(BR2_PACKAGE_XLIB_LIBXRANDR
),y
)
39 LIBCEC_DEPENDENCIES
+= xlib_libXrandr
42 $(eval
$(cmake-package
))