git: 80c40f6360d7 - main - audio/rnnoise: update g20210122 → 0.2

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Tue, 22 Jul 2025 07:32:56 UTC
The branch main has been updated by yuri:

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

commit 80c40f6360d7a2f514326848e965fd7eddf2239f
Author:     Sergey A. Osokin <osa@FreeBSD.org>
AuthorDate: 2025-07-22 07:32:17 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-07-22 07:32:17 +0000

    audio/rnnoise: update g20210122 → 0.2
    
    PR:     288376
---
 audio/rnnoise/Makefile | 16 +++++++++-------
 audio/rnnoise/distinfo |  8 +++++---
 2 files changed, 14 insertions(+), 10 deletions(-)

diff --git a/audio/rnnoise/Makefile b/audio/rnnoise/Makefile
index ce6859832997..6a35031132a8 100644
--- a/audio/rnnoise/Makefile
+++ b/audio/rnnoise/Makefile
@@ -1,23 +1,24 @@
 PORTNAME=	rnnoise
-DISTVERSION=	g20210122
+PORTVERSION=	0.2
 CATEGORIES=	audio
+MASTER_SITES=	https://github.com/xiph/rnnoise/releases/download/v${PORTVERSION}/
+
+PATCH_SITES=	https://github.com/xiph/rnnoise/commit/
+PATCHFILES=	372f7b4b76cde4ca1ec4605353dd17898a99de38.patch:-p1
 
 MAINTAINER=	yuri@FreeBSD.org
 COMMENT=	Recurrent neural network for audio noise reduction
-WWW=		https://github.com/xiph/rnnoise
+WWW=		https://jmvalin.ca/demo/rnnoise/
 
 LICENSE=	BSD2CLAUSE
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 USES=		autoreconf gmake libtool
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--disable-static --disable-examples
+CONFIGURE_ARGS=	--disable-examples \
+		--disable-x86-rtcd
 USE_LDCONFIG=	yes
 
-USE_GITHUB=	yes
-GH_ACCOUNT=	xiph
-GH_TAGNAME=	1cbdbcf
-
 INSTALL_TARGET=	install-strip
 
 OPTIONS_DEFINE=	DOCS
@@ -27,6 +28,7 @@ DOCS_CONFIGURE_ENABLE=	doc
 PORTDOCS=	* # API documentation feature is broken: https://github.com/xiph/rnnoise/issues/44
 
 PLIST_FILES=	include/rnnoise.h \
+		lib/librnnoise.a \
 		lib/librnnoise.so \
 		lib/librnnoise.so.0 \
 		lib/librnnoise.so.0.4.1 \
diff --git a/audio/rnnoise/distinfo b/audio/rnnoise/distinfo
index fe0530752e5f..eb51570c3d4c 100644
--- a/audio/rnnoise/distinfo
+++ b/audio/rnnoise/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1612679142
-SHA256 (xiph-rnnoise-g20210122-1cbdbcf_GH0.tar.gz) = e2aedecd6ee74c2c04caa90c4f02c4f1ceca6303d4a24bb59f0c00895b4fdcf0
-SIZE (xiph-rnnoise-g20210122-1cbdbcf_GH0.tar.gz) = 173753
+TIMESTAMP = 1753146024
+SHA256 (rnnoise-0.2.tar.gz) = 90fce4b00b9ff24c08dbfe31b82ffd43bae383d85c5535676d28b0a2b11c0d37
+SIZE (rnnoise-0.2.tar.gz) = 2294308
+SHA256 (372f7b4b76cde4ca1ec4605353dd17898a99de38.patch) = c491dfba7784ba027f7293259652053bb63bc834aae693269e4b5cf1dda54b05
+SIZE (372f7b4b76cde4ca1ec4605353dd17898a99de38.patch) = 4114