Changeset View
Changeset View
Standalone View
Standalone View
graphics/mesa-devel/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= mesa | PORTNAME= mesa | ||||
DISTVERSION= 20.1-branchpoint-1590 | DISTVERSION= 20.1-branchpoint-1590 | ||||
DISTVERSIONSUFFIX= -ga6c747e8e0b | DISTVERSIONSUFFIX= -ga6c747e8e0b | ||||
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 16 Lines | |||||
COMMENT= Bleeding edge Mesa drivers (OpenGL, Vulkan) | COMMENT= Bleeding edge Mesa drivers (OpenGL, Vulkan) | ||||
LICENSE= MIT | LICENSE= MIT | ||||
ONLY_FOR_ARCHS= aarch64 amd64 i386 powerpc64 | ONLY_FOR_ARCHS= aarch64 amd64 i386 powerpc64 | ||||
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/ | ||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mako>0:textproc/py-mako@${PY_FLAVOR} | BUILD_DEPENDS= libglvnd>0:graphics/libglvnd \ | ||||
${PYTHON_PKGNAMEPREFIX}mako>0:textproc/py-mako@${PY_FLAVOR} | |||||
LIB_DEPENDS= libdrm.so:graphics/libdrm \ | LIB_DEPENDS= libdrm.so:graphics/libdrm \ | ||||
libexpat.so:textproc/expat2 | libexpat.so:textproc/expat2 | ||||
.if !exists(/usr/lib/libelf.so) | .if !exists(/usr/lib/libelf.so) | ||||
# DragonFly doesn't install it yet | # DragonFly doesn't install it yet | ||||
LIB_DEPENDS+= libelf.so:devel/libelf | LIB_DEPENDS+= libelf.so:devel/libelf | ||||
.endif | .endif | ||||
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= python=${PYTHON_CMD} | BINARY_ALIAS= 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= -Dgallium-omx=disabled \ | MESON_ARGS= -Dgallium-omx=disabled \ | ||||
-Dgallium-opencl=disabled \ | -Dgallium-opencl=disabled \ | ||||
-Dgallium-xa=disabled \ | -Dgallium-xa=disabled \ | ||||
-Dgallium-xvmc=disabled \ | -Dgallium-xvmc=disabled \ | ||||
-Dglvnd=true \ | |||||
-Dplatforms=${PLATFORMS:ts,} \ | -Dplatforms=${PLATFORMS:ts,} \ | ||||
${PKGNAMESUFFIX:S/^/-Degl-lib-suffix=/} \ | ${PKGNAMESUFFIX:S/^/-Degl-lib-suffix=/} \ | ||||
${BINARY_ALIAS:D--native-file=binary_alias.ini} \ | ${BINARY_ALIAS:D--native-file=binary_alias.ini} \ | ||||
${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 101 Lines • Show Last 20 Lines |