git: ef2d73ff4560 - main - graphics/gstreamer1-plugins-gl: re-enable WAYLAND after e3b732b4791c

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sat, 12 Nov 2022 20:39:37 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ef2d73ff45602712fd586efaa21a65abf2647342

commit ef2d73ff45602712fd586efaa21a65abf2647342
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-11-02 09:34:15 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-11-12 20:38:12 +0000

    graphics/gstreamer1-plugins-gl: re-enable WAYLAND after e3b732b4791c
    
    $ clapper foo.mp4
    (com.github.rafostar.Clapper:1234): Clapper-CRITICAL **: Error from element /GstPlayBin:playbin/GstPlaySink:playsink/GstBin:vbin/GstClapperSink:clappersink0: Resource not found.
    No importer for given caps found
    ../lib/gst/plugin/gstclappersink.c(733): gst_clapper_sink_set_caps (): /GstPlayBin:playbin/GstPlaySink:playsink/GstBin:vbin/GstClapperSink:clappersink0
    ^C
    
    PR:             267517
---
 graphics/gstreamer1-plugins-gl/Makefile | 6 ++----
 multimedia/clapper/Makefile             | 2 +-
 2 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/graphics/gstreamer1-plugins-gl/Makefile b/graphics/gstreamer1-plugins-gl/Makefile
index a50106c9f593..de6baf1f4825 100644
--- a/graphics/gstreamer1-plugins-gl/Makefile
+++ b/graphics/gstreamer1-plugins-gl/Makefile
@@ -1,4 +1,4 @@
-PORTREVISION=	0
+PORTREVISION=	1
 CATEGORIES=	graphics
 
 COMMENT=	GStreamer GL graphics plugin
@@ -15,8 +15,6 @@ OPTIONS_DEFINE=	WAYLAND
 OPTIONS_DEFAULT=WAYLAND
 OPTIONS_SUB=	yes
 
-OPTIONS_UNSET=	WAYLAND
-
 GL_WINSYS=	"x11,egl"
 
 WAYLAND_VARS=			gl_winsys+=",wayland"
@@ -25,7 +23,7 @@ WAYLAND_LIB_DEPENDS=		libwayland-egl.so:graphics/wayland
 
 USES=		gl
 USE_GL=		gl glu glesv2 egl
-USE_XORG+	=x11 \
+USE_XORG+=	x11 \
 		xext \
 		xcb
 BUILD_DEPENDS=	${LOCALBASE}/include/linux/input.h:devel/evdev-proto
diff --git a/multimedia/clapper/Makefile b/multimedia/clapper/Makefile
index aad6deded7ed..aea0ae0c353c 100644
--- a/multimedia/clapper/Makefile
+++ b/multimedia/clapper/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	clapper
 DISTVERSION=	0.5.2
-CATEGORIES=	multimedia # wayland: requires WAYLAND=on in gstreamer1-plugins-gl
+CATEGORIES=	multimedia wayland
 
 MAINTAINER=	jbeich@FreeBSD.org
 COMMENT=	Simple and modern GNOME media player