Skip to content
Snippets Groups Projects
Commit 4ae14ebe authored by Jan Beich's avatar Jan Beich
Browse files

x11/wl-mirror: add new port

wl-mirror attempts to provide a solution to sway's lack of output
mirroring by mirroring an output onto a client surface.

Features:
- Mirror an output onto a resizable window
- Mirror an output onto another output by fullscreening the window
- Reacts to changes in output scale
- Preserves aspect ratio
- Corrects for flipped or rotated outputs
- Supports custom flips or rotations
- Supports mirroring custom regions of outputs
- Supports receiving additional options on stdin for changing the mirrored
  screen or region on the fly (works best when used with pipectl)

https://github.com/Ferdi265/wl-mirror
parent fac9c630
No related branches found
No related tags found
No related merge requests found
......@@ -392,6 +392,7 @@
SUBDIR += wezterm
SUBDIR += wf-shell
SUBDIR += wl-clipboard
SUBDIR += wl-mirror
SUBDIR += wlogout
SUBDIR += wlr-randr
SUBDIR += wlrctl
......
PORTNAME= wl-mirror
DISTVERSIONPREFIX= v
DISTVERSION= 0.8.1
CATEGORIES= x11
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Simple Wayland output mirror client
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= wayland-protocols>0:graphics/wayland-protocols
LIB_DEPENDS= libwayland-egl.so:graphics/wayland
USES= cmake gl localbase:ldflags
USE_GITHUB= yes
USE_GITLAB= nodefault
USE_GL= glesv2 egl
GH_ACCOUNT= Ferdi265
GL_TUPLE= https://gitlab.freedesktop.org:wlroots:wlr-protocols:d998ee6fc64ea7e066014023653d1271b7702c09:wlrproto/proto/wlr-protocols
PLIST_FILES= bin/${PORTNAME}
post-patch:
@${REINPLACE_CMD} 's,/usr,${LOCALBASE},' ${WRKSRC}/CMakeLists.txt
pre-configure:
@${TOUCH} ${WRKSRC_wlrproto}/.git
.include <bsd.port.mk>
TIMESTAMP = 1641000980
SHA256 (Ferdi265-wl-mirror-v0.8.1_GH0.tar.gz) = 933fcbbc1ffd98821887731d2b7f02d0ea5298db478d7f1d118f269c37a947ad
SIZE (Ferdi265-wl-mirror-v0.8.1_GH0.tar.gz) = 32683
SHA256 (wlroots-wlr-protocols-d998ee6fc64ea7e066014023653d1271b7702c09_GL0.tar.gz) = b5bb4a054321beb900378aa4ceb4f8f68d840f2e8c70defcc9d6ba644ab18959
SIZE (wlroots-wlr-protocols-d998ee6fc64ea7e066014023653d1271b7702c09_GL0.tar.gz) = 22764
wl-mirror attempts to provide a solution to sway's lack of output
mirroring by mirroring an output onto a client surface.
Features:
- Mirror an output onto a resizable window
- Mirror an output onto another output by fullscreening the window
- Reacts to changes in output scale
- Preserves aspect ratio
- Corrects for flipped or rotated outputs
- Supports custom flips or rotations
- Supports mirroring custom regions of outputs
- Supports receiving additional options on stdin for changing the mirrored
screen or region on the fly (works best when used with pipectl)
WWW: https://github.com/Ferdi265/wl-mirror
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment