freebsd-ports/multimedia/libva/Makefile

34 lines
772 B
Makefile

PORTNAME= libva
DISTVERSION= 2.22.0
CATEGORIES= multimedia
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
PATCHFILES+= 9ed99b6b0b3b.patch:-p1 # https://github.com/intel/libva/pull/667
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= WAYLAND X11
OPTIONS_DEFAULT=WAYLAND X11
OPTIONS_SUB= yes
WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland
WAYLAND_MESON_YES= with_wayland
X11_USES= gl xorg
X11_USE= GL=gl XORG=x11,xcb,xext,xfixes,xorgproto
X11_MESON_YES= with_glx with_x11
.include <bsd.port.mk>