Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Apr 2023 06:52:56 GMT
From:      Gleb Popov <arrowd@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: cf4dad03cd67 - main - x11-wm/plasma5-kwin: Patch more effects metadata.
Message-ID:  <202304070652.3376quTi073637@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202304070652.3376quTi073637>