89d63d5b0a
While here, change `numpy` dependency to version 2.4+.
50 lines
1.5 KiB
Makefile
50 lines
1.5 KiB
Makefile
PORTNAME= piglit
|
|
PORTVERSION= 20260521
|
|
CATEGORIES= graphics
|
|
|
|
MAINTAINER= x11@FreeBSD.org
|
|
COMMENT= Automated OpenGL and OpenCL testsuite
|
|
WWW= https://piglit.freedesktop.org/
|
|
|
|
LICENSE= MIT GPLv2 GPLv3 LGPL20
|
|
LICENSE_COMB= multi
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=2.4:math/py-numpy@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}mako>0:textproc/py-mako@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \
|
|
glslangValidator:graphics/glslang \
|
|
vulkan-headers>0:graphics/vulkan-headers \
|
|
wayland-protocols>=0:graphics/wayland-protocols
|
|
LIB_DEPENDS= libdrm.so:graphics/libdrm \
|
|
libpng.so:graphics/png \
|
|
libvulkan.so:graphics/vulkan-loader \
|
|
libwaffle-1.so:graphics/waffle \
|
|
libwayland-egl.so:graphics/wayland \
|
|
libxkbcommon.so:x11/libxkbcommon
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=2.4:math/py-numpy@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}mako>0:textproc/py-mako@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
|
|
|
|
USES= cmake compiler:c11 gl pkgconfig python shebangfix xorg
|
|
USE_GITLAB= yes
|
|
GL_SITE= https://gitlab.freedesktop.org
|
|
GL_ACCOUNT= mesa
|
|
GL_PROJECT= piglit
|
|
GL_TAGNAME= 2b8ed2f52a7a99eebfd0923baf5b9f7f681cdf26
|
|
USE_GL= egl gbm gl glu
|
|
USE_XORG= x11 xcb xext xrender
|
|
SHEBANG_FILES= piglit replayer/replayer.py
|
|
|
|
CMAKE_ON= PIGLIT_BUILD_GLES2_TESTS PIGLIT_BUILD_GLES3_TESTS
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
DATADIR= ${PREFIX}/lib/piglit
|
|
PORTDATA= *
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
.include <bsd.port.mk>
|