x11-wm/cagebreak: add new port

This is Cagebreak, a Wayland tiling compositor. The goal of this
project is to provide a successor to ratpoison for Wayland users.
However, this is no reimplementation of ratpoison. Should you like to
know if a feature will be implemented, open an issue or get in touch
with the development team.

https://github.com/project-repo/cagebreak
This commit is contained in:
Jan Beich 2022-01-26 21:45:41 +00:00
parent 7b8336a02a
commit 01ef0a9666
5 changed files with 67 additions and 0 deletions

View file

@ -13,6 +13,7 @@
SUBDIR += blackbox
SUBDIR += bspwm
SUBDIR += cage
SUBDIR += cagebreak
SUBDIR += chamfer
SUBDIR += compiz
SUBDIR += compiz-plugins-extra

47
x11-wm/cagebreak/Makefile Normal file
View file

@ -0,0 +1,47 @@
PORTNAME= cagebreak
DISTVERSION= 1.8.3
CATEGORIES= x11-wm
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Wayland tiling compositor inspired by ratpoison
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \
wayland-protocols>=1.14:graphics/wayland-protocols \
wlroots>=0.15.0<0.16.0:x11-toolkits/wlroots
LIB_DEPENDS= libevdev.so:devel/libevdev \
libudev.so:devel/libudev-devd \
libwayland-server.so:graphics/wayland \
libfontconfig.so:x11-fonts/fontconfig \
libwlroots.so:x11-toolkits/wlroots \
libinput.so:x11/libinput \
libxkbcommon.so:x11/libxkbcommon
USES= compiler:c11 gnome meson pkgconfig xorg
USE_GITHUB= yes
USE_GNOME= cairo pango
USE_XORG= pixman
GH_ACCOUNT= project-repo
MESON_ARGS= -Dversion_override="${DISTVERSIONFULL}" # if snapshot
PLIST_FILES= bin/${PORTNAME} \
etc/xdg/${PORTNAME}/config
OPTIONS_DEFINE= MANPAGES X11
OPTIONS_DEFAULT=MANPAGES X11
MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc
MANPAGES_MESON_TRUE= man-pages
MANPAGES_PLIST_FILES= man/man1/${PORTNAME}.1.gz \
man/man5/${PORTNAME}-config.5.gz
X11_MESON_TRUE= xwayland
post-patch:
# Respect PREFIX for system-wide config
@${REINPLACE_CMD} -e 's,/etc,${PREFIX}&,' \
${WRKSRC}/${PORTNAME}.c \
${WRKSRC}/meson.build
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1643233541
SHA256 (project-repo-cagebreak-1.8.3_GH0.tar.gz) = b90ad92927959fd0331f56282bf5839b53d27f136f74a72cbb96b563c88ce4e4
SIZE (project-repo-cagebreak-1.8.3_GH0.tar.gz) = 135885

View file

@ -0,0 +1,7 @@
This is Cagebreak, a Wayland tiling compositor. The goal of this
project is to provide a successor to ratpoison for Wayland users.
However, this is no reimplementation of ratpoison. Should you like to
know if a feature will be implemented, open an issue or get in touch
with the development team.
WWW: https://github.com/project-repo/cagebreak

View file

@ -0,0 +1,9 @@
[
{ type: install
message: <<EOM
Known issues:
- Running X11 applications (e.g., xterm) via Xwayland is broken, see
https://github.com/project-repo/cagebreak/issues/23
EOM
}
]