diff options
author | Federico Di Pierro | 2020-12-22 21:58:52 +0100 |
---|---|---|
committer | Federico Di Pierro | 2020-12-22 21:58:52 +0100 |
commit | 8d7e30c95883ca4abd3509ced4bc0702cb796e47 (patch) | |
tree | fefa231e7a46a2892046d6f849e5869ef268e4fd | |
parent | f0516aed132f36520e2840c978ddc4372ced1193 (diff) | |
download | aur-8d7e30c95883ca4abd3509ced4bc0702cb796e47.tar.gz |
Small PKGBUILD fixes ported from clightd 5.0.
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 9 insertions, 4 deletions
@@ -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 @@ -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 } |