git: 9d57e1a6b22f - main - sysutils/waynergy: new port

From: Baptiste Daroussin <bapt_at_FreeBSD.org>
Date: Tue, 13 Sep 2022 16:13:17 UTC
The branch main has been updated by bapt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9d57e1a6b22fd7db9ac510ba0e23fef05da1c696

commit 9d57e1a6b22fd7db9ac510ba0e23fef05da1c696
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2022-09-07 09:46:34 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2022-09-13 16:12:33 +0000

    sysutils/waynergy: new port
    
    An implementation of a synergy client for wayland compositors. Based on the
    upstream uSynergy library (heavily modified for more protocol support and a
    bit of paranoia).
    
    WWW:    https://github.com/r-c-f/waynergy
---
 sysutils/Makefile           |  1 +
 sysutils/waynergy/Makefile  | 24 ++++++++++++++++++++++++
 sysutils/waynergy/distinfo  |  3 +++
 sysutils/waynergy/pkg-descr |  5 +++++
 4 files changed, 33 insertions(+)

diff --git a/sysutils/Makefile b/sysutils/Makefile
index 8693aa8e6592..e2e3d9fd9629 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -1540,6 +1540,7 @@
     SUBDIR += watchfolder
     SUBDIR += watchman
     SUBDIR += watchmen
+    SUBDIR += waynergy
     SUBDIR += webmin
     SUBDIR += weedit
     SUBDIR += wemux
diff --git a/sysutils/waynergy/Makefile b/sysutils/waynergy/Makefile
new file mode 100644
index 000000000000..65bf6715450e
--- /dev/null
+++ b/sysutils/waynergy/Makefile
@@ -0,0 +1,24 @@
+PORTNAME=	waynergy
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.0.12
+CATEGORIES=	sysutils wayland
+
+MAINTAINER=	bapt@FreeBSD.org
+COMMENT=	Mouse and keyboard sharing utility
+
+LICENSE=	GPLv3
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+LIB_DEPENDS=	libwayland-client.so:graphics/wayland \
+		libxkbcommon.so:x11/libxkbcommon \
+		libtls.so:security/libretls
+
+USES=	meson pkgconfig
+USE_GITHUB=	yes
+GH_ACCOUNT=	r-c-f
+
+PLIST_FILES=	bin/waynergy \
+		bin/waynergy-clip-update \
+		share/applications/waynergy.desktop
+
+.include <bsd.port.mk>
diff --git a/sysutils/waynergy/distinfo b/sysutils/waynergy/distinfo
new file mode 100644
index 000000000000..efc3bebce7fd
--- /dev/null
+++ b/sysutils/waynergy/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1662536324
+SHA256 (r-c-f-waynergy-v0.0.12_GH0.tar.gz) = c9274f4e7d382f39df15e427820cb49a224a3a0e9dc1add1ccbcac3a3bbc93a2
+SIZE (r-c-f-waynergy-v0.0.12_GH0.tar.gz) = 68787
diff --git a/sysutils/waynergy/pkg-descr b/sysutils/waynergy/pkg-descr
new file mode 100644
index 000000000000..2a8544aaeeed
--- /dev/null
+++ b/sysutils/waynergy/pkg-descr
@@ -0,0 +1,5 @@
+An implementation of a synergy client for wayland compositors. Based on the
+upstream uSynergy library (heavily modified for more protocol support and a
+bit of paranoia).
+
+WWW:	https://github.com/r-c-f/waynergy