Skip to content

Commit

Permalink
add clap-validator
Browse files Browse the repository at this point in the history
  • Loading branch information
ycollet committed Jan 22, 2024
1 parent 1af43cc commit d3a71b2
Show file tree
Hide file tree
Showing 4 changed files with 96 additions and 1 deletion.
5 changes: 5 additions & 0 deletions TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,11 @@
| ABS things | https://sourceforge.net/projects/abcplus/files/ |
| LeGrandMechantLoop | https://github.com/benkuper/LeGrandMechantLoop |
| Wasted-Audio | https://github.com/Wasted-Audio |
| basic-pitch | https://github.com/spotify/basic-pitch
| clap-host | https://github.com/free-audio/clap-host |
| clap-plugins | https://github.com/free-audio/clap-plugins |
| clap-info | https://github.com/free-audio/clap-info |
| clap-validator | https://github.com/free-audio/clap-validator |

Check the following URL: https://github.com/forart/HyMPS

Expand Down
43 changes: 43 additions & 0 deletions clap/clap-plugins.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Tag: Tool
# Type: Devel, Plugin, CLAP
# Category: Tool

Summary: An automatic CLAP validation and testing tool
Name: clap-validator
Version: 0.3.2
Release: 1%{?dist}
License: MIT
URL: https://github.com/free-audio/clap-validator

Vendor: Audinux
Distribution: Audinux

Source0: https://github.com/free-audio/clap-validator/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz

BuildRequires: gcc gcc-c++
BuildRequires: cmake

%description
A validator and automatic test suite for CLAP plugins.
Clap-validator can automatically test one or more plugins for
common bugs and incorrect behavior.

%prep
%autosetup -n %{name}-%{version}

%build

%cmake
%cmake_build

%install
%cmake_install

%files
%doc README.md
%license LICENSE
%{_bindir}/*

%changelog
* Mon Jan 22 2024 Yann Collette <ycollette dot nospam at free.fr> 0.3.2-1
- initial release
45 changes: 45 additions & 0 deletions clap/clap-validator.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Tag: Tool
# Type: Devel, Plugin, CLAP
# Category: Tool

Summary: An automatic CLAP validation and testing tool
Name: clap-validator
Version: 0.3.2
Release: 1%{?dist}
License: MIT
URL: https://github.com/free-audio/clap-validator

Vendor: Audinux
Distribution: Audinux

Source0: https://github.com/free-audio/clap-validator/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz

BuildRequires: rust cargo

%description
A validator and automatic test suite for CLAP plugins.
Clap-validator can automatically test one or more plugins for common bugs and incorrect behavior.

%prep
%autosetup -n %{name}-%{version}

%build

export RUSTFLAGS="-g -O"
export RUST_BACKTRACE=1

cargo build --release

%install

install -m 755 -d %{buildroot}/%{_bindir}/
cp target/release/clap-validator %{buildroot}/%{_bindir}/

%files
%doc README.md
%license LICENSE
%{_bindir}/*

%changelog
* Mon Jan 22 2024 Yann Collette <ycollette dot nospam at free.fr> 0.3.2-1
- initial release
4 changes: 3 additions & 1 deletion scripts/repo_check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -910,7 +910,9 @@ https://github.com/SpotlightKid/stereocrossdelay
https://github.com/x42/jackmidi2osc
https://github.com/brummer10/MelMatchEQ.lv2
https://github.com/SpotlightKid/sympathetic-string-resonator
https://github.com/falkTX/JackAss"
https://github.com/falkTX/JackAss
https://github.com/free-audio/clap-plugins
https://github.com/free-audio/clap-validator"

# Missing repositories:
# https://github.com/giogramegna/mantra-master
Expand Down

0 comments on commit d3a71b2

Please sign in to comment.