diff options
author | John Helmert III <jchelmert3@posteo.net> | 2020-12-23 16:49:37 -0600 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2020-12-27 05:32:57 +0000 |
commit | 655e2d71f89ac6f49b6dfee7d236e51ae5844d78 (patch) | |
tree | ab32fe4070287bdcefc1d5a84eb63a1b10b4d4f5 /x11-misc/polybar | |
parent | x11-wm/awesome: depend on x11-libs/gdk-pixbuf[introspection] (diff) | |
download | gentoo-655e2d71f89ac6f49b6dfee7d236e51ae5844d78.tar.gz gentoo-655e2d71f89ac6f49b6dfee7d236e51ae5844d78.tar.bz2 gentoo-655e2d71f89ac6f49b6dfee7d236e51ae5844d78.zip |
x11-misc/polybar: add 3.5.3
Closes: https://bugs.gentoo.org/760150
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: John Helmert III <jchelmert3@posteo.net>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'x11-misc/polybar')
-rw-r--r-- | x11-misc/polybar/Manifest | 1 | ||||
-rw-r--r-- | x11-misc/polybar/polybar-3.5.3.ebuild | 69 |
2 files changed, 70 insertions, 0 deletions
diff --git a/x11-misc/polybar/Manifest b/x11-misc/polybar/Manifest index 4655a3ada2b2..88dcd683936c 100644 --- a/x11-misc/polybar/Manifest +++ b/x11-misc/polybar/Manifest @@ -2,5 +2,6 @@ DIST i3ipcpp-21ce9060ac7c502225fdbd2f200b1cbdd8eca08d.tar.gz 191599 BLAKE2B 8548 DIST i3ipcpp-cb008b30fc5f3febfe467884cb0211ee3c16386b.tar.gz 43681 BLAKE2B a17c9764f429edd4a65d173ff43c139083a8831d9ee68d3024c033f039409efd486178a6225d06e3313642a9918298b1b60da1da75d49243973f8e2dd1fc855f SHA512 27a90d80f2de45743c2347be5ec5c88db58c4f3bb2aa44093c2a1e3178bfd5761ec806bdec9c6b6a4de6d1e67d5f14d4518e99611bf7e2984cfc880898357133 DIST polybar-3.4.3.tar.gz 253207 BLAKE2B 213b5ea67cc337c47f62afcdce9cacf66516e6f410d2d93570567cddf9f0f5b93764f16e3eaf7c03c56a5ddad62ade92bd83fcfe30c6b91d067c2343f7264342 SHA512 20ac34375da4634a7fd596f38e98a245186c94f8fd624d1dfdcd6633a3c8470fcc57946a50a59177e9d34689aeb5f6cde49e95b30ad699239a2aabbf0635d31a DIST polybar-3.5.2.tar.gz 282025 BLAKE2B 9d9dbd94ff998d9e44fa52739f585dc3c602ef7fa05ac8c4e3d2a0ed9d62adf5a19aadbc2b923b51c57d5a6108807eaf1614987b6d2887dcd47b0e41bc07c1c6 SHA512 0dcd7ce1c7fd67839ce7ee16061aef760c1cce06cea370834aa1055b22cb40dcb8e059fd9f80b87223a76aad1d7967610318a64139f5adbd9d90790a6a4b0b3a +DIST polybar-3.5.3.tar.gz 282640 BLAKE2B d3be62d912830a9d1118980b12b55747467b9e2cc8df4713cef2d4b9f4fa70c2b7030d3c04fb9abb467de20ed098443f64376fcfb1ad2bcbfcf06e59b03656aa SHA512 e381f1acb546811049a728631f2b0072ab58695d11590945f690d73cae6c119cd778f43236a3cfa7dc5926a12aaae7b95759fdb6d2a29d5684cd99612ca81aed DIST xpp-044e69d05db7f89339bda1ccd1efe0263b01c8f6.tar.gz 84121 BLAKE2B dea2384773803bbc5de2ec971ed0cf769b0af8b987bbcf918718647e4787b4713af54a358c029e9603c28c5424488731f76ecc430b6b124bcd9255aef893431f SHA512 646e159d47d6dac8f08a27a1cb54e2ef48e42cff952b55b3906c2021c424e015c070a31a7a1e70b62e0edc7a8b42b935a23b9a922eaab138d3f6929bc1fdb8d4 DIST xpp-8c019e6d7fefd2468791bc1cbf90d68ff7c1ba33.tar.gz 83974 BLAKE2B 6ea8599136288c006b6993bd6c704ec32d82773153733b4bc6a9c3f326eaf6f3b155d92f270eeb14d57b399f7b5ea0f6bdd5cee41bb5bdf4c1650f337b77f857 SHA512 92874b25305b3be777e739122ff82f1ba16b8e2e445e8ee4891918074ea8ea371f2016d7901cfc477d0286a9e15910c4cee431a11eb71e32728bfbf561313e4f diff --git a/x11-misc/polybar/polybar-3.5.3.ebuild b/x11-misc/polybar/polybar-3.5.3.ebuild new file mode 100644 index 000000000000..cf06663c956e --- /dev/null +++ b/x11-misc/polybar/polybar-3.5.3.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9} ) +XPP_COMMIT="044e69d05db7f89339bda1ccd1efe0263b01c8f6" +I3IPCPP_COMMIT="cb008b30fc5f3febfe467884cb0211ee3c16386b" + +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}/archive/${PV}.tar.gz -> ${P}.tar.gz + https://github.com/polybar/xpp/archive/${XPP_COMMIT}.tar.gz -> xpp-${XPP_COMMIT}.tar.gz + https://github.com/polybar/i3ipcpp/archive/${I3IPCPP_COMMIT}.tar.gz -> i3ipcpp-${I3IPCPP_COMMIT}.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_MULTI_USEDEP}]') + x11-libs/cairo[X,xcb(+)] + x11-libs/libxcb[xkb] + 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? ( net-wireless/wireless-tools ) + pulseaudio? ( media-sound/pulseaudio ) +" + +RDEPEND="${DEPEND}" + +src_prepare() { + rmdir "${S}/lib/xpp" || die + mv "${WORKDIR}/xpp-${XPP_COMMIT}" "${S}/lib/xpp" || die + + rmdir "${S}/lib/i3ipcpp" || die + mv "${WORKDIR}/i3ipcpp-${I3IPCPP_COMMIT}" "${S}/lib/i3ipcpp" || die + + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DENABLE_ALSA="$(usex alsa)" + -DENABLE_CURL="$(usex curl)" + -DBUILD_DOC="$(usex doc)" + -DENABLE_I3="$(usex i3wm)" + -DBUILD_IPC_MSG="$(usex ipc)" + -DENABLE_MPD="$(usex mpd)" + -DENABLE_NETWORK="$(usex network)" + -DENABLE_PULSEAUDIO="$(usex pulseaudio)" + ) + + cmake_src_configure +} |