1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/multimedia/libva/Makefile
2024-03-14 12:34:34 +01:00

35 lines
850 B
Makefile

PORTNAME= libva
DISTVERSION= 2.21.0
CATEGORIES= multimedia
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
PATCHFILES+= 9ed99b6b0b3b.patch:-p1 # https://github.com/intel/libva/pull/667
PATCHFILES+= 6b0efda45140.patch:-p1 # https://github.com/intel/libva/pull/758
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>