7d1faa7179
Replace GL_COMMIT by GL_TAGNAME in all ports. The new GL_TAGNAME is backwards-compatible (accepting any commit hash as before), but also understands an actual tag name. Moving to tag names where appropriate is left to individual ports' maintainers. Approved by: portmgr (tcberner, mentor) Differential Revision: https://reviews.freebsd.org/D37077
60 lines
2.1 KiB
Makefile
60 lines
2.1 KiB
Makefile
PORTNAME= piglit
|
|
PORTVERSION= 20200910
|
|
PORTREVISION= 2
|
|
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= ${PYNUMPY} \
|
|
${PYTHON_PKGNAMEPREFIX}mako>0:textproc/py-mako@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \
|
|
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= ${PYNUMPY} \
|
|
${PYTHON_PKGNAMEPREFIX}mako>0:textproc/py-mako@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
|
|
|
|
USE_GITLAB= yes
|
|
GL_SITE= https://gitlab.freedesktop.org
|
|
GL_ACCOUNT= mesa
|
|
GL_PROJECT= piglit
|
|
GL_TAGNAME= 136a7f5fa0703603be1ffb338abe4865e76a8058
|
|
|
|
PATCH_SITES= https://gitlab.freedesktop.org/mesa/piglit/-/commit/
|
|
PATCH_DIST_STRIP= -p1
|
|
PATCHFILES+= 7f1916da04fc.patch # https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/383
|
|
PATCHFILES+= c6a4d8aa8e68.patch # https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/383
|
|
PATCHFILES+= 0443b6a18648.patch # https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/383
|
|
PATCHFILES+= 96d8ddd0a658.patch # https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/383
|
|
PATCHFILES+= d5f4cfd3b0da.patch # https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/383
|
|
PATCHFILES+= 64c468c6c7e3.patch # https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/383
|
|
PATCHFILES+= 681e86f53c2e.patch # https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/383
|
|
|
|
USES= cmake compiler:c11 gl pkgconfig python shebangfix xorg
|
|
USE_GL= egl gbm gl glu
|
|
USE_XORG= x11 xcb xext xrender
|
|
SHEBANG_FILES= piglit
|
|
|
|
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>
|