# $FreeBSD: head/multimedia/libva/Makefile 569031 2021-03-23 15:05:55Z jbeich $ PORTNAME= libva DISTVERSION= 2.11.0 CATEGORIES= multimedia PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCHFILES+= 0c9e5f2fff22.patch:-p1 # https://github.com/intel/libva/pull/292 PATCHFILES+= 657d77406161.patch:-p1 # https://github.com/intel/libva/pull/292 MAINTAINER= jbeich@FreeBSD.org COMMENT?= VAAPI wrapper and dummy driver LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS+= libdrm.so:graphics/libdrm USES= meson pkgconfig USE_GITHUB= yes USE_LDCONFIG= yes GH_ACCOUNT= intel OPTIONS_DEFINE= GLX WAYLAND X11 OPTIONS_DEFAULT=GLX WAYLAND X11 OPTIONS_EXCLUDE?=GLX # enslaved until subpackaging OPTIONS_SUB= yes GLX_LIB_DEPENDS= libva-x11.so:multimedia/libva GLX_USES= gl GLX_USE= GL=gl GLX_MESON_YES= with_glx GLX_IMPLIES= X11 WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland WAYLAND_MESON_YES= with_wayland X11_USES= xorg X11_USE= XORG=x11,xorgproto,xext,xfixes X11_MESON_YES= with_x11 .include