浏览代码

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.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Bernd Kuhls 5 年之前
父节点
当前提交
01b67fc5dc
共有 1 个文件被更改,包括 0 次插入4 次删除
  1. 0 4
      package/kodi/Config.in

+ 0 - 4
package/kodi/Config.in

@@ -160,15 +160,11 @@ config BR2_PACKAGE_KODI_LIBBLURAY
 
 
 config BR2_PACKAGE_KODI_LIBCEC
 config BR2_PACKAGE_KODI_LIBCEC
 	bool "hdmi cec"
 	bool "hdmi cec"
-	depends on BR2_PACKAGE_HAS_UDEV
 	select BR2_PACKAGE_LIBCEC
 	select BR2_PACKAGE_LIBCEC
 	help
 	help
 	  Enable CEC (Consumer Electronics Control) support.
 	  Enable CEC (Consumer Electronics Control) support.
 	  Select this if you want Kodi to support HDMI CEC.
 	  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
 config BR2_PACKAGE_KODI_LCMS2
 	bool "lcms2"
 	bool "lcms2"
 	select BR2_PACKAGE_LCMS2
 	select BR2_PACKAGE_LCMS2