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 <Qing-wu.Li@leica-geosystems.com.cn>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
LI Qingwu
2025-08-15 11:58:11 +08:00
committed by Khem Raj
parent 6a17c90e96
commit 185efabc62

View File

@@ -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}/* \
"