From b7da5719890b5456a0e18121116b7af23de885c6 Mon Sep 17 00:00:00 2001 From: Ben Kohler Date: Tue, 16 Feb 2021 11:05:10 -0600 Subject: 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 --- .../i3blocks-contrib-1.4.0_p20201127.ebuild | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to 'x11-misc/i3blocks-contrib') 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" +} -- cgit v1.2.3-65-gdbad