46c37e13e1
This reverts commit 1cf7a05cba
.
$ pkg-config gstreamer-gl-1.0 --variable=gl_winsys
egl wayland x11
$ poudriere testport -j 131amd64 graphics/gstreamer1-plugins-gl
[...]
0x0000000000000001 NEEDED Shared library: [libX11-xcb.so.1]
0x0000000000000001 NEEDED Shared library: [libX11.so.6]
[...]
40 lines
903 B
Makefile
40 lines
903 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
|
|
|
|
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:ts,} \
|
|
-Dgl_api=opengl,gles2 \
|
|
-Dgl_platform=glx,egl
|
|
|
|
GST_PLUGIN_DIR= gst-libs/gst/gl ext/gl
|
|
|
|
.include "${MASTERDIR}/Makefile"
|