package/kodi: remove dependency to udev for libcec support
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sat, 28 Mar 2020 21:48:29 +0000 (22:48 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 29 Mar 2020 14:11:50 +0000 (16:11 +0200)
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>
package/kodi/Config.in

index 13b8f9df3e6a7c2b7bac08831bfe4698fcafc9d7..07128ac3c539b97a14f8aa25d98c6d0c600c6349 100644 (file)
@@ -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