From 185efabc624b4db3c507795027ef99da68477f62 Mon Sep 17 00:00:00 2001 From: LI Qingwu Date: Fri, 15 Aug 2025 11:58:11 +0800 Subject: [PATCH] clight: add recipe Clight allows to match backlight level to ambient brightness, computed by capturing frames from webcam or Ambient Light Sensors. It does also support adjusting external monitors and keyboard backlight. Moreover, it can manage your screen temperature, just like redshift does. Finally, it can dim your screen after a timeout and manage screen DPMS. Signed-off-by: LI Qingwu Signed-off-by: Khem Raj --- .../recipes-multimedia/clight/clight_4.11.bb | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 meta-multimedia/recipes-multimedia/clight/clight_4.11.bb diff --git a/meta-multimedia/recipes-multimedia/clight/clight_4.11.bb b/meta-multimedia/recipes-multimedia/clight/clight_4.11.bb new file mode 100644 index 0000000000..6280bd21b0 --- /dev/null +++ b/meta-multimedia/recipes-multimedia/clight/clight_4.11.bb @@ -0,0 +1,31 @@ +SUMMARY = "User daemon for automatic display management and ambient light adaptation" +HOMEPAGE = "https://github.com/FedeDP/Clight" +SECTION = "utils" + +LICENSE = "GPL-3.0-only" +LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" + +SRCREV = "6a5ad96ce7643c433ea2f6bd597bc52dcc744120" +SRC_URI = "git://github.com/FedeDP/${BPN};protocol=https;branch=master;tag=${PV} \ +" + +inherit cmake pkgconfig features_check + +REQUIRED_DISTRO_FEATURES = "polkit systemd" + +DEPENDS += "\ + dbus \ + gsl \ + libconfig \ + libmodule \ + popt \ + systemd \ + udev \ +" + +RDEPENDS:${PN} = "clightd" + +FILES:${PN} += " \ + ${libdir}/* \ + ${datadir}/* \ +"