diff options
author | John Helmert III <ajak@gentoo.org> | 2022-03-01 19:41:55 -0600 |
---|---|---|
committer | John Helmert III <ajak@gentoo.org> | 2022-03-01 19:42:29 -0600 |
commit | ce6e755d38a5bc2cb2d8f3b6ead1acc76f5ee70a (patch) | |
tree | 0ab8032dbc19ec6107421401b42e09e6d2b0e951 /x11-misc/polybar | |
parent | sys-apps/smartmontools: Sync 9999 (diff) | |
download | gentoo-ce6e755d38a5bc2cb2d8f3b6ead1acc76f5ee70a.tar.gz gentoo-ce6e755d38a5bc2cb2d8f3b6ead1acc76f5ee70a.tar.bz2 gentoo-ce6e755d38a5bc2cb2d8f3b6ead1acc76f5ee70a.zip |
x11-misc/polybar: add 3.6.0
Signed-off-by: John Helmert III <ajak@gentoo.org>
Diffstat (limited to 'x11-misc/polybar')
-rw-r--r-- | x11-misc/polybar/Manifest | 1 | ||||
-rw-r--r-- | x11-misc/polybar/polybar-3.6.0.ebuild | 61 |
2 files changed, 62 insertions, 0 deletions
diff --git a/x11-misc/polybar/Manifest b/x11-misc/polybar/Manifest index f6f5801aaee1..3580b9c944de 100644 --- a/x11-misc/polybar/Manifest +++ b/x11-misc/polybar/Manifest @@ -1,3 +1,4 @@ DIST i3ipcpp-86ddf7102c6903ae0cc543071e2d375403fc0727.tar.gz 43693 BLAKE2B a84525b0bd00d4ab4ed8afed00fd92eee965efea9960670dcea3efaa259834df5bb7cf8e79a894dd4d4f92f28643ad1b43ccbb374ade96174c6c2f6fc63f5ddc SHA512 f4643bea5a78bd9518fecc9d56ece8d679539b99016440a6e4d45305984c02963d80e00c5375cc53ac7418e2f24f57279930428b331e077eaafa8d0717677662 DIST polybar-3.5.7.tar.gz 283520 BLAKE2B 3f7cad2886c0f8352b92e636035607b2abab6dafd0966e6edb9f3b768fc6e5b180be2479f81812eb792f66edada6fe2625af5c3ecc9216763c141a393ab90474 SHA512 6336613d37ae45ca43d1cc2e1e2126bcd09247dbf81b3df979def44b240e2a736035503cf5aaeff0a86c830deb956f9ef7057c7fa1ac3da5119b8e6c1db0fe7f +DIST polybar-3.6.0.tar.gz 436806 BLAKE2B 69bc5348be44fb782b4847dbda90f2a378967664d1b4783f42e79859c27259f3bb670fe2cd9043216047f28c3231d397c5d7cf0076908bf88011cccff3650110 SHA512 d1193ebd19abc44921072f7330c63b16a289a5e4f443c1dbed6bdfeb98ef4821abafeb726cf500c2cbc6f211c8449c7e3698bb4f5531102c695a732fda051c03 DIST xpp-044e69d05db7f89339bda1ccd1efe0263b01c8f6.tar.gz 84121 BLAKE2B dea2384773803bbc5de2ec971ed0cf769b0af8b987bbcf918718647e4787b4713af54a358c029e9603c28c5424488731f76ecc430b6b124bcd9255aef893431f SHA512 646e159d47d6dac8f08a27a1cb54e2ef48e42cff952b55b3906c2021c424e015c070a31a7a1e70b62e0edc7a8b42b935a23b9a922eaab138d3f6929bc1fdb8d4 diff --git a/x11-misc/polybar/polybar-3.6.0.ebuild b/x11-misc/polybar/polybar-3.6.0.ebuild new file mode 100644 index 000000000000..22e5d89b9188 --- /dev/null +++ b/x11-misc/polybar/polybar-3.6.0.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) + +inherit cmake python-single-r1 + +DESCRIPTION="A fast and easy-to-use tool for creating status bars" +HOMEPAGE="https://github.com/polybar/polybar" +SRC_URI="https://github.com/polybar/${PN}/releases/download/${PV}/${P}.tar.gz" + +KEYWORDS="~amd64 ~x86" +LICENSE="MIT" +SLOT="0" +IUSE="alsa curl doc i3wm ipc mpd network pulseaudio" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND=" + ${PYTHON_DEPS} + $(python_gen_cond_dep 'x11-base/xcb-proto[${PYTHON_USEDEP}]') + dev-libs/libuv:= + media-libs/fontconfig + media-libs/freetype + x11-libs/cairo[X,xcb(+)] + x11-libs/libxcb:=[xkb] + x11-libs/xcb-util + x11-libs/xcb-util-cursor + x11-libs/xcb-util-image + x11-libs/xcb-util-wm + x11-libs/xcb-util-xrm + alsa? ( media-libs/alsa-lib ) + curl? ( net-misc/curl ) + doc? ( dev-python/sphinx ) + i3wm? ( + dev-libs/jsoncpp:= + || ( x11-wm/i3 x11-wm/i3-gaps ) + ) + mpd? ( media-libs/libmpdclient ) + network? ( dev-libs/libnl:3 ) + pulseaudio? ( media-sound/pulseaudio ) +" +RDEPEND="${DEPEND}" + +src_configure() { + local mycmakeargs=( + -DENABLE_ALSA="$(usex alsa)" + -DENABLE_CURL="$(usex curl)" + -DBUILD_DOC="$(usex doc)" + -DENABLE_I3="$(usex i3wm)" + -DBUILD_POLYBAR_MSG="$(usex ipc)" + -DENABLE_MPD="$(usex mpd)" + -DENABLE_NETWORK="$(usex network)" + -DENABLE_PULSEAUDIO="$(usex pulseaudio)" + # Bug 767949 + -DENABLE_CCACHE="OFF" + ) + + cmake_src_configure +} |