mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
Make the wayland dependency optional.
Requested by: Walter Schwarzenfeld <w.schwarzenfeld@utanet.at>
This commit is contained in:
parent
a2eb8e33b4
commit
28561fc901
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=483908
@ -1,6 +1,6 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTREVISION= 0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= graphics
|
||||
|
||||
COMMENT= GStreamer GL graphics plugin
|
||||
@ -13,6 +13,12 @@ PLIST= ${.CURDIR}/pkg-plist
|
||||
|
||||
MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
|
||||
|
||||
OPTIONS_DEFINE= WAYLAND
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
WAYLAND_CONFIGURE_ENABLE= wayland
|
||||
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})
|
||||
|
@ -50,7 +50,7 @@ include/gstreamer-%%VERSION%%/gst/gl/gstglupload.h
|
||||
include/gstreamer-%%VERSION%%/gst/gl/gstglutils.h
|
||||
include/gstreamer-%%VERSION%%/gst/gl/gstglviewconvert.h
|
||||
include/gstreamer-%%VERSION%%/gst/gl/gstglwindow.h
|
||||
include/gstreamer-%%VERSION%%/gst/gl/wayland/gstgldisplay_wayland.h
|
||||
%%WAYLAND%%include/gstreamer-%%VERSION%%/gst/gl/wayland/gstgldisplay_wayland.h
|
||||
include/gstreamer-%%VERSION%%/gst/gl/x11/gstgldisplay_x11.h
|
||||
lib/girepository-1.0/GstGL-%%VERSION%%.typelib
|
||||
lib/gstreamer-%%VERSION%%/include/gst/gl/gstglconfig.h
|
||||
|
@ -275,10 +275,9 @@ gst_gdk_pixbuf_PLIST_FILES= ${GST_LIB_DIR}/libgstgdkpixbuf.so
|
||||
gst_gl_USES= gl
|
||||
gst_gl_USE_GL= gl glu glesv2 egl
|
||||
gst_gl_BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:multimedia/v4l_compat
|
||||
gst_gl_LIB_DEPENDS= libgraphene-1.0.so:graphics/graphene \
|
||||
libwayland-egl.so:graphics/wayland
|
||||
gst_gl_LIB_DEPENDS= libgraphene-1.0.so:graphics/graphene
|
||||
gst_gl_CONFIGURE_ARGS= --enable-gl --enable-glx \
|
||||
--enable-egl --enable-gles2 --enable-wayland
|
||||
--enable-egl --enable-gles2
|
||||
gst_gl_GST_PLUGIN_DIR= gst-libs/gst/gl ext/gl
|
||||
gst_gl_PLIST_FILES= #
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user