]>
Commit | Line | Data |
---|---|---|
3004efd6 JK |
1 | |
2 | # no actual releases since October 2017, homepage suggest building from git | |
3 | %define commit 60167c09fc51242101a041c9d6642bc92fdabcbb | |
4 | %define timestamp 20180917 | |
5 | ||
6 | Summary: An lv2 plugin for broadband noise reduction | |
7 | Name: noise-repellent | |
8 | Version: 0.1.4.%{timestamp} | |
9 | Release: 1 | |
10 | License: GPL v3 | |
11 | Group: Applications | |
12 | Source0: https://github.com/lucianodato/noise-repellent/archive/%{commit}/%{name}-%{version}.tar.gz | |
13 | # Source0-md5: cf34c73b4494f15549c6c4fe5e4a068b | |
14 | Patch0: lv2_dir.patch | |
15 | URL: https://github.com/lucianodato/noise-repellent | |
16 | BuildRequires: fftw3-devel | |
17 | BuildRequires: lv2-devel | |
18 | BuildRequires: meson | |
19 | BuildRequires: ninja | |
882e9a39 | 20 | BuildRequires: rpmbuild(macros) >= 1.726 |
3004efd6 JK |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
22 | ||
23 | %define _noautoprovfiles %{_libdir}/lv2 | |
24 | ||
25 | %description | |
26 | An lv2 plug-in for broadband noise reduction. | |
27 | ||
28 | Features: | |
29 | - Spectral gating and spectral subtraction suppression rule | |
30 | - Adaptive and manual noise thresholds estimation | |
31 | - Adjustable noise floor | |
32 | - Adjustable offset of thresholds to perform over-subtraction | |
33 | - Time smoothing and a masking estimation to reduce artifacts | |
34 | - Basic onset detector to avoid transients suppression | |
35 | - Whitening of the noise floor to mask artifacts and to recover higher | |
36 | frequencies | |
37 | - Option to listen to the residual signal | |
38 | - Soft bypass | |
39 | - Noise profile saved with the session | |
40 | ||
41 | %package lv2 | |
42 | Summary: An lv2 plugin for broadband noise reduction | |
43 | Group: Applications | |
44 | ||
45 | %description lv2 | |
46 | An lv2 plug-in for broadband noise reduction. | |
47 | ||
48 | Features: | |
49 | - Spectral gating and spectral subtraction suppression rule | |
50 | - Adaptive and manual noise thresholds estimation | |
51 | - Adjustable noise floor | |
52 | - Adjustable offset of thresholds to perform over-subtraction | |
53 | - Time smoothing and a masking estimation to reduce artifacts | |
54 | - Basic onset detector to avoid transients suppression | |
55 | - Whitening of the noise floor to mask artifacts and to recover higher | |
56 | frequencies | |
57 | - Option to listen to the residual signal | |
58 | - Soft bypass | |
59 | - Noise profile saved with the session | |
60 | ||
61 | %prep | |
62 | %setup -qn %{name}-%{commit} | |
63 | ||
64 | %patch0 -p1 | |
65 | ||
66 | %build | |
67 | ||
68 | %meson build | |
69 | ||
70 | %meson_build -C build | |
71 | ||
72 | %install | |
73 | rm -rf $RPM_BUILD_ROOT | |
74 | ||
75 | %meson_install -C build | |
76 | ||
77 | %clean | |
78 | rm -rf $RPM_BUILD_ROOT | |
79 | ||
80 | %files lv2 | |
81 | %defattr(644,root,root,755) | |
82 | %doc README.md | |
83 | %dir %{_libdir}/lv2/nrepel.lv2 | |
84 | %{_libdir}/lv2/nrepel.lv2/*.ttl | |
85 | %attr(755,root,root) %{_libdir}/lv2/nrepel.lv2/*.so |