aboutsummaryrefslogtreecommitdiff
path: root/graphics/gstreamer1-plugins-gl/Makefile
blob: 47c01cbb2ae7042def9d2be79bf4ff9f101c932a (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
31
32
33
34
35
36
37
38
PORTREVISION=	0
CATEGORIES=	graphics

COMMENT=	GStreamer GL graphics plugin

BUILD_DEPENDS=	${LOCALBASE}/include/linux/input.h:devel/evdev-proto
LIB_DEPENDS=	libgraphene-1.0.so:graphics/graphene \
		libpng16.so:graphics/png

USES=		gl jpeg
USE_GL=		gl glesv2 egl
USE_XORG+=	x11 xext xcb

MESON_ARGS+=	--wrap-mode=nodownload \
		-Dgl=enabled \
		-Dgl_winsys=${_GL_WINSYS:ts,} \
		-Dgl_api=opengl,gles2 \
		-Dgl_platform=glx,egl

MASTERDIR=	${.CURDIR:H:H}/multimedia/gstreamer1-plugins

PLIST=		${.CURDIR}/pkg-plist

OPTIONS_DEFINE=	WAYLAND
OPTIONS_DEFAULT=WAYLAND
OPTIONS_SUB=	yes

WAYLAND_BUILD_DEPENDS=	wayland-protocols>=0:graphics/wayland-protocols
WAYLAND_LIB_DEPENDS=	libwayland-egl.so:graphics/wayland
WAYLAND_VARS=		_GL_WINSYS+=wayland

DIST=		base
GST_PLUGIN=	gl
GST_PLUGIN_DIR=	gst-libs/gst/gl ext/gl

_GL_WINSYS=	x11 egl

.include "${MASTERDIR}/Makefile"