045971139f
meson.build:945:2: ERROR: Dependency "libclc" not found, tried pkgconfig PR: 270361
52 lines
1.2 KiB
Makefile
52 lines
1.2 KiB
Makefile
PORTNAME= libosmesa
|
|
PORTVERSION= ${MESAVERSION}
|
|
CATEGORIES= graphics
|
|
|
|
COMMENT= Off-Screen Mesa implementation of the OpenGL API
|
|
WWW= https://www.mesa3d.org/
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/docs/license.rst
|
|
|
|
LIB_DEPENDS+= libLLVM-${LLVM_DEFAULT}.so:devel/llvm${LLVM_DEFAULT} \
|
|
libglapi.so:graphics/mesa-libs
|
|
|
|
USES= xorg
|
|
USE_XORG= xorgproto
|
|
USE_LDCONFIG= yes
|
|
|
|
.include <bsd.port.options.mk>
|
|
.include "${.CURDIR:H:H}/graphics/mesa-dri/Makefile.common"
|
|
|
|
# Disable some options
|
|
MESON_ARGS+= -Ddri-drivers="" \
|
|
-Dgallium-drivers="swrast" \
|
|
-Dvulkan-drivers="" \
|
|
-Dplatforms="" \
|
|
-Dgallium-vdpau=disabled \
|
|
-Dgallium-omx=disabled \
|
|
-Dgallium-va=disabled \
|
|
-Dgallium-opencl=disabled \
|
|
-Dgallium-xa=disabled \
|
|
-Dgallium-nine=false \
|
|
-Dgles1=disabled \
|
|
-Dgles2=disabled \
|
|
-Dmicrosoft-clc=disabled \
|
|
-Dopengl=true \
|
|
-Dglx=disabled \
|
|
-Degl=disabled \
|
|
-Dgbm=disabled \
|
|
-Dtools="" \
|
|
-Dzstd=disabled
|
|
LDFLAGS_i386= -Wl,-znotext
|
|
|
|
MESON_ARGS+= -Dosmesa=true
|
|
|
|
.include "${MASTERDIR}/Makefile.targets"
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/include/GL
|
|
${INSTALL_DATA} ${WRKSRC}/include/GL/osmesa.h \
|
|
${STAGEDIR}${PREFIX}/include/GL
|
|
|
|
.include <bsd.port.post.mk>
|