summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc/i3status/i3status-2.13.ebuild')
-rw-r--r--x11-misc/i3status/i3status-2.13.ebuild46
1 files changed, 46 insertions, 0 deletions
diff --git a/x11-misc/i3status/i3status-2.13.ebuild b/x11-misc/i3status/i3status-2.13.ebuild
new file mode 100644
index 000000000000..06ad9dcfa46f
--- /dev/null
+++ b/x11-misc/i3status/i3status-2.13.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit fcaps
+
+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"
+
+BDEPEND="virtual/pkgconfig"
+RDEPEND="
+ >=dev-libs/yajl-2.0.2
+ dev-libs/confuse:=
+ dev-libs/libnl:3
+ media-libs/alsa-lib
+ || ( media-sound/pulseaudio media-sound/apulse[sdk] )
+"
+DEPEND="
+ ${RDEPEND}
+ app-text/asciidoc
+ app-text/xmlto
+"
+
+src_compile() {
+ pushd "${S}/${CHOST}" || die
+ default
+}
+
+src_install() {
+ pushd "${S}/${CHOST}" || die
+ default
+}
+
+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}"
+}