Lines 2-39
Link Here
|
2 |
|
2 |
|
3 |
PORTNAME= libva-utils |
3 |
PORTNAME= libva-utils |
4 |
PORTVERSION= 2.6.0 |
4 |
PORTVERSION= 2.6.0 |
|
|
5 |
PORTREVISION= 1 |
5 |
CATEGORIES= multimedia |
6 |
CATEGORIES= multimedia |
6 |
|
7 |
|
7 |
MAINTAINER= madpilot@FreeBSD.org |
8 |
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ |
|
|
9 |
PATCHFILES+= 4aeb5254a191.patch:-p1 # https://github.com/intel/libva-utils/pull/183 |
10 |
PATCHFILES+= 96e150ddbd93.patch:-p1 # https://github.com/intel/libva-utils/pull/184 |
11 |
|
12 |
MAINTAINER= jbeich@FreeBSD.org |
8 |
COMMENT= Collection of tests and utilities for VAAPI |
13 |
COMMENT= Collection of tests and utilities for VAAPI |
9 |
|
14 |
|
10 |
LICENSE= MIT |
15 |
LICENSE= MIT |
11 |
LICENSE_FILE= ${WRKSRC}/COPYING |
16 |
LICENSE_FILE= ${WRKSRC}/COPYING |
12 |
|
17 |
|
13 |
LIB_DEPENDS= libva.so:multimedia/libva \ |
18 |
LIB_DEPENDS= libva-drm.so:multimedia/libva |
14 |
libdrm.so:graphics/libdrm |
|
|
15 |
|
16 |
USES= autoreconf compiler:c++11-lang gmake libtool pkgconfig tar:bzip2 |
17 |
|
18 |
GNU_CONFIGURE= yes |
19 |
INSTALL_TARGET= install-strip |
20 |
|
19 |
|
|
|
20 |
USES= meson pkgconfig |
21 |
USE_GITHUB= yes |
21 |
USE_GITHUB= yes |
22 |
GH_ACCOUNT= intel |
22 |
GH_ACCOUNT= intel |
23 |
|
23 |
|
24 |
OPTIONS_DEFINE= DEBUG WAYLAND X11 |
24 |
OPTIONS_DEFINE= WAYLAND X11 |
25 |
OPTIONS_DEFAULT=WAYLAND X11 |
25 |
OPTIONS_DEFAULT=WAYLAND X11 |
26 |
WAYLAND_DESC= Support wayland protocol |
|
|
27 |
OPTIONS_SUB= yes |
26 |
OPTIONS_SUB= yes |
28 |
|
27 |
|
29 |
DEBUG_CFLAGS= -D_DEBUG |
28 |
WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland |
30 |
DEBUG_CFLAGS_OFF= -DNDEBUG |
29 |
WAYLAND_MESON_TRUE= wayland |
31 |
|
|
|
32 |
WAYLAND_CONFIGURE_ENABLE= wayland |
33 |
WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland |
34 |
|
30 |
|
35 |
X11_CONFIGURE_ENABLE= x11 |
31 |
X11_USES= xorg |
36 |
X11_USES= xorg |
32 |
X11_USE= XORG=x11,xext,xfixes |
37 |
X11_USE= XORG=x11,xext,xfixes |
33 |
X11_MESON_TRUE= x11 |
38 |
|
34 |
|
39 |
.include <bsd.port.mk> |
35 |
.include <bsd.port.mk> |