freebsd-ports/graphics/gstreamer1-plugins-gl/Makefile
Charlie Li d63665f7cd
textproc/libxml2: bump all LIB_DEPENDS consumers
This is a separate commit to facilitate easier cherry-picking for
quarterly.

PR: 262853, 262940, 262877, 263126
Approved by: fluffy (mentor)
2022-04-10 15:11:41 -04:00

31 lines
823 B
Makefile

PORTREVISION= 4
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
WAYLAND_CONFIGURE_ENABLE= wayland
WAYLAND_BUILD_DEPENDS= wayland-protocols>=0:graphics/wayland-protocols
WAYLAND_LIB_DEPENDS= libwayland-egl.so:graphics/wayland
pre-build:
.for dir in ${GL_GST_DIRS}
@(cd ${BUILD_WRKSRC}/${dir}; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${_MAKE_JOBS} ${MAKE_ARGS} ${ALL_TARGET})
.endfor
post-install:
${INSTALL_DATA} ${WRKSRC}/pkgconfig/gstreamer-gl.pc \
${STAGEDIR}${PREFIX}/libdata/pkgconfig/gstreamer-gl-1.0.pc
.include "${MASTERDIR}/Makefile"