void-packages/srcpkgs/Clightd/template

24 lines
935 B
Bash

# Template file for 'Clightd'
pkgname=Clightd
version=5.9
revision=2
build_style=cmake
configure_args="-DENABLE_DDC=1 -DENABLE_GAMMA=1 -DENABLE_DPMS=1 -DENABLE_SCREEN=1"
hostmakedepends="pkg-config wayland-devel"
makedepends="eudev-libudev-devel libmodule-devel polkit-devel elogind-devel
libXrandr-devel libXext-devel libX11-devel ddcutil libjpeg-turbo-devel
wayland-devel libdrm-devel libusb-devel libiio-devel"
depends="ddcutil"
short_desc="API to read webcam brightness & alter screen brightness/temperature"
maintainer="icp <pangolin@vivaldi.net>"
license="GPL-3.0-or-later"
homepage="https://github.com/FedeDP/Clightd"
changelog="https://github.com/FedeDP/Clightd/releases"
distfiles="https://github.com/FedeDP/Clightd/archive/refs/tags/${version}.tar.gz"
checksum=76ae865b5eeb721c98c23b1d4d8531b2b6c10b71386d0396b14666b5650f3054
post_install() {
vinstall Scripts/i2c_clightd.conf 644 /usr/lib/modules-load.d/
vsv Clightd
}