Lines 11-17
COMMENT= OpenGL hardware acceleration drivers for DRI2+
Link Here
|
11 |
USE_XORG= dri2proto dri3proto glproto presentproto x11 xdamage xext \ |
11 |
USE_XORG= dri2proto dri3proto glproto presentproto x11 xdamage xext \ |
12 |
xfixes xshmfence xv xvmc |
12 |
xfixes xshmfence xv xvmc |
13 |
|
13 |
|
14 |
OPTIONS_DEFINE= TEXTURE VAAPI VDPAU |
14 |
OPTIONS_DEFINE= TEXTURE VAAPI VDPAU WAYLAND |
15 |
OPTIONS_DEFAULT=TEXTURE |
15 |
OPTIONS_DEFAULT=TEXTURE |
16 |
OPTIONS_SUB= yes |
16 |
OPTIONS_SUB= yes |
17 |
|
17 |
|
Lines 25-30
VAAPI_USE= XORG=xcb
Link Here
|
25 |
VDPAU_CONFIGURE_ENABLE= vdpau |
25 |
VDPAU_CONFIGURE_ENABLE= vdpau |
26 |
VDPAU_LIB_DEPENDS= libvdpau.so:multimedia/libvdpau |
26 |
VDPAU_LIB_DEPENDS= libvdpau.so:multimedia/libvdpau |
27 |
|
27 |
|
|
|
28 |
WAYLAND_DESC= Enable support for the Wayland platform in Vulkan drivers |
29 |
WAYLAND_BUILD_DEPENDS= wayland-protocols>=1.8:graphics/wayland-protocols |
30 |
WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland |
31 |
|
28 |
.include <bsd.port.options.mk> |
32 |
.include <bsd.port.options.mk> |
29 |
.include "${.CURDIR:H:H}/graphics/mesa-dri/Makefile.common" |
33 |
.include "${.CURDIR:H:H}/graphics/mesa-dri/Makefile.common" |
30 |
|
34 |
|
Lines 72-77
LDFLAGS+= -B${LOCALBASE}/bin
Link Here
|
72 |
. endif |
76 |
. endif |
73 |
.endif |
77 |
.endif |
74 |
|
78 |
|
|
|
79 |
# enables VK_KHR_wayland_surface in Vulkan drivers |
80 |
.if ${PORT_OPTIONS:MWAYLAND} |
81 |
CONFIGURE_ARGS+= --with-platforms=x11,drm,wayland |
82 |
. if empty(VULKAN_DRIVERS) |
83 |
IGNORE= option WAYLAND is only valid on platforms with Vulkan |
84 |
. endif |
85 |
.endif |
86 |
|
75 |
CONFIGURE_ARGS+= --with-dri-drivers="${DRI_DRIVERS:tl}" \ |
87 |
CONFIGURE_ARGS+= --with-dri-drivers="${DRI_DRIVERS:tl}" \ |
76 |
--with-gallium-drivers="${GALLIUM_DRIVERS:tl}" \ |
88 |
--with-gallium-drivers="${GALLIUM_DRIVERS:tl}" \ |
77 |
--with-vulkan-drivers="${VULKAN_DRIVERS:tl}" |
89 |
--with-vulkan-drivers="${VULKAN_DRIVERS:tl}" |