From 7182daf78650b4d911018a9445d693f771839002 Mon Sep 17 00:00:00 2001 From: madomado Date: Sun, 11 Aug 2024 10:39:01 +0800 Subject: [PATCH] add: lsp-dsp-lib (#1871) (cherry picked from commit a3c1967ce8ed72150016a22ffd467b6fd9ff141d) --- anda/lib/lsp-dsp/anda.hcl | 5 +++ anda/lib/lsp-dsp/liblsp-dsp.spec | 57 ++++++++++++++++++++++++++++++++ anda/lib/lsp-dsp/update.rhai | 1 + 3 files changed, 63 insertions(+) create mode 100644 anda/lib/lsp-dsp/anda.hcl create mode 100644 anda/lib/lsp-dsp/liblsp-dsp.spec create mode 100644 anda/lib/lsp-dsp/update.rhai diff --git a/anda/lib/lsp-dsp/anda.hcl b/anda/lib/lsp-dsp/anda.hcl new file mode 100644 index 0000000000..c9fa51896f --- /dev/null +++ b/anda/lib/lsp-dsp/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "liblsp-dsp.spec" + } +} diff --git a/anda/lib/lsp-dsp/liblsp-dsp.spec b/anda/lib/lsp-dsp/liblsp-dsp.spec new file mode 100644 index 0000000000..dba228b83a --- /dev/null +++ b/anda/lib/lsp-dsp/liblsp-dsp.spec @@ -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 + +%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 +- Initial package diff --git a/anda/lib/lsp-dsp/update.rhai b/anda/lib/lsp-dsp/update.rhai new file mode 100644 index 0000000000..9beaf7335d --- /dev/null +++ b/anda/lib/lsp-dsp/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("lsp-plugins/lsp-dsp-lib"));