git: 108970aa2bae - main - audio/midi-matrix-lv2: Use upstream primary site

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Mon, 10 Oct 2022 22:58:11 UTC
The branch main has been updated by diizzy:

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

commit 108970aa2baed4be182b1ab5f63d98bae56dc753
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2022-10-10 22:52:47 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2022-10-10 22:52:52 +0000

    audio/midi-matrix-lv2: Use upstream primary site
    
    Fetch archive directly from upstream's git repo
    
    PR:             266930
    Reviewed by:    yuri (maintainer)
---
 audio/midi-matrix-lv2/Makefile | 8 +++-----
 audio/midi-matrix-lv2/distinfo | 6 +++---
 2 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/audio/midi-matrix-lv2/Makefile b/audio/midi-matrix-lv2/Makefile
index f88277f6384b..b3efe7afd88b 100644
--- a/audio/midi-matrix-lv2/Makefile
+++ b/audio/midi-matrix-lv2/Makefile
@@ -2,8 +2,9 @@ PORTNAME=	midi-matrix
 DISTVERSION=	0.28.0
 PORTREVISION=	1
 CATEGORIES=	audio
-MASTER_SITES=	https://gitlab.com/OpenMusicKontrollers/midi_matrix.lv2/repository/archive.tar.gz?ref=${DISTVERSION}&dummy=/
+MASTER_SITES=	https://git.open-music-kontrollers.ch/lv2/midi_matrix.lv2/snapshot/
 PKGNAMESUFFIX=	-lv2
+DISTNAME=	midi_matrix.lv2-${DISTVERSION}
 
 MAINTAINER=	yuri@FreeBSD.org
 COMMENT=	LV2 'Midi Matrix' plugin bundle: 'Channel Filter'
@@ -16,11 +17,8 @@ BUILD_DEPENDS=	lv2>0:audio/lv2 \
 		lv2lint:audio/lv2lint \
 		sord_validate:devel/sord
 
-USES=		compiler:c11 gl meson pkgconfig xorg
+USES=		compiler:c11 gl meson pkgconfig tar:xz xorg
 USE_XORG=	x11 xext
 USE_GL=		gl glew glu
 
-post-extract:
-	@${MV} ${WRKDIR}/midi_matrix* ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-
 .include <bsd.port.mk>
diff --git a/audio/midi-matrix-lv2/distinfo b/audio/midi-matrix-lv2/distinfo
index 242cdc2db8ec..610a09585948 100644
--- a/audio/midi-matrix-lv2/distinfo
+++ b/audio/midi-matrix-lv2/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1610924003
-SHA256 (midi-matrix-0.28.0.tar.gz) = a189b56546cedc3273b9db36e7f89174b61168f064388079be13287c9c435441
-SIZE (midi-matrix-0.28.0.tar.gz) = 1942321
+TIMESTAMP = 1665376251
+SHA256 (midi_matrix.lv2-0.28.0.tar.xz) = 2b40ff47f4445f86596c6c2c0dc5568bbd372560ed3fea8ca139b9b6ec69384b
+SIZE (midi_matrix.lv2-0.28.0.tar.xz) = 1597304