git: cf4dad03cd67 - main - x11-wm/plasma5-kwin: Patch more effects metadata.

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Fri, 07 Apr 2023 06:52:56 UTC
The branch main has been updated by arrowd:

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

commit cf4dad03cd675d9a3f745091cb46f62d2f1159c6
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2023-04-07 06:51:13 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2023-04-07 06:52:53 +0000

    x11-wm/plasma5-kwin: Patch more effects metadata.
    
    Some files were not matched by * glob, so use recursive search.
    
    Sponsored by:   Serenity Cybersecurity, LLC
---
 x11-wm/plasma5-kwin/Makefile | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/x11-wm/plasma5-kwin/Makefile b/x11-wm/plasma5-kwin/Makefile
index 232c6125940f..443e56b0f9c0 100644
--- a/x11-wm/plasma5-kwin/Makefile
+++ b/x11-wm/plasma5-kwin/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	kwin
 DISTVERSION=	${KDE_PLASMA_VERSION}
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	x11-wm kde kde-plasma
 
 MAINTAINER=	kde@FreeBSD.org
@@ -59,8 +59,9 @@ SHEBANG_FILES=	kconf_update/*.py \
 # A (hopefully) temporary workaround for
 # https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/2026
 post-patch:
-	${REINPLACE_CMD} -E \
-		's|https://files.kde.org/plasma/kwin/effect-videos/([a-z_]+)\.ogv|https://arrowd.name/kwin-effect-videos/\1\.webm|' \
-		${WRKSRC}/src/effects/*/metadata.json
+	${FIND} ${WRKSRC}/src/effects -name metadata.json -exec \
+		${REINPLACE_CMD} -E \
+			's|https://files.kde.org/plasma/kwin/effect-videos/([a-z_]+)\.ogv|https://arrowd.name/kwin-effect-videos/\1\.webm|' \
+			{} \;
 
 .include <bsd.port.mk>