blob: 762547fbb727c4fb4eddd67265a97555370f80ed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Created by: Jean-Sébastien Pédron <dumbbell@FreeBSD.org>
# $FreeBSD$
PORTNAME= piglit
PORTVERSION= 20160809
CATEGORIES= graphics
MAINTAINER= x11@FreeBSD.org
COMMENT= Automated OpenGL and OpenCL testsuite
LICENSE= MIT GPLv2 GPLv3 LGPL20
LICENSE_COMB= multi
BUILD_DEPENDS= ${LOCALBASE}/include/CL/opencl.h:devel/opencl \
${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}mako>0:textproc/py-mako \
${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six
LIB_DEPENDS= libcaca.so:graphics/libcaca \
libdrm.so:graphics/libdrm \
libOpenCL.so:devel/ocl-icd \
libpng.so:graphics/png \
libwaffle-1.so:graphics/waffle
RUN_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}mako>0:textproc/py-mako \
${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six
USE_GITHUB= yes
GH_ACCOUNT= dumbbell
GH_PROJECT= piglit
GH_TAGNAME= ca5350b4056ae63a93c4c207087b7634873b2ce2
USES= cmake:outsource compiler:c11 pkgconfig python:2
USE_GL= egl gbm gl glu
USE_XORG= x11 xcb xext xrender
CMAKE_ARGS+= -DPIGLIT_BUILD_CL_TESTS:BOOL=ON
CMAKE_ARGS+= -DCMAKE_POLICY_DEFAULT_CMP0056:STRING=NEW
LDFLAGS+= -L${LOCALBASE}/lib
SUB_FILES= pkg-message
DATADIR= ${PREFIX}/lib/piglit
PORTDATA= *
.include <bsd.port.mk>
|