summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/Makefile2
-rw-r--r--net/neatvnc/Makefile29
-rw-r--r--net/neatvnc/distinfo3
-rw-r--r--net/neatvnc/pkg-descr4
-rw-r--r--net/neatvnc/pkg-plist5
-rw-r--r--net/wayvnc/Makefile28
-rw-r--r--net/wayvnc/distinfo3
-rw-r--r--net/wayvnc/pkg-descr3
8 files changed, 77 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index f1710aa48c68..846d5ab8f0e7 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -482,6 +482,7 @@
SUBDIR += ndisc6
SUBDIR += ndpi
SUBDIR += ndproxy
+ SUBDIR += neatvnc
SUBDIR += nepenthes
SUBDIR += net6
SUBDIR += netatalk3
@@ -1517,6 +1518,7 @@
SUBDIR += wackamole
SUBDIR += wakeonlan
SUBDIR += waypipe
+ SUBDIR += wayvnc
SUBDIR += whois
SUBDIR += widentd
SUBDIR += wireguard
diff --git a/net/neatvnc/Makefile b/net/neatvnc/Makefile
new file mode 100644
index 000000000000..b92e470f1a38
--- /dev/null
+++ b/net/neatvnc/Makefile
@@ -0,0 +1,29 @@
+# $FreeBSD$
+
+PORTNAME= neatvnc
+PORTVERSION= s20200113
+CATEGORIES= net
+
+MAINTAINER= jbeich@FreeBSD.org
+COMMENT= Liberally licensed VNC server library
+
+LICENSE= ISCL
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+BUILD_DEPENDS= ${LOCALBASE}/include/libdrm/drm_fourcc.h:graphics/libdrm
+LIB_DEPENDS= libuv.so:devel/libuv
+
+USES= compiler:c11 meson pkgconfig xorg
+USE_GITHUB= yes
+USE_XORG= pixman
+USE_LDCONFIG= yes
+GH_ACCOUNT= any1
+GH_TAGNAME= 6bb3362
+
+OPTIONS_DEFINE= JPEG
+OPTIONS_DEFAULT=JPEG
+
+JPEG_LIB_DEPENDS= libturbojpeg.so:graphics/libjpeg-turbo
+JPEG_MESON_ENABLED= tight-encoding
+
+.include <bsd.port.mk>
diff --git a/net/neatvnc/distinfo b/net/neatvnc/distinfo
new file mode 100644
index 000000000000..e1fbb749b177
--- /dev/null
+++ b/net/neatvnc/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1578911972
+SHA256 (any1-neatvnc-s20200113-6bb3362_GH0.tar.gz) = a5cffd98ffbcc36c77aaa1cfdc9dc3dd575120cfeb629305d27af801b7d514d7
+SIZE (any1-neatvnc-s20200113-6bb3362_GH0.tar.gz) = 623811
diff --git a/net/neatvnc/pkg-descr b/net/neatvnc/pkg-descr
new file mode 100644
index 000000000000..fb29c44d9e02
--- /dev/null
+++ b/net/neatvnc/pkg-descr
@@ -0,0 +1,4 @@
+This is a liberally licensed VNC server library that's intended to be
+fast and neat.
+
+WWW: https://github.com/any1/neatvnc
diff --git a/net/neatvnc/pkg-plist b/net/neatvnc/pkg-plist
new file mode 100644
index 000000000000..a3b6e11654f5
--- /dev/null
+++ b/net/neatvnc/pkg-plist
@@ -0,0 +1,5 @@
+include/neatvnc.h
+lib/libneatvnc.so
+lib/libneatvnc.so.0
+lib/libneatvnc.so.0.0.0
+libdata/pkgconfig/neatvnc.pc
diff --git a/net/wayvnc/Makefile b/net/wayvnc/Makefile
new file mode 100644
index 000000000000..e0642377fb8f
--- /dev/null
+++ b/net/wayvnc/Makefile
@@ -0,0 +1,28 @@
+# $FreeBSD$
+
+PORTNAME= wayvnc
+PORTVERSION= s20200115
+CATEGORIES= net
+
+MAINTAINER= jbeich@FreeBSD.org
+COMMENT= VNC server for wlroots-based compositors
+
+LICENSE= ISCL
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto
+LIB_DEPENDS= libuv.so:devel/libuv \
+ libwayland-client.so:graphics/wayland \
+ libneatvnc.so:net/neatvnc \
+ libxkbcommon.so:x11/libxkbcommon
+
+USES= compiler:c11 meson pkgconfig xorg
+USE_GITHUB= yes
+USE_XORG= pixman
+USE_GL= egl glesv2
+USE_LDCONFIG= yes
+GH_ACCOUNT= any1
+GH_TAGNAME= e2079a7
+PLIST_FILES= bin/${PORTNAME}
+
+.include <bsd.port.mk>
diff --git a/net/wayvnc/distinfo b/net/wayvnc/distinfo
new file mode 100644
index 000000000000..fecc55613a4d
--- /dev/null
+++ b/net/wayvnc/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1579120496
+SHA256 (any1-wayvnc-s20200115-e2079a7_GH0.tar.gz) = 59218b7dcad9e67ee1c00dde05743e2322faea545e6828ac758859addf07a117
+SIZE (any1-wayvnc-s20200115-e2079a7_GH0.tar.gz) = 24474
diff --git a/net/wayvnc/pkg-descr b/net/wayvnc/pkg-descr
new file mode 100644
index 000000000000..015fbc265086
--- /dev/null
+++ b/net/wayvnc/pkg-descr
@@ -0,0 +1,3 @@
+This is a VNC server for wlroots based Wayland compositors.
+
+WWW: https://github.com/any1/wayvnc