1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/graphics/dri/Makefile
Matthew Rezny ef2181dc7a Update Mesa to 17.0.3
* OpenGL 4.5 support for RadeonSI and recent Intel
* Use LLVM 4.0 by default, building with 3.9 is possible via MESA_LLVM_VER
* DRI3 remains enabled at compile time, but is now disabled at runtime for
  stock FreeBSD.  Set LIBGL_DRI3_ENABLE in the environment to enable DRI3.
  This extra check is added when compiling on stock FreeBSD, not DRM-next.
  This change was made to work around a problem in libEGL, which fails to
  fall back to using DRI2 when run on a system without DRI3 support.

Reviewed by:	jmd, mat
Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D10250
2017-04-10 19:14:48 +00:00

47 lines
1.1 KiB
Makefile

# Created by: Eric Anholt <anholt@FreeBSD.org>
# $FreeBSD$
PORTNAME= dri
PORTVERSION= ${MESAVERSION}
PORTEPOCH= 2
CATEGORIES= graphics
COMMENT= OpenGL hardware acceleration drivers for the DRI
LIB_DEPENDS= libdrm.so:graphics/libdrm \
libexpat.so:textproc/expat2
USE_XORG= dri2proto dri3proto glproto presentproto x11 xdamage xext \
xfixes xshmfence xv xvmc xxf86vm
OPTIONS_DEFINE= TEXTURE VAAPI VDPAU
OPTIONS_DEFAULT=TEXTURE
OPTIONS_SUB= yes
TEXTURE_DESC= Enable texture-float support (patent encumbered)
TEXTURE_CONFIGURE_ENABLE= texture-float
VAAPI_CONFIGURE_ENABLE= va
VAAPI_LIB_DEPENDS= libva.so:multimedia/libva
VAAPI_USE= XORG=xcb
VDPAU_CONFIGURE_ENABLE= vdpau
VDPAU_LIB_DEPENDS= libvdpau.so:multimedia/libvdpau
PKGHELP= ${.CURDIR}/pkg-help
.include <bsd.port.options.mk>
.include "${.CURDIR}/../../graphics/libGL/Makefile.common"
#src/mesa/libmesagallium.la
#MESA_BUILD_WRKSRC= src/util src/gallium
#MESA_INSTALL_WRKSRC= src/gallium
.include "${.CURDIR}/../../graphics/libGL/Makefile.targets"
post-install:
@${RM} -r ${STAGEDIR}/etc/OpenCL
.include <bsd.port.mk>