Compare commits
9 Commits
rawhide
...
f41-riscv6
Author | SHA1 | Date | |
---|---|---|---|
4c712ccb26 | |||
8b294b0bc9 | |||
795b5c46fd | |||
5e719c1d73 | |||
2c48dbad27 | |||
45d7de5540 | |||
8bb446e4d4 | |||
bb40096ca7 | |||
d834b50158 |
@ -1,11 +1,13 @@
|
||||
# The presence of this macro ensures the disttag changes
|
||||
# when set in side tags
|
||||
%bcond_with bootstrap
|
||||
#%bcond_without bootstrap
|
||||
%bcond bootstrap 1
|
||||
|
||||
%if 0%{?rhel} && 0%{?rhel} < 9
|
||||
%bcond_with ffmpeg
|
||||
%else
|
||||
%bcond ffmpeg %{?_with_bootstrap:0}%{!?_with_bootstrap:1}
|
||||
#%bcond ffmpeg %{?_with_bootstrap:0}%{!?_with_bootstrap:1}
|
||||
%bcond_with ffmpeg
|
||||
%endif
|
||||
# Globing of libraries is against the packging guidelines
|
||||
%global sover 1
|
||||
@ -13,7 +15,7 @@
|
||||
|
||||
Name: chromaprint
|
||||
Version: 1.5.1
|
||||
Release: 22%{?dist}
|
||||
Release: 22.3.riscv64%{?dist}
|
||||
Summary: Library implementing the AcoustID fingerprinting
|
||||
|
||||
# Automatically converted from old format: GPLv2+ - review is highly recommended.
|
||||
@ -64,23 +66,6 @@ applications which will use %{name}.
|
||||
The library exposes a simple C API. The documentation for the C API can be
|
||||
found in the main header file.
|
||||
|
||||
%if %{with ffmpeg}
|
||||
%package tools
|
||||
Summary: Chromaprint audio fingerprinting tools
|
||||
BuildRequires: ffmpeg-free-devel
|
||||
Requires: libchromaprint%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description tools
|
||||
Chromaprint library is the core component of the AcoustID project. It's a
|
||||
client-side library that implements a custom algorithm for extracting
|
||||
fingerprints from raw audio sources.
|
||||
|
||||
This is a set of Chromaprint tools related to acoustic fingerprinting
|
||||
featuring fpcalc an standalone AcoustID tool used by Picard.
|
||||
|
||||
License for binaries is GPLv2+ but source code is MIT + LGPLv2+
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
@ -89,7 +74,8 @@ License for binaries is GPLv2+ but source code is MIT + LGPLv2+
|
||||
%cmake -GNinja \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DBUILD_TESTS=OFF \
|
||||
-DBUILD_TOOLS=%{?with_ffmpeg:ON}%{!?with_ffmpeg:OFF}
|
||||
-DBUILD_TOOLS=OFF
|
||||
# -DBUILD_TOOLS=%{?with_ffmpeg:ON}%{!?with_ffmpeg:OFF}
|
||||
|
||||
%cmake_build
|
||||
|
||||
@ -108,12 +94,17 @@ rm -f %{buildroot}%{_libdir}/lib*.la
|
||||
%{_libdir}/lib*.so
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
|
||||
%if %{with ffmpeg}
|
||||
%files tools
|
||||
%{_bindir}/fpcalc
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Mon Oct 28 2024 David Abdurachmanov <davidlt@rivosinc.com> - 1.5.1-22.2.riscv64
|
||||
- Rebuild for ffmpeg (riscv64)
|
||||
|
||||
* Mon Oct 28 2024 David Abdurachmanov <davidlt@rivosinc.com> - 1.5.1-22.1.riscv64
|
||||
- Boostrap again, disable ffmpeg.
|
||||
|
||||
* Mon Oct 28 2024 David Abdurachmanov <davidlt@rivosinc.com> - 1.5.1-22.0.riscv64
|
||||
- Bootstrap (riscv64)
|
||||
|
||||
* Fri Sep 20 2024 Neal Gompa <ngompa@fedoraproject.org> - 1.5.1-22
|
||||
- Rebuild for ffmpeg 7
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user