1 # Created by: Eric Anholt <anholt@FreeBSD.org>
5 PORTVERSION= ${MESAVERSION}
9 COMMENT= OpenGL hardware acceleration drivers for the DRI
11 LIB_DEPENDS= libdrm.so:graphics/libdrm \
12 libexpat.so:textproc/expat2
14 USE_XORG= dri2proto dri3proto glproto presentproto x11 xdamage xext \
15 xfixes xshmfence xv xvmc xxf86vm
17 OPTIONS_DEFINE= TEXTURE VAAPI VDPAU
18 OPTIONS_DEFAULT=TEXTURE
21 TEXTURE_DESC= Enable texture-float support (patent encumbered)
22 TEXTURE_CONFIGURE_ENABLE= texture-float
24 VAAPI_CONFIGURE_ENABLE= va
25 VAAPI_LIB_DEPENDS= libva.so:multimedia/libva
28 VDPAU_CONFIGURE_ENABLE= vdpau
29 VDPAU_LIB_DEPENDS= libvdpau.so:multimedia/libvdpau
31 PKGHELP= ${.CURDIR}/pkg-help
33 .include <bsd.port.options.mk>
35 .include "${.CURDIR}/../../graphics/libGL/Makefile.common"
37 #src/mesa/libmesagallium.la
38 #MESA_BUILD_WRKSRC= src/util src/gallium
39 #MESA_INSTALL_WRKSRC= src/gallium
41 .include "${.CURDIR}/../../graphics/libGL/Makefile.targets"
44 @${RM} -r ${STAGEDIR}/etc/OpenCL
46 .include <bsd.port.mk>