pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

polybar: add new package



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Wed Feb 11 22:06:37 2026 +0100
Changeset:	c2e76b7192a244ee5a6b3fefefe313fa2f43c27d

Modified Files:
	Makefile
Added Files:
	polybar/DESCR
	polybar/Makefile
	polybar/PLIST
	polybar/TODO
	polybar/distinfo

Log Message:
polybar: add new package

Incomplete, uses sys/inotify.h

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c2e76b7192a244ee5a6b3fefefe313fa2f43c27d

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile         |  3 +++
 polybar/DESCR    |  3 +++
 polybar/Makefile | 32 ++++++++++++++++++++++++++++++++
 polybar/PLIST    |  4 ++++
 polybar/TODO     |  1 +
 polybar/distinfo |  5 +++++
 6 files changed, 48 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index befabdc3a8..621e906ed9 100644
--- a/Makefile
+++ b/Makefile
@@ -3312,6 +3312,7 @@ SUBDIR+=	poke-git
 SUBDIR+=	polarssl11
 SUBDIR+=	polipo
 SUBDIR+=	polly
+SUBDIR+=	polybar
 SUBDIR+=	polyclipping
 SUBDIR+=	polylib
 SUBDIR+=	polymul
@@ -3333,6 +3334,7 @@ SUBDIR+=	postgresql-pgvector
 SUBDIR+=	postoffice
 SUBDIR+=	pounce
 SUBDIR+=	povray
+SUBDIR+=	powerdns-recursor
 SUBDIR+=	powerlevel10k
 SUBDIR+=	powerline
 SUBDIR+=	powerpc-none-elf-binutils
@@ -4094,6 +4096,7 @@ SUBDIR+=	py-junos-netconify
 SUBDIR+=	py-kabuki
 SUBDIR+=	py-kaleido
 SUBDIR+=	py-karta
+SUBDIR+=	py-kasa
 SUBDIR+=	py-kcs11
 SUBDIR+=	py-kenv
 SUBDIR+=	py-keras
diff --git a/polybar/DESCR b/polybar/DESCR
new file mode 100644
index 0000000000..3da9c8d969
--- /dev/null
+++ b/polybar/DESCR
@@ -0,0 +1,3 @@
+Polybar aims to help users build beautiful and highly customizable
+status bars for their desktop environment, without the need of
+having a black belt in shell scripting.
diff --git a/polybar/Makefile b/polybar/Makefile
new file mode 100644
index 0000000000..84d9d6db4d
--- /dev/null
+++ b/polybar/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD$
+
+DISTNAME=	polybar-3.7.2
+CATEGORIES=	wm
+MASTER_SITES=	${MASTER_SITE_GITHUB:=polybar/}
+GITHUB_RELEASE=	${PKGVERSION_NOREV}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/polybar/polybar/
+COMMENT=	Fast and easy-to-use status bar
+LICENSE=	mit
+
+TOOL_DEPENDS+=	${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
+TOOL_DEPENDS+=	${PYPKGPREFIX}-xcbgen-[0-9]*:../../x11/py-xcbgen
+
+USE_LANGUAGES=	c c++
+USE_TOOLS+=	pkg-config
+
+CMAKE_CONFIGURE_ARGS+=	-DSPHINX_BUILD=${PREFIX}/bin/sphinx-build-${PYVERSSUFFIX}
+
+# uses inotify
+ONLY_FOR_PLATFORM=	Linux-*-*
+
+.include "../../graphics/cairo/buildlink3.mk"
+.include "../../devel/libuv/buildlink3.mk"
+.include "../../x11/libxcb/buildlink3.mk"
+.include "../../x11/xcb-util-image/buildlink3.mk"
+.include "../../x11/xcb-util-wm/buildlink3.mk"
+.include "../../x11/xcb-util/buildlink3.mk"
+.include "../../lang/python/pyversion.mk"
+.include "../../devel/cmake/build.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/polybar/PLIST b/polybar/PLIST
new file mode 100644
index 0000000000..92ba51a2d7
--- /dev/null
+++ b/polybar/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD$
+@comment TODO: to fill this file with the file listing:
+@comment TODO: 1. run "/usr/bin/make package"
+@comment TODO: 2. run "/usr/bin/make print-PLIST"
diff --git a/polybar/TODO b/polybar/TODO
new file mode 100644
index 0000000000..a843be90ed
--- /dev/null
+++ b/polybar/TODO
@@ -0,0 +1 @@
+Finish package - seems to be Linux-only.
diff --git a/polybar/distinfo b/polybar/distinfo
new file mode 100644
index 0000000000..cc536b2bb2
--- /dev/null
+++ b/polybar/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (polybar-3.7.2.tar.gz) = ef84aba14007cd29599c20d1fecc7cac5b8d3dd08ed3715a4ee743450aea7b8b
+SHA512 (polybar-3.7.2.tar.gz) = a0ee701533e101789f7eb95c71717ecf1d389a10b202d19261f9f71fee9d43fb8be17fb63e4a056c5e8bd62d2e669c95ee4d4b8c6bb06b933e1e4b26ab1a0624
+Size (polybar-3.7.2.tar.gz) = 494383 bytes


Home | Main Index | Thread Index | Old Index