summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD7
2 files changed, 9 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2296a43a195..5e44e3eeb64 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = clightd
pkgdesc = Bus interface to change screen brightness and capture frames from webcam.
pkgver = 5.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/FedeDP/Clightd
arch = i686
arch = x86_64
@@ -16,6 +16,10 @@ pkgbase = clightd
depends = polkit
depends = ddcutil>=0.9.5
depends = libmodule>=5.0.0
+ depends = libjpeg-turbo
+ depends = libusb
+ depends = libdrm
+ depends = wayland
optdepends = clight: user service to automagically change screen backlight matching ambient brightness.
provides = clightd
conflicts = clightd-git
diff --git a/PKGBUILD b/PKGBUILD
index f13890d8cfa..bdec3ef9844 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,12 +3,12 @@
pkgname=clightd
_gitname=Clightd
pkgver=5.0
-pkgrel=1
+pkgrel=2
pkgdesc="Bus interface to change screen brightness and capture frames from webcam."
arch=('i686' 'x86_64')
url="https://github.com/FedeDP/${_gitname}"
license=('GPL')
-depends=('systemd>=221' 'linux-api-headers' 'libx11' 'libxrandr' 'libxext' 'polkit' 'ddcutil>=0.9.5' 'libmodule>=5.0.0')
+depends=('systemd>=221' 'linux-api-headers' 'libx11' 'libxrandr' 'libxext' 'polkit' 'ddcutil>=0.9.5' 'libmodule>=5.0.0' 'libjpeg-turbo' 'libusb' 'libdrm' 'wayland')
makedepends=('git' 'cmake')
optdepends=('clight: user service to automagically change screen backlight matching ambient brightness.')
provides=('clightd')
@@ -27,8 +27,9 @@ build() {
-G "Unix Makefiles" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
+ -DCMAKE_INSTALL_LIBEXECDIR=lib/"$_gitname" \
-DCMAKE_BUILD_TYPE="Release" \
- -DENABLE_DDC=1 -DENABLE_GAMMA=1 -DENABLE_DPMS=1 -DENABLE_SCREEN=1 \
+ -DENABLE_DDC=1 -DENABLE_GAMMA=1 -DENABLE_DPMS=1 -DENABLE_SCREEN=1 -DENABLE_YOCTOLIGHT=1 \
..
make
}