git » powerdevil.git » commit d44f986

Reenable ddcutil, all issues are supposed to be fixed now

author Antonio Rojas
2023-05-11 17:22:56 UTC
committer Antonio Rojas
2023-05-11 17:22:56 UTC
parent 728f7f2df76b781a1d7c54d5d74c8fa462268be2

Reenable ddcutil, all issues are supposed to be fixed now

PKGBUILD +4 -3

diff --git a/PKGBUILD b/PKGBUILD
index b2cf885..fefc268 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,12 +5,12 @@
 pkgname=powerdevil
 pkgver=5.27.5
 _dirver=$(echo $pkgver | cut -d. -f1-3)
-pkgrel=1
+pkgrel=2
 pkgdesc='Manages the power consumption settings of a Plasma Shell'
 arch=(x86_64)
 url='https://kde.org/plasma-desktop/'
 license=(LGPL)
-depends=(plasma-workspace)
+depends=(plasma-workspace ddcutil)
 makedepends=(extra-cmake-modules kdoctools bluez-qt networkmanager-qt)
 optdepends=('kinfocenter: for the Energy Information KCM'
             'power-profiles-daemon: power profiles support'
@@ -28,7 +28,8 @@ validpgpkeys=('E0A3EB202F8E57528E13E72FD7574483BB57B18D'  # Jonathan Esk-Riddell
 build() {
   cmake -B build -S $pkgname-$pkgver \
     -DCMAKE_INSTALL_LIBEXECDIR=lib \
-    -DBUILD_TESTING=OFF
+    -DBUILD_TESTING=OFF \
+    -DHAVE_DDCUTIL=ON
   cmake --build build
 }