-
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is a builddep for zrythm. I did not include `update.rhai` because upstream has not released any newer versions for the last 3 years. (cherry picked from commit 9826c48) Co-authored-by: madomado <[email protected]>
- Loading branch information
Showing
3 changed files
with
68 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
project pkg { | ||
rpm { | ||
spec = "libaudec.spec" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
diff -uraN libaudec-v0.2.2/meson.build omv-libaudec-v0.2.2/meson.build | ||
--- libaudec-v0.2.2/meson.build 2020-05-16 13:50:13.000000000 +0200 | ||
+++ omv-libaudec-v0.2.2/meson.build 2020-07-20 12:41:48.461809598 +0200 | ||
@@ -212,8 +212,6 @@ | ||
install: not meson.is_subproject(), | ||
) | ||
|
||
-subdir('tests') | ||
- | ||
summary = [ | ||
'', | ||
'------', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
%global _desc %{expand: | ||
libaudec (lib audio decoder) is a wrapper library over ffmpeg, sndfile and | ||
libsamplerate for reading and resampling audio files. | ||
} | ||
|
||
Name: libaudec | ||
Version: 0.3.4 | ||
Release: 1%?dist | ||
Summary: libaudec (lib audio decoder) is a wrapper library over ffmpeg, sndfile and libsamplerate for reading and resampling audio files | ||
License: AGPL-3.0-or-later | ||
URL: https://git.sr.ht/~alextee/libaudec | ||
Source0: %url/archive/v%version.tar.gz | ||
Patch0: libaudec.patch | ||
BuildRequires: cmake meson ninja-build gcc | ||
BuildRequires: pkgconfig(samplerate) | ||
BuildRequires: pkgconfig(sndfile) | ||
BuildRequires: ffmpeg-free-devel | ||
|
||
%description %_desc | ||
|
||
%package devel | ||
Summary: Development files for %{name} | ||
Requires: %{name}%{?_isa} = %{version}-%{release} | ||
|
||
%description devel %_desc | ||
This package contains the development files for the %name package. | ||
|
||
%prep | ||
%setup -q -n libaudec-v%{version} | ||
%ifarch %{ix86} %{arm} | ||
%autopatch -p1 | ||
rm -r tests | ||
%endif | ||
|
||
%build | ||
%meson | ||
%meson_build | ||
|
||
%install | ||
%meson_install | ||
|
||
%files | ||
%doc README.md | ||
%license COPYING COPYING.GPL3 | ||
%_bindir/audec | ||
|
||
%files devel | ||
%_includedir/audec/audec.h | ||
%_libdir/libaudec.a | ||
%_libdir/pkgconfig/audec.pc | ||
%_libdir/libaudec.so |