]> git.pld-linux.org Git - packages/chromaprint.git/blobdiff - chromaprint.spec
- upstream fixes for ffmpeg 5+, rel 2
[packages/chromaprint.git] / chromaprint.spec
index 05582a3e6acd5d4e6f116ebdcd20787e290b3719..5015e31692ff9f3273541996351cea537d617993 100644 (file)
@@ -9,18 +9,20 @@
 Summary:       Library implementing the AcoustID fingerprinting
 Summary(pl.UTF-8):     Biblioteka implementująca odciski AcoustID
 Name:          chromaprint
-Version:       1.4.3
-Release:       1
+Version:       1.5.1
+Release:       2
 License:       LGPL v2.1+
 Group:         Libraries
 #Source0Download: https://github.com/acoustid/chromaprint/releases
 Source0:       https://github.com/acoustid/chromaprint/releases/download/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: 20014ca19974de9657d91d331d11f936
+# Source0-md5: 54e71f86bcf1d34989db639044ba9628
+Patch0:                ffmpeg5.patch
+Patch1:                ffmpeg5-decode-retry.patch
 URL:           https://acoustid.org/chromaprint
-BuildRequires: cmake >= 2.8.12
+BuildRequires: cmake >= 3.3
 %{?with_ffmpeg:BuildRequires:  ffmpeg-devel >= 0.6}
 %{?with_fftw3:BuildRequires:   fftw3-devel >= 3}
-BuildRequires: libstdc++-devel
+BuildRequires: libstdc++-devel >= 6:4.7
 BuildRequires: taglib-devel
 Requires:      libchromaprint = %{version}-%{release}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -81,7 +83,9 @@ Ten pakiet zawiera pliki nagłówkowe potrzebne programistom do
 tworzenia aplikacji wykorzystujących bibliotekę libchromaprint.
 
 %prep
-%setup -q -n %{name}-v%{version}
+%setup -q
+%patch0 -p1
+%patch1 -p1
 
 %build
 install -d build
This page took 0.072409 seconds and 4 git commands to generate.