summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-multimedia/recipes-multimedia/clight/clightd_5.9.bb40
1 files changed, 40 insertions, 0 deletions
diff --git a/meta-multimedia/recipes-multimedia/clight/clightd_5.9.bb b/meta-multimedia/recipes-multimedia/clight/clightd_5.9.bb
new file mode 100644
index 0000000000..037b94c3a2
--- /dev/null
+++ b/meta-multimedia/recipes-multimedia/clight/clightd_5.9.bb
@@ -0,0 +1,40 @@
1SUMMARY = "D-Bus service providing screen management and ambient light detection"
2HOMEPAGE = "https://github.com/FedeDP/clightd"
3SECTION = "utils"
4
5LICENSE = "GPL-3.0-only"
6LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
7
8
9SRCREV = "d4e88b1d351d61151c99a399abd526d9b7dda12d"
10SRC_URI = "git://github.com/FedeDP/${BPN};protocol=https;branch=master;tag=${PV} \
11"
12
13inherit cmake pkgconfig systemd features_check
14
15REQUIRED_DISTRO_FEATURES = "polkit systemd"
16
17DEPENDS += "\
18 dbus \
19 libiio \
20 libjpeg-turbo \
21 libmodule \
22 polkit \
23 systemd \
24 udev \
25"
26
27PACKAGECONFIG ??= ""
28
29PACKAGECONFIG[dpms] = "-DENABLE_DPMS=1,-DENABLE_DPMS=0,libx11 xext libdrm wayland"
30PACKAGECONFIG[gamma] = "-DENABLE_GAMMA=1,-DENABLE_GAMMA=0,libx11 xrandr libdrm wayland"
31PACKAGECONFIG[pipewire] = "-DENABLE_PIPEWIRE=1,-DENABLE_PIPEWIRE=0,pipewire"
32PACKAGECONFIG[screen] = "-DENABLE_SCREEN=1,-DENABLE_SCREEN=0,libx11"
33PACKAGECONFIG[yoctolight] = "-DENABLE_YOCTOLIGHT=1,-DENABLE_YOCTOLIGHT=0,libusb1"
34
35FILES:${PN} += " \
36 ${libdir}/* \
37 ${datadir}/* \
38"
39
40SYSTEMD_SERVICE:${PN} += "clightd.service"