git: abefa1f68b6f - 2022Q2 - x11/grim: chase to the new home

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sun, 24 Apr 2022 00:32:09 UTC
The branch 2022Q2 has been updated by jbeich:

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

commit abefa1f68b6f39fa7ce36285b1604b80f353047b
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-03-30 08:20:08 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-04-24 00:16:39 +0000

    x11/grim: chase to the new home
    
    https://github.com/emersion/grim/commit/47e2658619c6
    "This repository has been archived by the owner. It is now read-only."
    
    (cherry picked from commit 54c21179dfdc1891900d1db93487ae7d12b9d872)
---
 x11/grim/Makefile  | 5 ++---
 x11/grim/distinfo  | 8 ++++----
 x11/grim/pkg-descr | 2 +-
 3 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/x11/grim/Makefile b/x11/grim/Makefile
index 536a8c347ba7..8a713874567e 100644
--- a/x11/grim/Makefile
+++ b/x11/grim/Makefile
@@ -2,8 +2,9 @@ PORTNAME=	grim
 DISTVERSIONPREFIX=	v
 DISTVERSION=	1.4.0
 CATEGORIES=	x11
+MASTER_SITES=	https://git.sr.ht/~emersion/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/
 
-PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+PATCH_SITES=	https://git.sr.ht/~emersion/${PORTNAME}/commit/
 PATCHFILES+=	89e02e663fab.patch:-p1 # https://github.com/emersion/grim/pull/121
 
 MAINTAINER=	jbeich@FreeBSD.org
@@ -16,9 +17,7 @@ BUILD_DEPENDS=	wayland-protocols>=1.14:graphics/wayland-protocols
 LIB_DEPENDS=	libwayland-client.so:graphics/wayland
 
 USES=		compiler:c11 gnome meson pkgconfig
-USE_GITHUB=	yes
 USE_GNOME=	cairo
-GH_ACCOUNT=	emersion
 PLIST_FILES=	bin/${PORTNAME}
 
 OPTIONS_DEFINE=	JPEG MANPAGES
diff --git a/x11/grim/distinfo b/x11/grim/distinfo
index 0d64c448b0bf..9600fdf1d613 100644
--- a/x11/grim/distinfo
+++ b/x11/grim/distinfo
@@ -1,5 +1,5 @@
 TIMESTAMP = 1644362430
-SHA256 (emersion-grim-v1.4.0_GH0.tar.gz) = b6786e889ed93568634189a59f6b6429c041bf74883c10e8b6e2ed6772ae7ffb
-SIZE (emersion-grim-v1.4.0_GH0.tar.gz) = 18287
-SHA256 (89e02e663fab.patch) = 72a9df80e4e3f77259302b4789104ef9b075b902ab20a592e6c1e8972a2dc0ef
-SIZE (89e02e663fab.patch) = 749
+SHA256 (grim-v1.4.0.tar.gz) = 66729ae654546404f50ed163055310dd23ed52cc5a881d39752c0cd076e3d7aa
+SIZE (grim-v1.4.0.tar.gz) = 18280
+SHA256 (89e02e663fab.patch) = 3a609de9e2350350b9c6752ca19c239d4ca65bf381a7cd9ca190bc14ca13af33
+SIZE (89e02e663fab.patch) = 761
diff --git a/x11/grim/pkg-descr b/x11/grim/pkg-descr
index 4929cf0d786a..df42fba0b649 100644
--- a/x11/grim/pkg-descr
+++ b/x11/grim/pkg-descr
@@ -1,3 +1,3 @@
 Grab images from a Wayland compositor. Works great with slurp and sway >= 1.0.
 
-WWW: https://wayland.emersion.fr/grim/
+WWW: https://sr.ht/~emersion/grim/