From 9b2789df7a937896e619dffb6da048eb561bd297 Mon Sep 17 00:00:00 2001 From: Dominic Monroe Date: Wed, 5 Jun 2019 21:49:01 +0100 Subject: [PATCH] New package: Clightd-3.4 --- srcpkgs/Clightd/template | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 srcpkgs/Clightd/template diff --git a/srcpkgs/Clightd/template b/srcpkgs/Clightd/template new file mode 100644 index 00000000000..241cf60cd05 --- /dev/null +++ b/srcpkgs/Clightd/template @@ -0,0 +1,20 @@ +# Template file for 'Clightd' +pkgname=Clightd +version=3.4 +revision=1 +build_style=cmake +cmake_builddir=build +configure_args="-DENABLE_DDC=1 -DENABLE_GAMMA=1 -DENABLE_DPMS=1" +hostmakedepends="pkg-config" +makedepends="eudev-libudev-devel libmodule-devel polkit-devel elogind-devel libXrandr-devel libXext-devel libX11-devel ddcutil" +depends="ddcutil" +short_desc="API to read webcam brightness & alter screen brightness/temperature" +maintainer="Dominic Monroe " +license="GPL-3.0-or-later" +homepage="https://github.com/FedeDP/Clightd" +distfiles="https://github.com/FedeDP/Clightd/archive/${version}.tar.gz" +checksum=30c5176a5e05ca7a771b62f5ab3a36e95012ba637d0643ced8ecc4f4e4d17c47 + +post_install() { + vinstall Scripts/i2c_clightd.conf 644 /usr/lib/modules-load.d/ +}