summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Helmert III <ajak@gentoo.org>2023-11-27 10:12:27 -0800
committerJohn Helmert III <ajak@gentoo.org>2023-11-27 10:12:38 -0800
commitf4f01b595fe56623ab22cee8468b9f05cbc149bc (patch)
tree30f5f22a0a7b5b0335ef471d9ebbe7852a2d0bad /x11-misc
parentdev-lang/php: add 8.1.26, drop 8.1.25 (diff)
downloadgentoo-f4f01b595fe56623ab22cee8468b9f05cbc149bc.tar.gz
gentoo-f4f01b595fe56623ab22cee8468b9f05cbc149bc.tar.bz2
gentoo-f4f01b595fe56623ab22cee8468b9f05cbc149bc.zip
x11-misc/polybar: add 3.7.1
Signed-off-by: John Helmert III <ajak@gentoo.org>
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/polybar/Manifest1
-rw-r--r--x11-misc/polybar/polybar-3.7.1.ebuild62
2 files changed, 63 insertions, 0 deletions
diff --git a/x11-misc/polybar/Manifest b/x11-misc/polybar/Manifest
index 9f2b24f1d014..291bfbc0e7a1 100644
--- a/x11-misc/polybar/Manifest
+++ b/x11-misc/polybar/Manifest
@@ -1,2 +1,3 @@
DIST polybar-3.6.3.tar.gz 439838 BLAKE2B 522e95bb11e947008f0909401a769ba7ef44733e7edb4a067185bad610ac70077e1370e0e9da9fbff27b9f981b5285561f7c86e12fc5da79c383d794da6b4a86 SHA512 d8e08d2b217a353b967f58eb61907b05ed7b9c2b9e1b3a891f4cac91b37f1cf751b10b1e93e74e6414eb0beb1696f4ae64a0a43bfc6c0afa3863b72293217c2e
DIST polybar-3.7.0.tar.gz 494588 BLAKE2B 3b07cbee50c12fcdddedd79b0601e218b0016abd0d5b0ae7cfa0bda3c8c09a30ab3b606fdfac0207dbb51caccbe08f37275f4cfd81af21d5b706cc7706ea0d8e SHA512 ddc62fad546052a47b8235d44fb679349e95e19809d8a59f7178617ca33ff18e2507c7dcc7e15a5b2815088e91db40a66f0846aaf181b85dc5cebbaa4f758322
+DIST polybar-3.7.1.tar.gz 495162 BLAKE2B 33ffb3bb3595a41cb82a5ee70c79f5a31f23b6463c156a704546c803f0f006780c59b04fe2d1479f52dd15a44534687f130dfde794ac08218df2b634b34838de SHA512 cb248fd904a89dbd88d2d1ab71aeaf31e2b5781304f126aeb489da1238681e354d5347555076e814751ef5bb6717a3a6742d1726cf4721697e75694c7643bed4
diff --git a/x11-misc/polybar/polybar-3.7.1.ebuild b/x11-misc/polybar/polybar-3.7.1.ebuild
new file mode 100644
index 000000000000..452904b5f71e
--- /dev/null
+++ b/x11-misc/polybar/polybar-3.7.1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+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 ~riscv ~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:=
+ 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
+ )
+ mpd? ( media-libs/libmpdclient )
+ network? ( dev-libs/libnl:3 )
+ pulseaudio? ( media-libs/libpulse )
+"
+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"
+ -DCMAKE_INSTALL_SYSCONFDIR="${EPREFIX}/etc/"
+ )
+
+ cmake_src_configure
+}