diff options
author | Jeroen Roovers <jer@gentoo.org> | 2018-05-13 18:10:40 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2018-05-13 18:18:09 +0200 |
commit | c68522ece9ddb0743687e67de6febaed73df4dff (patch) | |
tree | 420552986b9421c9b7ddab7cdddb175b50be4174 /x11-misc | |
parent | media-libs/gegl: Fix USE=ffmpeg tests (diff) | |
download | gentoo-c68522ece9ddb0743687e67de6febaed73df4dff.tar.gz gentoo-c68522ece9ddb0743687e67de6febaed73df4dff.tar.bz2 gentoo-c68522ece9ddb0743687e67de6febaed73df4dff.zip |
x11-misc/i3status: Version 2.12.
Package-Manager: Portage-2.3.36, Repoman-2.3.9
Diffstat (limited to 'x11-misc')
-rw-r--r-- | x11-misc/i3status/Manifest | 1 | ||||
-rw-r--r-- | x11-misc/i3status/i3status-2.12.ebuild | 49 |
2 files changed, 50 insertions, 0 deletions
diff --git a/x11-misc/i3status/Manifest b/x11-misc/i3status/Manifest index 904ff8e516ff..bcd87a1d87da 100644 --- a/x11-misc/i3status/Manifest +++ b/x11-misc/i3status/Manifest @@ -1 +1,2 @@ DIST i3status-2.11.tar.bz2 54970 BLAKE2B bbf60250b3f86fafdbd40ad33d1a07783e461e2193392acaa51ebd435ad7cb85d1bb8f4819d61018f65ad99fc52e93b474484f80b24f3d96df067d8b39dfd934 SHA512 37d2549649178122fab7411a3c714ae041d9c726c140002ec6ccd1a4f2e28af618ca28af9aa3bc45d0cafda0b25dd438c9ed4c3739ddcc0511e19305657730f0 +DIST i3status-2.12.tar.bz2 57162 BLAKE2B d3225581b628640bfb6084b390a135562c2ce052078cf014a63e106c83beb14b38270eee28d01898d478a9593ce542684252e420ffe37d07f392509ac9b2a749 SHA512 687a880a65cb8df46f5e9d2256b59724ba3424c502e9a0fb3ca71b070875df5f4008ee501c554bc716f2d728a5cf813a36d22d7377d42c3c46b14381d385bab3 diff --git a/x11-misc/i3status/i3status-2.12.ebuild b/x11-misc/i3status/i3status-2.12.ebuild new file mode 100644 index 000000000000..24ba8f0156d3 --- /dev/null +++ b/x11-misc/i3status/i3status-2.12.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit fcaps toolchain-funcs + +DESCRIPTION="generates a status bar for dzen2, xmobar or similar" +HOMEPAGE="https://i3wm.org/i3status/" +SRC_URI="https://i3wm.org/${PN}/${P}.tar.bz2" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="pulseaudio" + +RDEPEND=" + >=dev-libs/yajl-2.0.2 + dev-libs/confuse:= + dev-libs/libnl:3 + media-libs/alsa-lib + pulseaudio? ( media-sound/pulseaudio ) +" +DEPEND=" + ${RDEPEND} + app-text/asciidoc + virtual/pkgconfig +" +PATCHES=( + "${FILESDIR}"/${PN}-2.11-pulseaudio.patch +) + +src_prepare() { + default + sed -e "/@echo/d" -e "s:@\$(:\$(:g" -e "/setcap/d" \ + -e '/CFLAGS+=-g/d' -i Makefile || die +} + +src_compile() { + emake V=1 CC="$(tc-getCC)" PULSE=$(usex pulseaudio 1 0) +} + +pkg_postinst() { + fcaps cap_net_admin usr/bin/${PN} + einfo "${PN} can be used with any of the following programs:" + einfo " i3bar (x11-wm/i3)" + einfo " x11-misc/xmobar" + einfo " x11-misc/dzen" + einfo "Please refer to manual: man ${PN}" +} |