diff options
author | Ben Kohler <bkohler@gentoo.org> | 2021-02-16 11:05:10 -0600 |
---|---|---|
committer | Ben Kohler <bkohler@gentoo.org> | 2021-02-16 11:05:35 -0600 |
commit | b7da5719890b5456a0e18121116b7af23de885c6 (patch) | |
tree | 6f19b638f38e392e321cd7b43eff31b0dd70bfca /x11-misc/i3blocks-contrib | |
parent | media-video/vdr: readded use-flag pinplugin, permashift; bug fixes (diff) | |
download | gentoo-b7da5719890b5456a0e18121116b7af23de885c6.tar.gz gentoo-b7da5719890b5456a0e18121116b7af23de885c6.tar.bz2 gentoo-b7da5719890b5456a0e18121116b7af23de885c6.zip |
x11-misc/i3blocks-contrib: use optfeature to suggest optional deps
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'x11-misc/i3blocks-contrib')
-rw-r--r-- | x11-misc/i3blocks-contrib/i3blocks-contrib-1.4.0_p20201127.ebuild | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/x11-misc/i3blocks-contrib/i3blocks-contrib-1.4.0_p20201127.ebuild b/x11-misc/i3blocks-contrib/i3blocks-contrib-1.4.0_p20201127.ebuild index 701962eefc8d..5977a9b1339b 100644 --- a/x11-misc/i3blocks-contrib/i3blocks-contrib-1.4.0_p20201127.ebuild +++ b/x11-misc/i3blocks-contrib/i3blocks-contrib-1.4.0_p20201127.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit vcs-snapshot +inherit optfeature vcs-snapshot COMMIT=154001e5713c26c70063446022919225b6f916f0 @@ -29,3 +29,21 @@ src_prepare() { src_install() { emake DESTDIR="${D}" PREFIX=/usr install } + +pkg_postinst() { + elog "The following deps may be required for certain ${PN} scripts:" + optfeature "backlight" sys-power/acpilight x11-apps/xbacklight + optfeature "battery{,2,bar}" sys-power/acpi + optfeature "cpu_usage" app-admin/sysstat + optfeature "disk-io" app-admin/sysstat + optfeature "email" dev-python/keyring gnome-base/gnome-keyring + optfeature "gpu-load" x11-drivers/nvidia-drivers app-misc/radeontop + optfeature "kbdd_layout" x11-misc/kbdd + optfeature "key_light" sys-power/upower + optfeature "kubernetes" sys-cluster/kubectl + optfeature "monitor_manager" "dev-lang/python[tk] media-fonts/fontawesome x11-apps/xrandr" + optfeature "rofi-calendar" x11-misc/rofi + optfeature "ssid and wlan-dbm" net-wireless/iw + optfeature "temperature" sys-apps/lm-sensors + optfeature "ytdl-mpv" "media-fonts/fontawesome media-video/mpv x11-misc/xclip net-misc/youtube-dl" +} |