24 lines
926 B
Bash
24 lines
926 B
Bash
# Template file for 'Clightd'
|
|
pkgname=Clightd
|
|
version=5.6
|
|
revision=1
|
|
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"
|
|
depends="ddcutil"
|
|
short_desc="API to read webcam brightness & alter screen brightness/temperature"
|
|
maintainer="Dominic Monroe <monroef4@googlemail.com>"
|
|
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/${version}.tar.gz"
|
|
checksum=c629cb3a83e17677cc146f366a53768bca8c944d92b2a96d6091e4c564810267
|
|
|
|
post_install() {
|
|
vinstall Scripts/i2c_clightd.conf 644 /usr/lib/modules-load.d/
|
|
vsv Clightd
|
|
}
|