diff --git a/graphics/mesa-dri/Makefile.common b/graphics/mesa-dri/Makefile.common index 72cb4d12e9ca..914e8af03458 100644 --- a/graphics/mesa-dri/Makefile.common +++ b/graphics/mesa-dri/Makefile.common @@ -1,77 +1,76 @@ # Makefile.common - shared code between MesaLib ports. # # !!! Here be dragons !!! (they seem to be everywhere these days) # # Remember to upgrade the following ports everytime you bump MESAVERSION: # # - graphics/mesa-dri # - graphics/mesa-libs -MESAVERSION= 26.0.6 +MESAVERSION= 26.1.3 MASTER_SITES= https://mesa.freedesktop.org/archive/ DISTFILES= mesa-${MESAVERSION}${EXTRACT_SUFX} MAINTAINER= x11@FreeBSD.org LICENSE= MIT LICENSE_FILE= ${WRKSRC}/docs/license.rst COMPONENT= ${PORTNAME:tl:C/^lib//:C/mesa-//} BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}mako>0:textproc/py-mako@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyyaml>0:devel/py-pyyaml@${PY_FLAVOR} -.if ${COMPONENT} != clover -.if ${PORT_OPTIONS:MX11} -USES+= xorg -.endif -.endif LIB_DEPENDS+= libdrm.so:graphics/libdrm \ libexpat.so:textproc/expat2 USES+= compiler:c++11-lib bison meson pathfix pkgconfig \ python:build shebangfix tar:xz +.if ${PORT_OPTIONS:MX11} +USES+= xorg +.endif + # only have one port to check with portscout. .if ${PORTNAME} != mesa-dri PORTSCOUT= ignore:1 .endif MASTERDIR= ${.CURDIR:H:H}/graphics/mesa-dri PATCHDIR= ${MASTERDIR}/files WRKSRC= ${WRKDIR}/mesa-${MESAVERSION} DESCR= ${.CURDIR}/pkg-descr PLIST= ${.CURDIR}/pkg-plist PKGHELP= ${.CURDIR}/pkg-help PKGINSTALL= ${.CURDIR}/pkg-install PKGDEINSTALL= ${.CURDIR}/pkg-deinstall LTO_UNSAFE= Upstream recommends against LTO https://gitlab.freedesktop.org/mesa/mesa/-/commit/cb571550cc63f6bb22e0212dc681d8a2cd90926c .include BINARY_ALIAS+= python3=${PYTHON_VERSION} CONFIGURE_ENV+= LLVM_CONFIG=${LLVM_CONFIG} # Needed to locate libclc CONFIGURE_ENV+= PKG_CONFIG_PATH="${LLVM_PREFIX}/libdata/pkgconfig" # mesa 25.x removed the -Dlibelf option; libelf is now auto-detected. # If the user has elfutils installed in LOCALBASE, propagate it as a # proper LIB_DEPENDS so the dependency is recorded. .if exists(${LOCALBASE}/include/libelf.h) LIB_DEPENDS+= libelf.so:devel/elfutils .endif # Some symbols in mesa's linker version scripts are not always defined, # depending on configuration options. Suppress errors with lld >= 17 due to # these undefined symbols. LDFLAGS+= -Wl,--undefined-version LDFLAGS+= -Wl,-rpath=${LOCALBASE}/llvm${LLVM_VERSION}/lib MESON_ARGS+= -Dllvm=enabled \ -Dlibunwind=disabled \ -Dgallium-mediafoundation=disabled diff --git a/graphics/mesa-dri/distinfo b/graphics/mesa-dri/distinfo index d744da8c1a65..1e686ef52c56 100644 --- a/graphics/mesa-dri/distinfo +++ b/graphics/mesa-dri/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1777621283 -SHA256 (mesa-26.0.6.tar.xz) = 1d3c3b8a8363b8cc354175bb4a684ad8b035211cc1d6fa17aeb9b9623c513f89 -SIZE (mesa-26.0.6.tar.xz) = 43944196 +TIMESTAMP = 1782066605 +SHA256 (mesa-26.1.3.tar.xz) = 7725004e724b34c6d4fbaf5c48fc6c6223aa9f2741d6d7782c699b049356fc45 +SIZE (mesa-26.1.3.tar.xz) = 77608344