aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-06-23 18:38:56 +0100
committerSam James <sam@gentoo.org>2024-06-23 18:38:56 +0100
commit32427da3698ce48252b9dd6acc161065a5cf7a24 (patch)
tree3cac4ce09cd83c3a50cdc34a2163647ecd88d723 /kde-plasma/powerdevil
parentkde-plasma/kdeplasma-addons: fix qtwebengine CMake arg (diff)
downloadkde-32427da3698ce48252b9dd6acc161065a5cf7a24.tar.gz
kde-32427da3698ce48252b9dd6acc161065a5cf7a24.tar.bz2
kde-32427da3698ce48252b9dd6acc161065a5cf7a24.zip
kde-plasma/powerdevil: fix brightness-control CMake arg
Upstream commit e4a5e5d3e017ef45979933e14e47408bb3a59dda. Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'kde-plasma/powerdevil')
-rw-r--r--kde-plasma/powerdevil/powerdevil-6.1.49.9999.ebuild2
-rw-r--r--kde-plasma/powerdevil/powerdevil-9999.ebuild2
2 files changed, 2 insertions, 2 deletions
diff --git a/kde-plasma/powerdevil/powerdevil-6.1.49.9999.ebuild b/kde-plasma/powerdevil/powerdevil-6.1.49.9999.ebuild
index 7cc1a9c17e..7052b80cd6 100644
--- a/kde-plasma/powerdevil/powerdevil-6.1.49.9999.ebuild
+++ b/kde-plasma/powerdevil/powerdevil-6.1.49.9999.ebuild
@@ -57,7 +57,7 @@ BDEPEND=">=kde-frameworks/kcmutils-${KFMIN}:6"
src_configure() {
local mycmakeargs=(
- -DHAVE_DDCUTIL=$(usex brightness-control)
+ $(cmake_use_find_package brightness-control DDCUtil)
$(cmake_use_find_package caps Libcap)
)
diff --git a/kde-plasma/powerdevil/powerdevil-9999.ebuild b/kde-plasma/powerdevil/powerdevil-9999.ebuild
index 17c6d44940..e281364910 100644
--- a/kde-plasma/powerdevil/powerdevil-9999.ebuild
+++ b/kde-plasma/powerdevil/powerdevil-9999.ebuild
@@ -57,7 +57,7 @@ BDEPEND=">=kde-frameworks/kcmutils-${KFMIN}:6"
src_configure() {
local mycmakeargs=(
- -DHAVE_DDCUTIL=$(usex brightness-control)
+ $(cmake_use_find_package brightness-control DDCUtil)
$(cmake_use_find_package caps Libcap)
)