diff options
author | 2021-06-07 10:15:22 -0500 | |
---|---|---|
committer | 2021-06-08 07:18:00 -0500 | |
commit | 7f10f39477e20c0bd1951069826659a89d86eff4 (patch) | |
tree | aa9385d437e892714506b63dfa0da1ef191936a9 /x11-misc/i3blocks-contrib/i3blocks-contrib-2.0.0.ebuild | |
parent | dev-lang/go: x86 stable wrt bug #794784 (diff) | |
download | gentoo-7f10f39477e20c0bd1951069826659a89d86eff4.tar.gz gentoo-7f10f39477e20c0bd1951069826659a89d86eff4.tar.bz2 gentoo-7f10f39477e20c0bd1951069826659a89d86eff4.zip |
x11-misc/i3blocks-contrib: bump to 2.0.0
Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'x11-misc/i3blocks-contrib/i3blocks-contrib-2.0.0.ebuild')
-rw-r--r-- | x11-misc/i3blocks-contrib/i3blocks-contrib-2.0.0.ebuild | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/x11-misc/i3blocks-contrib/i3blocks-contrib-2.0.0.ebuild b/x11-misc/i3blocks-contrib/i3blocks-contrib-2.0.0.ebuild new file mode 100644 index 000000000000..51f71d6cbffa --- /dev/null +++ b/x11-misc/i3blocks-contrib/i3blocks-contrib-2.0.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit optfeature + +DESCRIPTION="A set of scripts for i3blocks, contributed by the community" +HOMEPAGE="https://github.com/vivien/i3blocks-contrib" +SRC_URI="https://github.com/vivien/i3blocks-contrib/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +DEPEND="" +RDEPEND="!<x11-misc/i3blocks-1.5 + >=x11-misc/i3blocks-1.5" +BDEPEND="" + +PATCHES=( "${FILESDIR}"/${P}-respect-CFLAGS.patch ) + +src_prepare() { + sed -i -e '/^$(_BLOCKS):/ s/$/ installdirs/' Makefile + default +} + +src_install() { + emake DESTDIR="${D}" PREFIX=/usr install +} + +pkg_postinst() { + optfeature_header "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 "colorpicker" x11-misc/grabc x11-misc/xdotool + optfeature "cpu_usage" app-admin/sysstat + optfeature "disk-io" app-admin/sysstat + optfeature "email" dev-python/keyring gnome-base/gnome-keyring + optfeature "eyedropper" media-fonts/fontawesome x11-misc/grabc x11-misc/xclip + optfeature "github" dev-util/github-cli media-fonts/fontawesome + optfeature "gpu-load" x11-drivers/nvidia-drivers app-misc/radeontop + optfeature "i3-focusedwindow" x11-apps/xprop + 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 "purpleair" app-misc/jq net-misc/curl + 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" +} |