aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2020-10-26 14:12:13 +0800
committerJan Beich <jbeich@FreeBSD.org>2020-10-26 14:12:13 +0800
commitd4b49b35c65708646d20e7521432ec23fa9a5f3f (patch)
tree9a3f992496fdaa7537977701b0233a0a51b3402d /x11
parent0639f54f05c179ad0fea36348d485b36a1ef4173 (diff)
downloadfreebsd-ports-gnome-d4b49b35c65708646d20e7521432ec23fa9a5f3f.tar.gz
freebsd-ports-gnome-d4b49b35c65708646d20e7521432ec23fa9a5f3f.tar.zst
freebsd-ports-gnome-d4b49b35c65708646d20e7521432ec23fa9a5f3f.zip
x11/wlrctl: add new port
wlrctl is a command line utility for miscellaneous wlroots Wayland extensions. At this time, wlrctl supports the foreign-toplevel-mangement (window/toplevel command), virtual-keyboard (keyboard command), and virtual-pointer (pointer command) protocols. https://git.sr.ht/~brocellous/wlrctl
Diffstat (limited to 'x11')
-rw-r--r--x11/Makefile1
-rw-r--r--x11/wlrctl/Makefile33
-rw-r--r--x11/wlrctl/distinfo5
-rw-r--r--x11/wlrctl/pkg-descr6
4 files changed, 45 insertions, 0 deletions
diff --git a/x11/Makefile b/x11/Makefile
index d164363f002f..9799894d43db 100644
--- a/x11/Makefile
+++ b/x11/Makefile
@@ -346,6 +346,7 @@
SUBDIR += wf-shell
SUBDIR += wl-clipboard
SUBDIR += wlogout
+ SUBDIR += wlrctl
SUBDIR += wmappl
SUBDIR += wmblob
SUBDIR += wmbutton
diff --git a/x11/wlrctl/Makefile b/x11/wlrctl/Makefile
new file mode 100644
index 000000000000..584b98780933
--- /dev/null
+++ b/x11/wlrctl/Makefile
@@ -0,0 +1,33 @@
+# $FreeBSD$
+
+PORTNAME= wlrctl
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.2.1
+CATEGORIES= x11
+MASTER_SITES= https://git.sr.ht/~brocellous/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/
+
+PATCH_SITES= https://git.sr.ht/~brocellous/${PORTNAME}/commit/
+PATCHFILES+= a9f5699256c9.patch:-p1
+
+MAINTAINER= jbeich@FreeBSD.org
+COMMENT= Utility for miscellaneous wlroots extensions
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto
+LIB_DEPENDS= libwayland-client.so:graphics/wayland \
+ libxkbcommon.so:x11/libxkbcommon
+
+USES= compiler:c11 meson pkgconfig
+PLIST_FILES= bin/${PORTNAME} \
+ share/zsh/site-functions/_${PORTNAME}
+
+OPTIONS_DEFINE= MANPAGES
+OPTIONS_DEFAULT=MANPAGES
+
+MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc
+MANPAGES_MESON_ENABLED= man-pages
+MANPAGES_PLIST_FILES= man/man1/${PORTNAME}.1.gz
+
+.include <bsd.port.mk>
diff --git a/x11/wlrctl/distinfo b/x11/wlrctl/distinfo
new file mode 100644
index 000000000000..b00f095cba87
--- /dev/null
+++ b/x11/wlrctl/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1596702887
+SHA256 (wlrctl-v0.2.1.tar.gz) = 844ac533134efa4dd6a0e1c284a264113b9a469c4542fef5f5007cb43afb106b
+SIZE (wlrctl-v0.2.1.tar.gz) = 18413
+SHA256 (a9f5699256c9.patch) = 269fc826096ba3817b7fe457f513e9f081ec0318f5970ef03e35942c29073b6c
+SIZE (a9f5699256c9.patch) = 1487
diff --git a/x11/wlrctl/pkg-descr b/x11/wlrctl/pkg-descr
new file mode 100644
index 000000000000..0af8f103d94b
--- /dev/null
+++ b/x11/wlrctl/pkg-descr
@@ -0,0 +1,6 @@
+wlrctl is a command line utility for miscellaneous wlroots Wayland extensions.
+
+At this time, wlrctl supports the foreign-toplevel-mangement (window/toplevel command),
+virtual-keyboard (keyboard command), and virtual-pointer (pointer command) protocols.
+
+WWW: https://git.sr.ht/~brocellous/wlrctl