Changeset View
Changeset View
Standalone View
Standalone View
graphics/mesa-devel/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= mesa | PORTNAME= mesa | ||||
DISTVERSION= 20.1-branchpoint-1310 | DISTVERSION= 20.1-branchpoint-1310 | ||||
DISTVERSIONSUFFIX= -gaaec065f03e | DISTVERSIONSUFFIX= -gaaec065f03e | ||||
PORTREVISION= 1 | |||||
CATEGORIES= graphics | CATEGORIES= graphics | ||||
PKGNAMESUFFIX= -devel | PKGNAMESUFFIX= -devel | ||||
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ | PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ | ||||
PATCHFILES+= ee5c7790fa93.patch:-p1 # https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/1598 | PATCHFILES+= ee5c7790fa93.patch:-p1 # https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/1598 | ||||
PATCHFILES+= 9f52b5177728.patch:-p1 # https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/1598 | PATCHFILES+= 9f52b5177728.patch:-p1 # https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/1598 | ||||
PATCHFILES+= cefdea8105bf.patch:-p1 # https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/1598 | PATCHFILES+= cefdea8105bf.patch:-p1 # https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/1598 | ||||
PATCHFILES+= 55822330540d.patch:-p1 # https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/1598 | PATCHFILES+= 55822330540d.patch:-p1 # https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/1598 | ||||
Show All 17 Lines | |||||
LICENSE= MIT | LICENSE= MIT | ||||
ONLY_FOR_ARCHS= amd64 i386 | ONLY_FOR_ARCHS= amd64 i386 | ||||
ONLY_FOR_ARCHS_REASON= Limited scope: no old drivers and no software rendering. \ | ONLY_FOR_ARCHS_REASON= Limited scope: no old drivers and no software rendering. \ | ||||
See also https://mesamatrix.net/ | See also https://mesamatrix.net/ | ||||
BROKEN_DragonFly= requires making Vulkan support conditional | BROKEN_DragonFly= requires making Vulkan support conditional | ||||
BUILD_DEPENDS= glslangValidator:devel/glslang \ | BUILD_DEPENDS= glslangValidator:devel/glslang \ | ||||
libglvnd>0:graphics/libglvnd \ | |||||
${PYTHON_PKGNAMEPREFIX}mako>0:textproc/py-mako@${PY_FLAVOR} | ${PYTHON_PKGNAMEPREFIX}mako>0:textproc/py-mako@${PY_FLAVOR} | ||||
LIB_DEPENDS= libLLVM-${LLVM_DEFAULT:C/^([6-9])0/\1/:S/-devel/11/}.so:devel/llvm${LLVM_DEFAULT} \ | LIB_DEPENDS= libLLVM-${LLVM_DEFAULT:C/^([6-9])0/\1/:S/-devel/11/}.so:devel/llvm${LLVM_DEFAULT} \ | ||||
libdrm.so:graphics/libdrm \ | libdrm.so:graphics/libdrm \ | ||||
libexpat.so:textproc/expat2 | libexpat.so:textproc/expat2 | ||||
USES= bison compiler:c++11-lib meson pkgconfig python:3.6+,build shebangfix | USES= bison compiler:c++11-lib meson pkgconfig python:3.6+,build shebangfix | ||||
USE_GITHUB= yes | USE_GITHUB= yes | ||||
GH_ACCOUNT= mesa3d | GH_ACCOUNT= mesa3d | ||||
USE_LDCONFIG= yes | USE_LDCONFIG= yes | ||||
BINARY_ALIAS= llvm-config=llvm-config${LLVM_DEFAULT} python=${PYTHON_CMD} | BINARY_ALIAS= llvm-config=llvm-config${LLVM_DEFAULT} python=${PYTHON_CMD} | ||||
SHEBANG_FILES= src/vulkan/overlay-layer/${PORTNAME}-overlay-control.py | SHEBANG_FILES= src/vulkan/overlay-layer/${PORTNAME}-overlay-control.py | ||||
PLATFORMS= ${PORT_OPTIONS:MX11:tl} ${PORT_OPTIONS:MWAYLAND:tl} drm surfaceless | PLATFORMS= ${PORT_OPTIONS:MX11:tl} ${PORT_OPTIONS:MWAYLAND:tl} drm surfaceless | ||||
MESON_ARGS= -Ddri-drivers=i965 \ | MESON_ARGS= -Ddri-drivers=i965 \ | ||||
-Dgallium-drivers=iris,r600,radeonsi \ | -Dgallium-drivers=iris,r600,radeonsi \ | ||||
-Dgallium-omx=disabled \ | -Dgallium-omx=disabled \ | ||||
-Dgallium-opencl=disabled \ | -Dgallium-opencl=disabled \ | ||||
-Dgallium-va=false \ | -Dgallium-va=false \ | ||||
-Dgallium-vdpau=false \ | -Dgallium-vdpau=false \ | ||||
-Dgallium-xa=false \ | -Dgallium-xa=false \ | ||||
-Dgallium-xvmc=false \ | -Dgallium-xvmc=false \ | ||||
-Dglvnd=true \ | |||||
-Dplatforms=${PLATFORMS:ts,} \ | -Dplatforms=${PLATFORMS:ts,} \ | ||||
-Dvulkan-device-select-layer=true \ | -Dvulkan-device-select-layer=true \ | ||||
-Dvulkan-overlay-layer=true \ | -Dvulkan-overlay-layer=true \ | ||||
${PKGNAMESUFFIX:S/^/-Degl-lib-suffix=/} \ | ${PKGNAMESUFFIX:S/^/-Degl-lib-suffix=/} \ | ||||
${NULL} | ${NULL} | ||||
SUB_FILES= libmap.conf | SUB_FILES= libmap.conf | ||||
SUB_LIST= PKGNAMESUFFIX=${PKGNAMESUFFIX} | SUB_LIST= PKGNAMESUFFIX=${PKGNAMESUFFIX} | ||||
PLIST_SUB= ARCH=${ARCH:S/amd/x86_/} PKGNAMESUFFIX=${PKGNAMESUFFIX} | PLIST_SUB= ARCH=${ARCH:S/amd/x86_/} PKGNAMESUFFIX=${PKGNAMESUFFIX} | ||||
▲ Show 20 Lines • Show All 49 Lines • Show Last 20 Lines |