PORTNAME=	libva-utils
PORTVERSION=	2.24.0
CATEGORIES=	multimedia

MAINTAINER=	jbeich@FreeBSD.org
COMMENT=	Collection of tests and utilities for VAAPI
WWW=		https://github.com/intel/libva-utils

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libva-drm.so:multimedia/libva

USES=		compiler:c++11-lang meson pkgconfig
USE_GITHUB=	yes
GH_ACCOUNT=	intel

OPTIONS_DEFINE=	WAYLAND X11
OPTIONS_DEFAULT=WAYLAND X11
OPTIONS_SUB=	yes

WAYLAND_LIB_DEPENDS=	libwayland-client.so:graphics/wayland
WAYLAND_MESON_TRUE=	wayland

X11_USES=		xorg
X11_USE=		XORG=x11,xext,xfixes
X11_MESON_TRUE=		x11

.include <bsd.port.mk>
