diff options
-rw-r--r-- | net/libvncserver/Makefile | 5 | ||||
-rw-r--r-- | net/libvncserver/files/patch-libvncclient_h264.c | 13 |
2 files changed, 17 insertions, 1 deletions
diff --git a/net/libvncserver/Makefile b/net/libvncserver/Makefile index 35a55037ca6e..22363e4a41b3 100644 --- a/net/libvncserver/Makefile +++ b/net/libvncserver/Makefile @@ -24,7 +24,7 @@ CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib INSTALL_TARGET= install-strip -OPTIONS_DEFINE= GCRYPT IPV6 +OPTIONS_DEFINE= GCRYPT IPV6 VAAPI OPTIONS_SINGLE= SSL OPTIONS_SINGLE_SSL= GNUTLS OPENSSL OPTIONS_DEFAULT= OPENSSL @@ -43,6 +43,9 @@ 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 diff --git a/net/libvncserver/files/patch-libvncclient_h264.c b/net/libvncserver/files/patch-libvncclient_h264.c new file mode 100644 index 000000000000..f81e0ece8350 --- /dev/null +++ b/net/libvncserver/files/patch-libvncclient_h264.c @@ -0,0 +1,13 @@ +--- libvncclient/h264.c.orig 2016-06-26 17:53:47 UTC ++++ libvncclient/h264.c +@@ -20,6 +20,10 @@ + #ifdef LIBVNCSERVER_CONFIG_LIBVA + + #include <X11/Xlib.h> ++#include <va/va_version.h> ++#if VA_CHECK_VERSION(0,39,2) ++#include <va/va_compat.h> ++#endif + #include <va/va_x11.h> + + enum _slice_types { |