diff options
author | 2024-08-30 23:23:11 -0700 | |
---|---|---|
committer | 2024-08-30 23:47:29 -0700 | |
commit | 2a33cda7f3b228048597d721970d163da5e7dbfa (patch) | |
tree | 7d3060501e3cffffc577c9f958b627f9cc86361e /x11-misc/polybar | |
parent | x11-misc/polybar: add 3.7.2 (diff) | |
download | gentoo-2a33cda7f3b228048597d721970d163da5e7dbfa.tar.gz gentoo-2a33cda7f3b228048597d721970d163da5e7dbfa.tar.bz2 gentoo-2a33cda7f3b228048597d721970d163da5e7dbfa.zip |
x11-misc/polybar: optfeature for backlight udev rule
Closes: https://bugs.gentoo.org/937028
Signed-off-by: John Helmert III <ajak@gentoo.org>
Diffstat (limited to 'x11-misc/polybar')
-rw-r--r-- | x11-misc/polybar/polybar-3.7.1-r1.ebuild | 6 | ||||
-rw-r--r-- | 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 +} |