]> git.pld-linux.org Git - packages/noise-repellent.git/commitdiff
new package
authorJacek Konieczny <j.konieczny@eggsoft.pl>
Wed, 3 Oct 2018 11:33:40 +0000 (13:33 +0200)
committerJacek Konieczny <j.konieczny@eggsoft.pl>
Wed, 3 Oct 2018 11:33:40 +0000 (13:33 +0200)
lv2_dir.patch [new file with mode: 0644]
noise-repellent.spec [new file with mode: 0644]

diff --git a/lv2_dir.patch b/lv2_dir.patch
new file mode 100644 (file)
index 0000000..c036028
--- /dev/null
@@ -0,0 +1,12 @@
+diff -dur noise-repellent-60167c09fc51242101a041c9d6642bc92fdabcbb.orig/meson.build noise-repellent-60167c09fc51242101a041c9d6642bc92fdabcbb/meson.build
+--- noise-repellent-60167c09fc51242101a041c9d6642bc92fdabcbb.orig/meson.build  2018-09-23 14:58:55.000000000 +0200
++++ noise-repellent-60167c09fc51242101a041c9d6642bc92fdabcbb/meson.build       2018-10-03 13:31:11.000000000 +0200
+@@ -20,7 +20,7 @@
+ cflags = ['-msse','-msse2','-mfpmath=sse','-ffast-math','-fomit-frame-pointer','-fno-finite-math-only']
+ #install folder
+-install_folder = 'nrepel.lv2'
++install_folder = join_paths(get_option('libdir'), 'lv2', 'nrepel.lv2')
+ #get the build operating system and configure install path and shared object extension
+ current_os = build_machine.system()
diff --git a/noise-repellent.spec b/noise-repellent.spec
new file mode 100644 (file)
index 0000000..bddbe01
--- /dev/null
@@ -0,0 +1,86 @@
+
+# no actual releases since October 2017, homepage suggest building from git
+%define commit 60167c09fc51242101a041c9d6642bc92fdabcbb
+%define timestamp 20180917
+
+Summary:       An lv2 plugin for broadband noise reduction
+Name:          noise-repellent
+Version:       0.1.4.%{timestamp}
+Release:       1
+License:       GPL v3
+Group:         Applications
+Source0:       https://github.com/lucianodato/noise-repellent/archive/%{commit}/%{name}-%{version}.tar.gz
+# Source0-md5: cf34c73b4494f15549c6c4fe5e4a068b
+Patch0:                lv2_dir.patch
+URL:           https://github.com/lucianodato/noise-repellent
+BuildRequires: fftw3-devel
+BuildRequires: lv2-devel
+BuildRequires: meson
+BuildRequires: ninja
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _noautoprovfiles        %{_libdir}/lv2
+
+%description
+An lv2 plug-in for broadband noise reduction.
+
+Features:
+- Spectral gating and spectral subtraction suppression rule
+- Adaptive and manual noise thresholds estimation
+- Adjustable noise floor
+- Adjustable offset of thresholds to perform over-subtraction
+- Time smoothing and a masking estimation to reduce artifacts
+- Basic onset detector to avoid transients suppression
+- Whitening of the noise floor to mask artifacts and to recover higher
+  frequencies
+- Option to listen to the residual signal
+- Soft bypass
+- Noise profile saved with the session
+
+%package lv2
+Summary:       An lv2 plugin for broadband noise reduction
+Group:         Applications
+
+%description lv2
+An lv2 plug-in for broadband noise reduction.
+
+Features:
+- Spectral gating and spectral subtraction suppression rule
+- Adaptive and manual noise thresholds estimation
+- Adjustable noise floor
+- Adjustable offset of thresholds to perform over-subtraction
+- Time smoothing and a masking estimation to reduce artifacts
+- Basic onset detector to avoid transients suppression
+- Whitening of the noise floor to mask artifacts and to recover higher
+  frequencies
+- Option to listen to the residual signal
+- Soft bypass
+- Noise profile saved with the session
+
+%prep
+%setup -qn %{name}-%{commit}
+
+%patch0 -p1
+
+%build
+
+%meson build
+
+%meson_build -C build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%meson_install -C build
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files lv2
+%defattr(644,root,root,755)
+%doc README.md
+%dir %{_libdir}/lv2/nrepel.lv2
+%{_libdir}/lv2/nrepel.lv2/*.ttl
+%attr(755,root,root) %{_libdir}/lv2/nrepel.lv2/*.so
+BuildRequires:  rpmbuild(macros) >= 1.726
+
This page took 0.075569 seconds and 4 git commands to generate.