Skip to contentSkip to conversation

package/libcec: bump version

PATCH New Bernd Kuhls 2 participants 3 messages Mar 28, 2020 – Mar 29, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 package/libcec: bump version

---
 package/libcec/libcec.hash | 2 +-
 package/libcec/libcec.mk   | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
package/libcec/libcec.hash +1 -1
index 6790b417f1..c457ee7097 100644
@@ -1,3 +1,3 @@
 # Locally computed
-sha256 4382a964bf8c511c22c03cdab5ba2d81c241536e6479072a61516966804f400a  libcec-4.0.4.tar.gz
+sha256 035c617e48e14b1d70c503c5fefce42142198e36fefa0f8b01f0228df65edb52  libcec-91da1b6d5daecd3c85a1ac06d325ee4554f69b83.tar.gz
 sha256 3618005b3db4eb8ede7292d233e6c41605cb8dcbd33e8790eff6e29c1e4f3789  COPYING
package/libcec/libcec.mk +2 -2
index fe519d47ba..e85fd6a4d3 100644
@@ -4,8 +4,8 @@
 #
 ################################################################################
 
-LIBCEC_VERSION = 4.0.4
-LIBCEC_SITE = $(call github,Pulse-Eight,libcec,libcec-$(LIBCEC_VERSION))
+LIBCEC_VERSION = 91da1b6d5daecd3c85a1ac06d325ee4554f69b83
+LIBCEC_SITE = $(call github,Pulse-Eight,libcec,$(LIBCEC_VERSION))
 LIBCEC_LICENSE = GPL-2.0+
 LIBCEC_LICENSE_FILES = COPYING
 
Signature · 1 line
2.25.0
#1 lore raw

PATCH 2/2 package/kodi: remove dependency to udev for libcec support

libcec added sysfs scanning support:

On Linux, dynamic device discovery is currently implemented via libudev, which may not be available on more minimal systems. Thus, we implement a new device discovery that directly uses sysfs to scan through available USB devices for supported ones without any additional dependencies.

https://github.com/Pulse-Eight/libcec/commit/70d71cb16fa7c334373f3ba0148b89eafc04f73f

Previously Kodi needed udev to find the Pulse-Eight CEC adapter. Run-time tested using Kodi 18.6-Leia.

---
 package/kodi/Config.in | 4 ----
 1 file changed, 4 deletions(-)
package/kodi/Config.in +0 -4
index 13b8f9df3e..07128ac3c5 100644
@@ -160,15 +160,11 @@ config BR2_PACKAGE_KODI_LIBBLURAY
 
 config BR2_PACKAGE_KODI_LIBCEC
 	bool "hdmi cec"
-	depends on BR2_PACKAGE_HAS_UDEV
 	select BR2_PACKAGE_LIBCEC
 	help
 	  Enable CEC (Consumer Electronics Control) support.
 	  Select this if you want Kodi to support HDMI CEC.
 
-comment "hdmi cec support needs udev /dev management"
-	depends on !BR2_PACKAGE_HAS_UDEV
-
 config BR2_PACKAGE_KODI_LCMS2
 	bool "lcms2"
 	select BR2_PACKAGE_LCMS2
Signature · 1 line
2.25.0
#2 lore raw

PATCH 1/2 package/libcec: bump version

In reply to Bernd Kuhls
Quoted 5 lines · On Sat, 28 Mar 2020 22:48:28 +0100 Bernd Kuhls <[email protected]> wrote:
---
 package/libcec/libcec.hash | 2 +-
 package/libcec/libcec.mk   | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

Both applied, thanks. Could you ask upstream libcec developers to make an official release?

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com