commit: 2a33cda7f3b228048597d721970d163da5e7dbfa Author: John Helmert III <ajak <AT> gentoo <DOT> org> AuthorDate: Sat Aug 31 06:23:11 2024 +0000 Commit: John Helmert III <ajak <AT> gentoo <DOT> org> CommitDate: Sat Aug 31 06:47:29 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a33cda7
x11-misc/polybar: optfeature for backlight udev rule Closes: https://bugs.gentoo.org/937028 Signed-off-by: John Helmert III <ajak <AT> gentoo.org> x11-misc/polybar/polybar-3.7.1-r1.ebuild | 6 +++++- x11-misc/polybar/polybar-3.7.2.ebuild | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/x11-misc/polybar/polybar-3.7.1-r1.ebuild b/x11-misc/polybar/polybar-3.7.1-r1.ebuild index 68165661b062..acdb2155246d 100644 --- a/x11-misc/polybar/polybar-3.7.1-r1.ebuild +++ b/x11-misc/polybar/polybar-3.7.1-r1.ebuild @@ -5,7 +5,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{10..12} ) -inherit cmake python-single-r1 +inherit cmake optfeature python-single-r1 DESCRIPTION="A fast and easy-to-use tool for creating status bars" HOMEPAGE="https://github.com/polybar/polybar" @@ -61,3 +61,7 @@ src_configure() { cmake_src_configure } + +pkg_postinst() { + optfeature "Unprivileged display backlight control via udev" sys-power/acpilight +} diff --git a/x11-misc/polybar/polybar-3.7.2.ebuild b/x11-misc/polybar/polybar-3.7.2.ebuild index b4269c54cc78..7dfd36994d4a 100644 --- a/x11-misc/polybar/polybar-3.7.2.ebuild +++ b/x11-misc/polybar/polybar-3.7.2.ebuild @@ -5,7 +5,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{10..12} ) -inherit cmake python-single-r1 +inherit cmake optfeature python-single-r1 DESCRIPTION="A fast and easy-to-use tool for creating status bars" HOMEPAGE="https://github.com/polybar/polybar" @@ -65,3 +65,7 @@ src_configure() { cmake_src_configure } + +pkg_postinst() { + optfeature "Unprivileged display backlight control via udev" sys-power/acpilight +}
