1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00
freebsd-ports/multimedia/libva/Makefile
2023-07-04 16:20:12 +00:00

38 lines
789 B
Makefile

PORTNAME= libva
DISTVERSION= 2.19.0
CATEGORIES= multimedia
MAINTAINER= jbeich@FreeBSD.org
COMMENT?= VAAPI wrapper and dummy driver
WWW= https://github.com/intel/libva
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,xcb,xext,xfixes,xorgproto
X11_MESON_YES= with_x11
.include <bsd.port.mk>