# $FreeBSD: tags/RELEASE_12_0_0/multimedia/libva-utils/Makefile 474613 2018-07-14 06:37:14Z madpilot $

PORTNAME=	libva-utils
PORTVERSION=	2.2.0
CATEGORIES=	multimedia

MAINTAINER=	madpilot@FreeBSD.org
COMMENT=	Collection of tests and utilities for VAAPI

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libva.so:multimedia/libva \
		libdrm.so:graphics/libdrm

USES=		autoreconf gmake libtool pkgconfig tar:bzip2
USE_XORG=	x11 xext xfixes
GNU_CONFIGURE=	yes
INSTALL_TARGET=	install-strip

USE_GITHUB=	yes
GH_ACCOUNT=	01org

OPTIONS_DEFINE=	DEBUG WAYLAND
WAYLAND_DESC=	Support wayland protocol
OPTIONS_SUB=	yes

DEBUG_CFLAGS=		-D_DEBUG
DEBUG_CFLAGS_OFF=	-DNDEBUG

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

.include <bsd.port.mk>
