Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Oct 2018 05:38:08 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r482642 - in head/audio: . speech-denoiser-lv2 speech-denoiser-lv2/files
Message-ID:  <201810210538.w9L5c8os088762@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Sun Oct 21 05:38:08 2018
New Revision: 482642
URL: https://svnweb.freebsd.org/changeset/ports/482642

Log:
  New port: audio/speech-denoiser-lv2: Speech denoise LV2 plugin based on RNNoise library

Added:
  head/audio/speech-denoiser-lv2/
  head/audio/speech-denoiser-lv2/Makefile   (contents, props changed)
  head/audio/speech-denoiser-lv2/distinfo   (contents, props changed)
  head/audio/speech-denoiser-lv2/files/
  head/audio/speech-denoiser-lv2/files/patch-meson.build   (contents, props changed)
  head/audio/speech-denoiser-lv2/pkg-descr   (contents, props changed)
Modified:
  head/audio/Makefile

Modified: head/audio/Makefile
==============================================================================
--- head/audio/Makefile	Sun Oct 21 05:35:38 2018	(r482641)
+++ head/audio/Makefile	Sun Oct 21 05:38:08 2018	(r482642)
@@ -788,6 +788,7 @@
     SUBDIR += spc2it
     SUBDIR += specimen
     SUBDIR += spectrogram
+    SUBDIR += speech-denoiser-lv2
     SUBDIR += speex
     SUBDIR += speexdsp
     SUBDIR += spek

Added: head/audio/speech-denoiser-lv2/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/speech-denoiser-lv2/Makefile	Sun Oct 21 05:38:08 2018	(r482642)
@@ -0,0 +1,29 @@
+# $FreeBSD$
+
+PORTNAME=	speech-denoiser
+DISTVERSION=	g20181007
+CATEGORIES=	audio
+PKGNAMESUFFIX=	-lv2
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Speech denoise LV2 plugin based on RNNoise library
+
+LICENSE=	GPLv3
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	lv2>0:audio/lv2
+LIB_DEPENDS=	librnnoise-nu.so:audio/rnnoise-nu
+
+USES=		localbase:ldflags meson pkgconfig
+USE_GITHUB=	yes
+GH_ACCOUNT=	lucianodato
+GH_TAGNAME=	04cfba9
+
+PLIST_FILES=	lib/lv2/sdenoise.lv2/manifest.ttl \
+		lib/lv2/sdenoise.lv2/sdenoise.so \
+		lib/lv2/sdenoise.lv2/sdenoise.ttl
+
+pre-configure:
+	@cd ${WRKSRC} && ${LN} -s _build build
+
+.include <bsd.port.mk>

Added: head/audio/speech-denoiser-lv2/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/speech-denoiser-lv2/distinfo	Sun Oct 21 05:38:08 2018	(r482642)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1540097529
+SHA256 (lucianodato-speech-denoiser-g20181007-04cfba9_GH0.tar.gz) = fecc2703d81bfb3cf6d348c226bfddcd3101c3c5a46daba29689569bfa53f493
+SIZE (lucianodato-speech-denoiser-g20181007-04cfba9_GH0.tar.gz) = 839640

Added: head/audio/speech-denoiser-lv2/files/patch-meson.build
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/speech-denoiser-lv2/files/patch-meson.build	Sun Oct 21 05:38:08 2018	(r482642)
@@ -0,0 +1,20 @@
+--- meson.build.orig	2018-10-07 21:33:41 UTC
++++ meson.build
+@@ -10,7 +10,7 @@ src = 'src/sdenoise.c'
+ cc = meson.get_compiler('c')
+ 
+ #handling rnnoise static library
+-lib_rnnoise = cc.find_library('rnnoise-nu',dirs: meson.current_source_dir() + '/rnnoise/.libs/',required : true)
++lib_rnnoise = cc.find_library('rnnoise-nu',required : true)
+ inc_rnnoise = include_directories('rnnoise/include')
+ 
+ #dependencies for speech denoise
+@@ -25,7 +25,7 @@ endif
+ cflags = ['-msse','-msse2','-mfpmath=sse','-ffast-math','-fomit-frame-pointer','-fno-finite-math-only']
+ 
+ #install folder
+-install_folder = 'sdenoise.lv2'
++install_folder = 'lib/lv2/sdenoise.lv2'
+ 
+ #get the build operating system and configure install path and shared object extension
+ current_os = build_machine.system()

Added: head/audio/speech-denoiser-lv2/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/speech-denoiser-lv2/pkg-descr	Sun Oct 21 05:38:08 2018	(r482642)
@@ -0,0 +1,7 @@
+A speech denoise LV2 plugin based on the modified Xiph's RNNoise library
+by GregorR.
+
+RNNoise is a library that uses deep learning to apply noise supression to audio
+sources with voice presence.
+
+WWW: https://github.com/lucianodato/speech-denoiser



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810210538.w9L5c8os088762>