f4df0475e0
screencopy-dmabuf is OPENGL option (see r506434 for rationale). Disabled by default like upstream which deems it experimental. Changes: https://github.com/any1/wayvnc/releases/tag/v0.2.0 Changes: https://github.com/any1/wayvnc/compare/85fca04...v0.2.0 Changes: https://github.com/any1/neatvnc/releases/tag/v0.2.0 Changes: https://github.com/any1/neatvnc/compare/b52f5cd...v0.2.0 Changes: https://github.com/any1/aml/compare/696f0ee...v0.1.0
39 lines
881 B
Makefile
39 lines
881 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= neatvnc
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 0.2.0
|
|
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= libaml.so:devel/aml
|
|
|
|
USES= compiler:c11 meson pkgconfig xorg
|
|
USE_GITHUB= yes
|
|
USE_XORG= pixman
|
|
USE_LDCONFIG= yes
|
|
GH_ACCOUNT= any1
|
|
|
|
OPTIONS_DEFINE= GNUTLS JPEG
|
|
OPTIONS_DEFAULT=GNUTLS JPEG
|
|
|
|
GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls
|
|
GNUTLS_MESON_ENABLED= tls
|
|
|
|
JPEG_LIB_DEPENDS= libturbojpeg.so:graphics/libjpeg-turbo
|
|
JPEG_MESON_ENABLED= jpeg
|
|
|
|
post-patch:
|
|
# Extract (snapshot) version from the port instead of meson.build
|
|
@${REINPLACE_CMD} -i .nogit -e 's/git.found()/false/' \
|
|
-e '/project_version/s/@0@/${DISTVERSIONFULL}/' \
|
|
${WRKSRC}/meson.build
|
|
|
|
.include <bsd.port.mk>
|