git: 865b99eb888d - main - audio/guitarix-lv2: Backport patches fixing build with zita-resampler 1.10; Change to GitHub

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Mon, 06 Mar 2023 18:59:20 UTC
The branch main has been updated by yuri:

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

commit 865b99eb888dd88474106280eb179c2c6eb04886
Author:     Florian Walpen <dev@submerge.ch>
AuthorDate: 2023-03-06 16:31:22 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-03-06 18:59:17 +0000

    audio/guitarix-lv2: Backport patches fixing build with zita-resampler 1.10; Change to GitHub
    
    PR:             269766
---
 audio/guitarix-lv2/Makefile | 11 ++++++++---
 audio/guitarix-lv2/distinfo |  8 +++++---
 2 files changed, 13 insertions(+), 6 deletions(-)

diff --git a/audio/guitarix-lv2/Makefile b/audio/guitarix-lv2/Makefile
index 26287aae9155..4538426cb744 100644
--- a/audio/guitarix-lv2/Makefile
+++ b/audio/guitarix-lv2/Makefile
@@ -1,10 +1,11 @@
 PORTNAME=	guitarix
+DISTVERSIONPREFIX=	V
 DISTVERSION=	0.44.1
 PORTREVISION=	4
 CATEGORIES=	audio
-MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/
-PKGNAMESUFFIX=	-lv2
-DISTNAME=	${PORTNAME}2-${DISTVERSION}
+
+PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+PATCHFILES+=	53560efbbc44a971b7b10290d96b059b67c71eed.patch:-p2
 
 MAINTAINER=	yuri@FreeBSD.org
 COMMENT=	Virtual versatile amplification for Jack and set of LV2 plugins
@@ -45,6 +46,9 @@ USE_XORG=	x11
 USE_LDCONFIG=	yes
 USE_BINUTILS=	yes # linking needs some GNU features, fails on 12 without this, see https://github.com/brummer10/GxPlugins.lv2/issues/9
 
+USE_GITHUB=	yes
+GH_ACCOUNT=	brummer10
+
 SHEBANG_FILES=	tools/coverage tools/dsp2cc tools/dsp2insert tools/dsp2insert tools/tube_transfer.py # see https://github.com/brummer10/guitarix/issues/97
 
 CONFIGURE_ARGS=	--enable-lfs --ldflags="${LDFLAGS}" --jack-session
@@ -52,6 +56,7 @@ CONFIGURE_ARGS=	--enable-lfs --ldflags="${LDFLAGS}" --jack-session
 LDFLAGS+=	-B${LOCALBASE}/bin # Use ld provided by USE_BINUTILS for GNU features, otherwise GNU ld isn't called
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${DISTVERSION}
+WRKSRC_SUBDIR=	trunk
 BINARY_ALIAS=	python=${PYTHON_CMD} python3=${PYTHON_CMD} ld=${LOCALBASE}/bin/ld
 
 OPTIONS_DEFINE=	NLS
diff --git a/audio/guitarix-lv2/distinfo b/audio/guitarix-lv2/distinfo
index b200352e0a3e..c0db8bc3591e 100644
--- a/audio/guitarix-lv2/distinfo
+++ b/audio/guitarix-lv2/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1651601911
-SHA256 (guitarix2-0.44.1.tar.xz) = 77e83d754f51ac38c5423f38eeb55de5b3e26128e60b511b02d2defcf36e6c18
-SIZE (guitarix2-0.44.1.tar.xz) = 71754176
+TIMESTAMP = 1677683937
+SHA256 (brummer10-guitarix-V0.44.1_GH0.tar.gz) = 88f1206233b8b3eae4a021daab926c86cb559bda2059fe2a5ed2c745daa146c1
+SIZE (brummer10-guitarix-V0.44.1_GH0.tar.gz) = 94638472
+SHA256 (53560efbbc44a971b7b10290d96b059b67c71eed.patch) = b6738405f3894236986541497aa313f4e761c365f6199e6101288e03f9040c7d
+SIZE (53560efbbc44a971b7b10290d96b059b67c71eed.patch) = 2282