mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-06 01:57:40 +00:00
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
This commit is contained in:
parent
fac9c630f3
commit
4ae14ebeac
@ -392,6 +392,7 @@
|
||||
SUBDIR += wezterm
|
||||
SUBDIR += wf-shell
|
||||
SUBDIR += wl-clipboard
|
||||
SUBDIR += wl-mirror
|
||||
SUBDIR += wlogout
|
||||
SUBDIR += wlr-randr
|
||||
SUBDIR += wlrctl
|
||||
|
29
x11/wl-mirror/Makefile
Normal file
29
x11/wl-mirror/Makefile
Normal file
@ -0,0 +1,29 @@
|
||||
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>
|
5
x11/wl-mirror/distinfo
Normal file
5
x11/wl-mirror/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
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
|
15
x11/wl-mirror/pkg-descr
Normal file
15
x11/wl-mirror/pkg-descr
Normal file
@ -0,0 +1,15 @@
|
||||
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
|
Loading…
Reference in New Issue
Block a user