Per discussion with bapt on helping pkg handle the changing of these deps and avoiding impossible upgrade senarios. PR: 246767 Reviewed by: manu, bapt Approved by: x11 Differential Revision: https://reviews.freebsd.org/D30824
31 lines
823 B
Makefile
31 lines
823 B
Makefile
PORTREVISION= 2
|
|
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"
|