freebsd-ports/graphics/gstreamer1-plugins-gl/Makefile
Michal Zielonka e3b732b479
Update gstreamer1 to upstream release 1.20.3
PR:		261585
Reviewed by:	riggs,jbeich,tcberner

Differential Revision:	https://reviews.freebsd.org/D36850
2022-10-15 12:46:46 +02:00

43 lines
948 B
Makefile

PORTREVISION= 0
CATEGORIES= graphics
COMMENT= GStreamer GL graphics plugin
GST_PLUGIN= gl
DIST= base
GL_GST_DIRS= gst-libs/gst/allocators gst-libs/gst/video
PLIST= ${.CURDIR}/pkg-plist
MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
OPTIONS_DEFINE= WAYLAND
OPTIONS_DEFAULT=WAYLAND
OPTIONS_SUB= yes
OPTIONS_UNSET= WAYLAND
GL_WINSYS= "x11,egl"
WAYLAND_VARS= gl_winsys+=",wayland"
WAYLAND_BUILD_DEPENDS= wayland-protocols>=0:graphics/wayland-protocols
WAYLAND_LIB_DEPENDS= libwayland-egl.so:graphics/wayland
USES= gl
USE_GL= gl glu glesv2 egl
USE_XORG+=x11 \
xext \
xcb
BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto
LIB_DEPENDS= libgraphene-1.0.so:graphics/graphene \
libpng16.so:graphics/png
MESON_ARGS+= -Dgl=enabled \
-Dgl_winsys="${GL_WINSYS}" \
-Dgl_api=opengl,gles2 \
-Dgl_platform=glx,egl
GST_PLUGIN_DIR= gst-libs/gst/gl ext/gl
.include "${MASTERDIR}/Makefile"