From 710efc607729063490d713e89c8f210fd5aa498e Mon Sep 17 00:00:00 2001 From: MilhouseVH Date: Tue, 3 Jan 2017 22:34:26 +0000 Subject: [PATCH 1/2] libcec: update to libcec-2fc92b5 --- packages/devel/libcec/package.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/devel/libcec/package.mk b/packages/devel/libcec/package.mk index b1a84e374f..30d445da89 100644 --- a/packages/devel/libcec/package.mk +++ b/packages/devel/libcec/package.mk @@ -17,7 +17,7 @@ ################################################################################ PKG_NAME="libcec" -PKG_VERSION="209884d" +PKG_VERSION="2fc92b5" PKG_REV="1" PKG_ARCH="any" PKG_LICENSE="GPL" From 1ec6420ecffce05c1eaf8c05b1c2533a166f33c2 Mon Sep 17 00:00:00 2001 From: MilhouseVH Date: Tue, 3 Jan 2017 22:53:57 +0000 Subject: [PATCH 2/2] libcec: fix project patches --- .../patches/libcec/libcec-00-amlogic-support.patch | 8 +------- .../patches/libcec/libcec-00-amlogic-support.patch | 8 +------- projects/imx6/patches/libcec/libcec-100-from-xbian.patch | 4 ++-- 3 files changed, 4 insertions(+), 16 deletions(-) diff --git a/projects/WeTek_Core/patches/libcec/libcec-00-amlogic-support.patch b/projects/WeTek_Core/patches/libcec/libcec-00-amlogic-support.patch index cb20f51b29..95c817d705 100644 --- a/projects/WeTek_Core/patches/libcec/libcec-00-amlogic-support.patch +++ b/projects/WeTek_Core/patches/libcec/libcec-00-amlogic-support.patch @@ -104,7 +104,7 @@ index 1e946e6..a539394 100644 #if !defined(HAVE_RPI_API) && !defined(HAVE_P8_USB) && !defined(HAVE_TDA995X_API) && !defined(HAVE_AOCEC_API) #error "libCEC doesn't have support for any type of adapter. please check your build system or configuration" -@@ -173,11 +190,16 @@ IAdapterCommunication *CAdapterFactory::GetInstance(const char *strPort, uint16_ +@@ -173,6 +190,11 @@ IAdapterCommunication *CAdapterFactory::GetInstance(const char *strPort, uint16_ return new CRPiCECAdapterCommunication(m_lib->m_cec); #endif @@ -116,12 +116,6 @@ index 1e946e6..a539394 100644 #if defined(HAVE_P8_USB) return new CUSBCECAdapterCommunication(m_lib->m_cec, strPort, iBaudRate); #endif - --#if !defined(HAVE_RPI_API) && !defined(HAVE_P8_USB) && !defined(HAVE_TDA995X_API) && !defined(HAVE_EXYNOS_API) -+#if !defined(HAVE_RPI_API) && !defined(HAVE_P8_USB) && !defined(HAVE_TDA995X_API) && !defined(HAVE_EXYNOS_API) && !defined(HAVE_AMLOGIC_API) - return NULL; - #endif - } diff --git a/src/libcec/adapter/Amlogic/AmlogicCEC.h b/src/libcec/adapter/Amlogic/AmlogicCEC.h new file mode 100644 index 0000000..7b86982 diff --git a/projects/WeTek_Play/patches/libcec/libcec-00-amlogic-support.patch b/projects/WeTek_Play/patches/libcec/libcec-00-amlogic-support.patch index cb20f51b29..95c817d705 100644 --- a/projects/WeTek_Play/patches/libcec/libcec-00-amlogic-support.patch +++ b/projects/WeTek_Play/patches/libcec/libcec-00-amlogic-support.patch @@ -104,7 +104,7 @@ index 1e946e6..a539394 100644 #if !defined(HAVE_RPI_API) && !defined(HAVE_P8_USB) && !defined(HAVE_TDA995X_API) && !defined(HAVE_AOCEC_API) #error "libCEC doesn't have support for any type of adapter. please check your build system or configuration" -@@ -173,11 +190,16 @@ IAdapterCommunication *CAdapterFactory::GetInstance(const char *strPort, uint16_ +@@ -173,6 +190,11 @@ IAdapterCommunication *CAdapterFactory::GetInstance(const char *strPort, uint16_ return new CRPiCECAdapterCommunication(m_lib->m_cec); #endif @@ -116,12 +116,6 @@ index 1e946e6..a539394 100644 #if defined(HAVE_P8_USB) return new CUSBCECAdapterCommunication(m_lib->m_cec, strPort, iBaudRate); #endif - --#if !defined(HAVE_RPI_API) && !defined(HAVE_P8_USB) && !defined(HAVE_TDA995X_API) && !defined(HAVE_EXYNOS_API) -+#if !defined(HAVE_RPI_API) && !defined(HAVE_P8_USB) && !defined(HAVE_TDA995X_API) && !defined(HAVE_EXYNOS_API) && !defined(HAVE_AMLOGIC_API) - return NULL; - #endif - } diff --git a/src/libcec/adapter/Amlogic/AmlogicCEC.h b/src/libcec/adapter/Amlogic/AmlogicCEC.h new file mode 100644 index 0000000..7b86982 diff --git a/projects/imx6/patches/libcec/libcec-100-from-xbian.patch b/projects/imx6/patches/libcec/libcec-100-from-xbian.patch index e7676b1e6b..d13979c324 100644 --- a/projects/imx6/patches/libcec/libcec-100-from-xbian.patch +++ b/projects/imx6/patches/libcec/libcec-100-from-xbian.patch @@ -526,8 +526,8 @@ index 1e946e6..261c60d 100644 return new CUSBCECAdapterCommunication(m_lib->m_cec, strPort, iBaudRate); #endif --#if !defined(HAVE_RPI_API) && !defined(HAVE_P8_USB) && !defined(HAVE_TDA995X_API) && !defined(HAVE_EXYNOS_API) -+#if !defined(HAVE_RPI_API) && !defined(HAVE_P8_USB) && !defined(HAVE_TDA995X_API) && !defined(HAVE_EXYNOS_API) && !defined(HAVE_IMX_API) +-#if !defined(HAVE_RPI_API) && !defined(HAVE_P8_USB) && !defined(HAVE_TDA995X_API) && !defined(HAVE_EXYNOS_API) && !defined(HAVE_AOCEC_API) ++#if !defined(HAVE_RPI_API) && !defined(HAVE_P8_USB) && !defined(HAVE_TDA995X_API) && !defined(HAVE_EXYNOS_API) && !defined(HAVE_AOCEC_API) && !defined(HAVE_IMX_API) return NULL; #endif }