git: 7417e32d4de8 - main - x11/cinnamon: fix screen recording function

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Thu, 17 Jul 2025 14:32:54 UTC
The branch main has been updated by arrowd:

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

commit 7417e32d4de87cbff4d1578cec69dc58c9e523f1
Author:     Pavel Timofeev <timp87@gmail.com>
AuthorDate: 2025-07-15 19:44:38 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2025-07-17 14:32:48 +0000

    x11/cinnamon: fix screen recording function
    
    Screen recording relies on gstreamer's vpx in particular.
    If it's missing the error like this appear in ~/.xsession-errors
    > ** (cinnamon:71729): WARNING **: 21:12:21.414: CinnamonRecorder: failed to parse pipeline: no element "vp8enc"
    So add vpx plugin as a dependency to make it work.
    
    PR:             288249
---
 x11/cinnamon/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/x11/cinnamon/Makefile b/x11/cinnamon/Makefile
index b2be860803c9..be6a5c8f2327 100644
--- a/x11/cinnamon/Makefile
+++ b/x11/cinnamon/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	cinnamon
 DISTVERSION=	6.4.10
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	x11 gnome
 DIST_SUBDIR=	gnome
 
@@ -93,6 +93,7 @@ DOCS_MESON_TRUE=	docs
 WAYLAND_MESON_TRUE=	wayland
 RECORDER_MESON_TRUE=	build_recorder
 RECORDER_USES=	gstreamer
+RECORDER_USE=	GSTREAMER=vpx
 
 NLS_RUN_DEPENDS=	cinnamon-translations>0:misc/cinnamon-translations