aboutsummaryrefslogtreecommitdiff
path: root/multimedia/libva-utils/Makefile
blob: 4f806fb31576372a5031250b3448b0fa4fa7862e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# $FreeBSD$

PORTNAME=	libva-utils
PORTVERSION=	2.5.0
PORTREVISION=	2
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 compiler:c++11-lang gmake libtool pkgconfig tar:bzip2

GNU_CONFIGURE=	yes
INSTALL_TARGET=	install-strip

USE_GITHUB=	yes
GH_ACCOUNT=	intel

OPTIONS_DEFINE=	DEBUG WAYLAND X11
OPTIONS_DEFAULT=WAYLAND X11
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

X11_CONFIGURE_ENABLE=		x11
X11_USE=			XORG=x11,xext,xfixes

.include <bsd.port.mk>