Skip to content

Commit

Permalink
kde-plasma/powerdevil: Drop USE=brightness-control
Browse files Browse the repository at this point in the history
Upstream switched it off by default in the last minute before 5.11.0
release, after ddcutil upstream remarks, probably for a good reason.

Closes: https://bugs.gentoo.org/636098
Package-Manager: Portage-2.3.14, Repoman-2.3.6
  • Loading branch information
a17r committed Nov 15, 2017
1 parent 89d6a8e commit cb5c3d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion kde-plasma/powerdevil/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
<name>Gentoo KDE Project</name>
</maintainer>
<use>
<flag name="brightness-control">Enable screen brightness control using <pkg>app-misc/ddcutil</pkg></flag>
<flag name="consolekit">Enable <pkg>sys-auth/consolekit</pkg> support instead of logind session tracking</flag>
<flag name="wireless">Enable wireless energy saving actions via <pkg>kde-frameworks/bluez-qt</pkg> and <pkg>kde-frameworks/networkmanager-qt</pkg></flag>
</use>
Expand Down
5 changes: 2 additions & 3 deletions kde-plasma/powerdevil/powerdevil-5.11.3.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ inherit kde5
DESCRIPTION="Power management for KDE Plasma Shell"
HOMEPAGE="https://projects.kde.org/projects/kde/workspace/powerdevil"
KEYWORDS="~amd64 ~arm ~x86"
IUSE="brightness-control consolekit +wireless"
IUSE="consolekit +wireless"

DEPEND="
$(add_frameworks_dep kactivities)
Expand Down Expand Up @@ -40,7 +40,6 @@ DEPEND="
$(add_qt_dep qtx11extras)
virtual/libudev:=
x11-libs/libxcb
brightness-control? ( app-misc/ddcutil )
wireless? (
$(add_frameworks_dep bluez-qt)
$(add_frameworks_dep networkmanager-qt)
Expand All @@ -60,7 +59,7 @@ RDEPEND="${DEPEND}

src_configure() {
local mycmakeargs=(
-DWITH_DDCUTIL=$(usex brightness-control)
-DWITH_DDCUTIL=OFF
$(cmake-utils_use_find_package wireless KF5BluezQt)
$(cmake-utils_use_find_package wireless KF5NetworkManagerQt)
)
Expand Down

0 comments on commit cb5c3d4

Please sign in to comment.