summaryrefslogtreecommitdiff
path: root/audio/rnnoise/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/rnnoise/Makefile')
-rw-r--r--audio/rnnoise/Makefile16
1 files changed, 9 insertions, 7 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 \