blob: 38bd674961030fca3ca3c363298274b114926d48 (
plain)
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
PORTNAME= mesa-gallium-va
PORTVERSION= ${MESAVERSION}
PORTREVISION= 2
CATEGORIES= graphics
COMMENT= Mesa Gallium VAAPI drivers
LIB_DEPENDS= libva.so:multimedia/libva \
libzstd.so:archivers/zstd
OPTIONS_DEFINE= X11
OPTIONS_DEFAULT= X11
X11_DESC= Enable X11 support
X11_USES= xorg
X11_USE= xorg=xorgproto,x11,xcb,xdamage,xext,xfixes,xshmfence,xxf86vm,xrandr
.include <bsd.port.options.mk>
.include "${.CURDIR:H:H}/graphics/mesa-dri/Makefile.common"
ONLY_FOR_ARCHS= i386 amd64 aarch64 powerpc64 powerpc64le
ONLY_FOR_ARCHS_REASON= Used only by amd/radeon hardware
MESON_ARGS+= -Ddri-drivers="" \
-Dgallium-drivers="radeonsi,r600" \
-Dvulkan-drivers="" \
-Dgallium-vdpau=disabled \
-Dgallium-omx=disabled \
-Dgallium-xa=disabled \
-Dgallium-opencl=disabled \
-Dgallium-xvmc=disabled \
-Dgallium-nine=false \
-Dgbm=disabled \
-Dgles1=disabled \
-Dgles2=disabled \
-Dosmesa=none \
-Dglx=disabled \
-Ddri3=disabled
LDFLAGS_i386= -Wl,-znotext
MESON_ARGS+= -Dgallium-va=enabled
.if ${PORT_OPTIONS:MX11}
MESON_ARGS+= -Dplatforms="x11"
.else
MESON_ARGS+= -Dglx=disabled \
-Degl=disabled \
-Dopengl=false \
-Dshared-glapi=disabled
.endif
.include "${MASTERDIR}/Makefile.targets"
.include <bsd.port.post.mk>
|