Skip to content

Commit

Permalink
add: lsp-dsp-lib (#1871) (#1874)
Browse files Browse the repository at this point in the history
(cherry picked from commit a3c1967)

Co-authored-by: madomado <[email protected]>
  • Loading branch information
raboneko and madonuko authored Aug 11, 2024
1 parent 63fad85 commit f344447
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 0 deletions.
5 changes: 5 additions & 0 deletions anda/lib/lsp-dsp/anda.hcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "liblsp-dsp.spec"
}
}
57 changes: 57 additions & 0 deletions anda/lib/lsp-dsp/liblsp-dsp.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
#? https://github.com/OpenMandrivaAssociation/lsp-dsp-lib/blob/master/lsp-dsp-lib.spec

#define _empty_manifest_terminate_build 0

Name: liblsp-dsp
Version: 1.0.25
Release: 1%dist
Summary: DSP library for signal processing
License: LGPL-3.0
#Group: System/Libraries
URL: https://github.com/sadko4u/lsp-dsp-lib
BuildRequires: make git-core gcc gcc-c++
Packager: madonuko <[email protected]>

%description
DSP library for digital signal processing (and more).

This library provides set of functions that perform SIMD-optimized
computing on several hardware architectures.

%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}

%description devel
DSP library for digital signal processing (and more).

This library provides set of functions that perform SIMD-optimized
computing on several hardware architectures.

This package contains the development files for the %name package.

%prep
rm -rf * .*
git clone --recurse-submodules -j8 %url -b %version --depth 1 .

%build
make config PREFIX=%{_prefix} LIBDIR=%{_libdir}
make fetch
%make_build

%install
%make_install

%files
%doc README.md
%license COPYING
%_libdir/*.so

%files devel
%_libdir/*.a
%_includedir/lsp-plug.in/
%_libdir/pkgconfig/lsp-dsp-lib.pc

%changelog
* Sat Aug 10 2024 madonuko <[email protected]>
- Initial package
1 change: 1 addition & 0 deletions anda/lib/lsp-dsp/update.rhai
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rpm.version(gh("lsp-plugins/lsp-dsp-lib"));

0 comments on commit f344447

Please sign in to comment.