summaryrefslogtreecommitdiff
path: root/graphics/mesa/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/mesa/Makefile')
-rw-r--r--graphics/mesa/Makefile64
1 files changed, 39 insertions, 25 deletions
diff --git a/graphics/mesa/Makefile b/graphics/mesa/Makefile
index 8237855..cfae01e 100644
--- a/graphics/mesa/Makefile
+++ b/graphics/mesa/Makefile
@@ -6,10 +6,13 @@ COMMENT = the Mesa 3D Graphics Library
DPB_PROPERTIES = parallel
-DISTNAME = mesa-22.3.7
+GH_ACCOUNT = jonathangray
+GH_PROJECT = mesa
+GH_COMMIT = 2589054cc7492ebee73122866c0958b784142ea2
+DISTNAME = mesa-23.1.9
-SHARED_LIBS = EGL 1.2 gbm 0.4 glapi 0.4 GL 17.2 GLESv1_CM 2.0 GLESv2 2.0 \
- OSMesa 12.1
+SHARED_LIBS = EGL 2.0 gbm 0.6 glapi 1.0 GL 19.0 GLESv1_CM 3.0 GLESv2 3.0 \
+ OSMesa 13.0
CATEGORIES = graphics
@@ -26,27 +29,26 @@ WANTLIB = drm drm_radeon m pthread z expat \
xcb xcb-shm X11-xcb X11 \
xcb-dri3 xcb-xfixes xcb-present xcb-sync \
xshmfence Xext Xfixes xcb-glx xcb-dri2 \
- Xxf86vm c++ c++abi LLVM elf xcb-randr drm_amdgpu \
- zstd
-
-MASTER_SITES = https://mesa.freedesktop.org/archive/
-EXTRACT_SUFX = .tar.xz
+ Xxf86vm c++ c++abi elf xcb-randr drm_amdgpu \
+ drm_intel udev wayland-client wayland-server
BUILD_DEPENDS = sysutils/libdrm \
devel/xorgproto \
+ graphics/pixman \
graphics/glslang \
www/py-mako,python3 \
- devel/bison
+ devel/bison \
+ x11/fontconfig
-LIB_DEPENDS = archivers/zstd \
- sysutils/libdrm \
+LIB_DEPENDS = sysutils/libdrm \
+ sysutils/libudev-openbsd \
+ wayland/wayland \
x11/libX11 \
x11/libxcb \
x11/libXext \
x11/libXfixes \
- x11/libXrandr \
x11/libXxf86vm \
- x11/libxshmfence \
+ x11/libxshmfence
SEPARATE_BUILD = Yes
@@ -55,8 +57,8 @@ GALLIUM_DRIVERS = swrast
WITH_LLVM = false
.if ${MACHINE} == i386 || ${MACHINE} == amd64
-GALLIUM_DRIVERS = swrast,r300,r600,iris,radeonsi
-VULKAN_DRIVERS = amd,intel
+GALLIUM_DRIVERS = swrast,r300,r600,radeonsi,i915,crocus,iris
+VULKAN_DRIVERS = intel,intel_hasvk,amd
WITH_LLVM = enabled
.endif
@@ -66,16 +68,28 @@ DRI_DRIVERS = r100,r200
GALLIUM_DRIVERS = swrast,r300,r600
.endif
+CONFIGURE_ENV = "MESA_GIT_SHA1_OVERRIDE=''"
+
CONFIGURE_ARGS = -Dgallium-drivers=${GALLIUM_DRIVERS} \
- -Dvulkan-drivers=${VULKAN_DRIVERS} \
- -Dplatforms=x11 \
- -Dgallium-vdpau=disabled \
- -Dmicrosoft-clc=disabled \
- -Dintel-clc=disabled \
- -Dcpp_rtti=false \
- -Dosmesa=true \
- -Ddri3=enabled \
- -Dllvm=${WITH_LLVM} \
- -Ddri-drivers-path=${X11BASE}/lib/modules/dri
+ -Dvulkan-drivers=${VULKAN_DRIVERS} \
+ -Dgallium-xa=disabled \
+ -Dgallium-va=disabled \
+ -Dgallium-vdpau=disabled \
+ -Dmicrosoft-clc=disabled \
+ -Dandroid-libbacktrace=disabled \
+ -Dlibunwind=disabled \
+ -Dlmsensors=disabled \
+ -Dplatforms=x11,wayland \
+ -Ddri3=enabled \
+ -Dgles1=enabled \
+ -Dgles2=enabled \
+ -Dgbm=enabled \
+ -Dosmesa=true \
+ -Dshared-glapi=enabled \
+ -Dzstd=disabled \
+ -Dexecmem=false \
+ -Db_ndebug=true \
+ -Ddri-drivers-path=${X11BASE}/lib/modules/dri \
+ -Ddri-search-path=${X11BASE}/lib/modules/dri
.include <bsd.port.mk>