git: 78f09f845442 - main - x11/sandbar: add new port

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sat, 22 Jul 2023 11:06:52 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=78f09f845442dc18dbe4b27fb664c4a3f67e6c14

commit 78f09f845442dc18dbe4b27fb664c4a3f67e6c14
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-06-30 17:46:12 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-07-22 10:45:52 +0000

    x11/sandbar: add new port
    
    dwm-like bar for river.
    
    https://github.com/kolunmi/sandbar
---
 x11/Makefile          |  1 +
 x11/sandbar/Makefile  | 30 ++++++++++++++++++++++++++++++
 x11/sandbar/distinfo  |  3 +++
 x11/sandbar/pkg-descr |  1 +
 4 files changed, 35 insertions(+)

diff --git a/x11/Makefile b/x11/Makefile
index 774f9f676790..a54b9b5171eb 100644
--- a/x11/Makefile
+++ b/x11/Makefile
@@ -344,6 +344,7 @@
     SUBDIR += rxvt-unicode
     SUBDIR += sakura
     SUBDIR += salut
+    SUBDIR += sandbar
     SUBDIR += sbxkb
     SUBDIR += screen-message
     SUBDIR += screengrab
diff --git a/x11/sandbar/Makefile b/x11/sandbar/Makefile
new file mode 100644
index 000000000000..8a6a947a8376
--- /dev/null
+++ b/x11/sandbar/Makefile
@@ -0,0 +1,30 @@
+PORTNAME=	sandbar
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.1
+CATEGORIES=	x11 wayland
+
+MAINTAINER=	jbeich@FreeBSD.org
+COMMENT=	dwm-like bar for the river compositor
+WWW=		https://github.com/kolunmi/sandbar
+
+LICENSE=	GPLv3+
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BROKEN_FreeBSD_12=	ld: error: undefined symbol: memfd_create
+
+BUILD_DEPENDS=	evdev-proto>0:devel/evdev-proto \
+		tllist>=1.0.1:devel/tllist \
+		wayland-protocols>0:graphics/wayland-protocols
+LIB_DEPENDS=	libwayland-client.so:graphics/wayland \
+		libfcft.so:x11-fonts/fcft
+
+USES=		gmake pkgconfig xorg
+USE_GITHUB=	yes
+USE_XORG=	pixman
+GH_ACCOUNT=	kolunmi
+PLIST_FILES=	bin/${PORTNAME}
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/x11/sandbar/distinfo b/x11/sandbar/distinfo
new file mode 100644
index 000000000000..c3f453c9314b
--- /dev/null
+++ b/x11/sandbar/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1688147172
+SHA256 (kolunmi-sandbar-v0.1_GH0.tar.gz) = 5e875d6aca54c195d1842c124e48a7385eaada67a7160adbc279c6d6fa0d2b48
+SIZE (kolunmi-sandbar-v0.1_GH0.tar.gz) = 49411
diff --git a/x11/sandbar/pkg-descr b/x11/sandbar/pkg-descr
new file mode 100644
index 000000000000..9c5867b77db1
--- /dev/null
+++ b/x11/sandbar/pkg-descr
@@ -0,0 +1 @@
+dwm-like bar for river.