git: 4fcea1d97a34 - main - x11/shaderbg: add new port

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Fri, 08 Dec 2023 11:02:37 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4fcea1d97a3436c6ac98c1993e27b9f9c35ce5ed

commit 4fcea1d97a3436c6ac98c1993e27b9f9c35ce5ed
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-03-16 21:43:29 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-12-08 11:02:15 +0000

    x11/shaderbg: add new port
    
    This program lets you render shaders as a wall paper. It works on
    Wayland compositors that support wlr-layer-shell.
    
    https://sr.ht/~mstoeckl/shaderbg/
---
 x11/Makefile           |  1 +
 x11/shaderbg/Makefile  | 20 ++++++++++++++++++++
 x11/shaderbg/distinfo  |  3 +++
 x11/shaderbg/pkg-descr |  2 ++
 4 files changed, 26 insertions(+)

diff --git a/x11/Makefile b/x11/Makefile
index 0007b88f529d..f0dcb83b615a 100644
--- a/x11/Makefile
+++ b/x11/Makefile
@@ -382,6 +382,7 @@
     SUBDIR += setlayout
     SUBDIR += setxkbmap
     SUBDIR += sfwbar
+    SUBDIR += shaderbg
     SUBDIR += shikane
     SUBDIR += shotman
     SUBDIR += showkeys
diff --git a/x11/shaderbg/Makefile b/x11/shaderbg/Makefile
new file mode 100644
index 000000000000..9d9f3aec132b
--- /dev/null
+++ b/x11/shaderbg/Makefile
@@ -0,0 +1,20 @@
+PORTNAME=	shaderbg
+DISTVERSION=	s20230316
+DISTVERSIONSUFFIX=	-0-g027d4f8
+CATEGORIES=	x11 wayland
+MASTER_SITES=	https://git.sr.ht/~mstoeckl/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/
+
+MAINTAINER=	jbeich@FreeBSD.org
+COMMENT=	Render shaders as a live wallpaper on Wayland
+WWW=		https://sr.ht/~mstoeckl/shaderbg/
+
+LICENSE=	GPLv3+
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+LIB_DEPENDS=	libwayland-egl.so:graphics/wayland
+
+USES=		compiler:c11 gl meson pkgconfig
+USE_GL=		egl
+PLIST_FILES=	bin/${PORTNAME}
+
+.include <bsd.port.mk>
diff --git a/x11/shaderbg/distinfo b/x11/shaderbg/distinfo
new file mode 100644
index 000000000000..1bcfff3efb06
--- /dev/null
+++ b/x11/shaderbg/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1679003009
+SHA256 (shaderbg-s20230316-0-g027d4f8.tar.gz) = 02b35482e199d9b8b46632cf9ffc20adbd1795737896b953e986d7034b0a6f65
+SIZE (shaderbg-s20230316-0-g027d4f8.tar.gz) = 39148
diff --git a/x11/shaderbg/pkg-descr b/x11/shaderbg/pkg-descr
new file mode 100644
index 000000000000..4e9697dc43f8
--- /dev/null
+++ b/x11/shaderbg/pkg-descr
@@ -0,0 +1,2 @@
+This program lets you render shaders as a wall paper. It works on
+Wayland compositors that support wlr-layer-shell.