add x11-misc/polybar

This commit is contained in:
Florian Tham
2017-10-06 22:11:58 +02:00
parent 11c6d434a8
commit 6078fa34d0
2 changed files with 47 additions and 0 deletions

View File

@@ -0,0 +1 @@
EBUILD polybar-9999.ebuild 1022 SHA256 2a61b52c13d6af1c292a73a7596056f0aae909335c4fbafa971814791491be5f SHA512 aee6f55e29c2103121888c9e28f4a7452854a0b6f85670a6ed86f68731b4167ec6a0c0ba4d6e05996a79b7df836d12f37121872c9fe023a8ae57ac5102e0fa69 WHIRLPOOL 466d2999efb9d094efd58e39a701bf858eb49c2a13459ac802eb6188bbc72a0542bf06d22f552c9f59f7381951c20d961cc29de080617667d74382a9fe73b8e2

View File

@@ -0,0 +1,46 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit cmake-utils git-r3
DESCRIPTION="A fast and easy-to-use tool for creating status bars."
HOMEPAGE="https://github.com/jaagr/polybar"
EGIT_REPO_URI="https://github.com/jaagr/polybar.git"
EGIT_CLONE_TYPE="shallow"
LICENSE="MIT"
SLOT="0"
KEYWORDS=""
IUSE="alsa i3wm mpd github +network"
RDEPEND="
x11-libs/libxcb
dev-lang/python:2.7
x11-proto/xcb-proto
x11-libs/xcb-util-wm
x11-libs/xcb-util-image
alsa? ( media-libs/alsa-lib )
i3wm? ( dev-libs/jsoncpp )
mpd? ( media-libs/libmpdclient )
github? ( net-misc/curl )
network? ( net-wireless/wireless-tools )
"
DEPEND="${RDEPEND}"
CMAKE_BUILD_TYPE=Release
src_configure() {
local mycmakeargs=(
-DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/python2
-DENABLE_ALSA="$(usex alsa)"
-DENABLE_MPD="$(usex mpd)"
-DENABLE_NETWORK="$(usex network)"
-DENABLE_I3="$(usex i3wm)"
-DENABLE_CURL="$(usex github)"
)
cmake-utils_src_configure
}