Lines 10-16
COMMENT= OpenGL hardware acceleration drivers for DRI2+
Link Here
|
10 |
USE_XORG= dri2proto dri3proto glproto presentproto x11 xdamage xext \ |
10 |
USE_XORG= dri2proto dri3proto glproto presentproto x11 xdamage xext \ |
11 |
xfixes xshmfence xv xvmc |
11 |
xfixes xshmfence xv xvmc |
12 |
|
12 |
|
13 |
OPTIONS_DEFINE= TEXTURE VAAPI VDPAU |
13 |
OPTIONS_DEFINE= TEXTURE VAAPI VDPAU WAYLAND |
14 |
OPTIONS_DEFAULT=TEXTURE |
14 |
OPTIONS_DEFAULT=TEXTURE |
15 |
OPTIONS_SUB= yes |
15 |
OPTIONS_SUB= yes |
16 |
|
16 |
|
Lines 24-29
VAAPI_USE= XORG=xcb
Link Here
|
24 |
VDPAU_CONFIGURE_ENABLE= vdpau |
24 |
VDPAU_CONFIGURE_ENABLE= vdpau |
25 |
VDPAU_LIB_DEPENDS= libvdpau.so:multimedia/libvdpau |
25 |
VDPAU_LIB_DEPENDS= libvdpau.so:multimedia/libvdpau |
26 |
|
26 |
|
|
|
27 |
WAYLAND_DESC= Enable support for the Wayland platform in Vulkan drivers |
28 |
|
27 |
.include <bsd.port.options.mk> |
29 |
.include <bsd.port.options.mk> |
28 |
.include "${.CURDIR:H:H}/graphics/mesa-dri/Makefile.common" |
30 |
.include "${.CURDIR:H:H}/graphics/mesa-dri/Makefile.common" |
29 |
|
31 |
|
Lines 69-74
USE_BINUTILS= yes
Link Here
|
69 |
LDFLAGS+= -B${LOCALBASE}/bin |
71 |
LDFLAGS+= -B${LOCALBASE}/bin |
70 |
.endif |
72 |
.endif |
71 |
|
73 |
|
|
|
74 |
# enables VK_KHR_wayland_surface in Vulkan drivers |
75 |
.if ${PORT_OPTIONS:MWAYLAND} |
76 |
CONFIGURE_ARGS+= --with-platforms=x11,drm,wayland |
77 |
.endif |
78 |
|
72 |
CONFIGURE_ARGS+= --with-dri-drivers="${DRI_DRIVERS:tl}" \ |
79 |
CONFIGURE_ARGS+= --with-dri-drivers="${DRI_DRIVERS:tl}" \ |
73 |
--with-gallium-drivers="${GALLIUM_DRIVERS:tl}" \ |
80 |
--with-gallium-drivers="${GALLIUM_DRIVERS:tl}" \ |
74 |
--with-vulkan-drivers="${VULKAN_DRIVERS:tl}" |
81 |
--with-vulkan-drivers="${VULKAN_DRIVERS:tl}" |