forked from Lainports/freebsd-ports
- Update libva-intel-driver to 2.0.0
- Update libva-utils to 2.0.0
- Bump dependent ports due to shlib bump
- Import upstream patch to fix multimedia/mpv [1]
- Import upstream patch to fix multimedia/gstreamer1-vaapi [2]
Approved by: cpm [1], multimedia (timeout) [2]
Obtained from: 2ecf240b1c [1]
https://cgit.freedesktop.org/gstreamer/gstreamer-vaapi/commit/gst-libs/gst/vaapi/gstvaapiutils.c?id=777bba473e3ed1c7b8b7f7f0322892851c70dfd9 [2]
Differential Revision: https://reviews.freebsd.org/D12761
58 lines
1.3 KiB
Makefile
58 lines
1.3 KiB
Makefile
# Created by: ijliao
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libvncserver
|
|
PORTVERSION= 0.9.11
|
|
PORTREVISION= 2
|
|
DISTVERSIONPREFIX= LibVNCServer-
|
|
CATEGORIES= net devel
|
|
|
|
MAINTAINER= araujo@FreeBSD.org
|
|
COMMENT= Provide an easy API to a custom vnc server
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LIB_DEPENDS= libpng.so:graphics/png
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= LibVNC
|
|
|
|
USES= autoreconf jpeg libtool pathfix pkgconfig
|
|
USE_LDCONFIG= yes
|
|
GNU_CONFIGURE= yes
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
INSTALL_TARGET= install-strip
|
|
|
|
OPTIONS_DEFINE= GCRYPT IPV6 VAAPI
|
|
OPTIONS_SINGLE= SSL
|
|
OPTIONS_SINGLE_SSL= GNUTLS OPENSSL
|
|
OPTIONS_DEFAULT= OPENSSL
|
|
GCRYPT_DESC= libgcrypt support
|
|
|
|
GNUTLS_IMPLIES= GCRYPT
|
|
GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls
|
|
GNUTLS_CONFIGURE_WITH= gnutls
|
|
|
|
OPENSSL_CONFIGURE_WITH= crypto ssl
|
|
OPENSSL_USES= ssl
|
|
|
|
GCRYPT_LIB_DEPENDS= libgcrypt.so:security/libgcrypt \
|
|
libgpg-error.so:security/libgpg-error
|
|
GCRYPT_CONFIGURE_WITH= gcrypt
|
|
|
|
IPV6_CONFIGURE_WITH= ipv6
|
|
|
|
VAAPI_LIB_DEPENDS= libva.so:multimedia/libva
|
|
VAAPI_CONFIGURE_WITH= libva
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/rfb/default8x16.h ${STAGEDIR}${PREFIX}/include/rfb
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PORT_OPTIONS:MOPENSSL} && ${SSL_DEFAULT:Mopenssl-devel}
|
|
BROKEN= Does not build with openssl-devel
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|