summaryrefslogtreecommitdiff
path: root/audio/rnnoise
diff options
context:
space:
mode:
Diffstat (limited to 'audio/rnnoise')
-rw-r--r--audio/rnnoise/Makefile16
-rw-r--r--audio/rnnoise/distinfo8
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