diff options
author | Tijl Coosemans <tijl@FreeBSD.org> | 2018-11-03 19:52:31 +0000 |
---|---|---|
committer | Tijl Coosemans <tijl@FreeBSD.org> | 2018-11-03 19:52:31 +0000 |
commit | 28561fc901fe8e7780b97b123d8167729d7bff09 (patch) | |
tree | cf138e188100b420ecf8ba96eaab152c66789ef0 /graphics/gstreamer1-plugins-gl | |
parent | a2eb8e33b46cea00670ccd356ff290010fcec36d (diff) | |
download | ports-28561fc901fe8e7780b97b123d8167729d7bff09.tar.gz ports-28561fc901fe8e7780b97b123d8167729d7bff09.zip |
Make the wayland dependency optional.
Requested by: Walter Schwarzenfeld <w.schwarzenfeld@utanet.at>
Notes
Notes:
svn path=/head/; revision=483908
Diffstat (limited to 'graphics/gstreamer1-plugins-gl')
-rw-r--r-- | graphics/gstreamer1-plugins-gl/Makefile | 8 | ||||
-rw-r--r-- | graphics/gstreamer1-plugins-gl/pkg-plist | 2 |
2 files changed, 8 insertions, 2 deletions
diff --git a/graphics/gstreamer1-plugins-gl/Makefile b/graphics/gstreamer1-plugins-gl/Makefile index e3292275e543..3f5e02edb2ce 100644 --- a/graphics/gstreamer1-plugins-gl/Makefile +++ b/graphics/gstreamer1-plugins-gl/Makefile @@ -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}) diff --git a/graphics/gstreamer1-plugins-gl/pkg-plist b/graphics/gstreamer1-plugins-gl/pkg-plist index d78233c9022b..ca0f4a24ecdf 100644 --- a/graphics/gstreamer1-plugins-gl/pkg-plist +++ b/graphics/gstreamer1-plugins-gl/pkg-plist @@ -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 |