blob: fcc32dac4fc51882924dc239c4d8175765961070 (
plain) (
blame)
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
|
PORTNAME= egl-wayland
DISTVERSION= 1.1.7
PORTREVISION= 1
CATEGORIES= graphics
MAINTAINER= jbeich@FreeBSD.org
COMMENT= EGLStream-based Wayland external platform
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= eglexternalplatform>=1.1:graphics/eglexternalplatform
LIB_DEPENDS= libwayland-server.so:graphics/wayland
USES= gl meson pkgconfig
USE_GITHUB= yes
USE_GL= egl
USE_LDCONFIG= yes
GH_ACCOUNT= NVIDIA
post-patch:
@${REINPLACE_CMD} -e "/install/s/datadir')/prefix'), 'libdata'/" \
${WRKSRC}/meson.build
post-install:
${MKDIR} ${STAGEDIR}${PREFIX}/share/egl/egl_external_platform.d
${INSTALL_DATA} ${FILESDIR}/10_nvidia_wayland.json \
${STAGEDIR}${PREFIX}/share/egl/egl_external_platform.d
.include <bsd.port.mk>
|