Try again disabling of ffmpeg

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2024-10-28 17:02:57 +02:00
parent 45d7de5540
commit 2c48dbad27
Signed by: davidlt
GPG Key ID: 7A5F42FAF91FACC3

View File

@ -1,6 +1,6 @@
# The presence of this macro ensures the disttag changes
# when set in side tags
%bcond_with bootstrap
%bcond_without bootstrap
%if 0%{?rhel} && 0%{?rhel} < 9
%bcond_with ffmpeg
@ -13,7 +13,7 @@
Name: chromaprint
Version: 1.5.1
Release: 22.2.riscv64%{?dist}
Release: 22.3.riscv64%{?dist}
Summary: Library implementing the AcoustID fingerprinting
# Automatically converted from old format: GPLv2+ - review is highly recommended.
@ -67,7 +67,7 @@ found in the main header file.
%if %{with ffmpeg}
%package tools
Summary: Chromaprint audio fingerprinting tools
BuildRequires: ffmpeg-free-devel
#BuildRequires: ffmpeg-free-devel
Requires: libchromaprint%{?_isa} = %{version}-%{release}
%description tools
@ -88,8 +88,8 @@ License for binaries is GPLv2+ but source code is MIT + LGPLv2+
# examples and cli tools require ffmpeg, so turn off; test depend of external artifact so turn off.
%cmake -GNinja \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_TESTS=OFF \
-DBUILD_TOOLS=%{?with_ffmpeg:ON}%{!?with_ffmpeg:OFF}
-DBUILD_TESTS=OFF
# -DBUILD_TOOLS=%{?with_ffmpeg:ON}%{!?with_ffmpeg:OFF}
%cmake_build