summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2023-03-16 22:43:29 +0100
committerJan Beich <jbeich@FreeBSD.org>2023-12-08 12:02:15 +0100
commit4fcea1d97a3436c6ac98c1993e27b9f9c35ce5ed (patch)
tree1263d649269b6fba00e761b571bdaa06a7cd801a /x11
parentx11/wscreensaver: use homepage recommended in README (diff)
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/
Diffstat (limited to 'x11')
-rw-r--r--x11/Makefile1
-rw-r--r--x11/shaderbg/Makefile20
-rw-r--r--x11/shaderbg/distinfo3
-rw-r--r--x11/shaderbg/pkg-descr2
4 files changed, 26 insertions, 0 deletions
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.