diff --git a/digikam.changes b/digikam.changes index dd20036..cd966c6 100644 --- a/digikam.changes +++ b/digikam.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Nov 7 07:49:32 UTC 2022 - Christophe Giboudeaux + +- Explicitly use FFmpeg 4 to build Digikam for the moment + ------------------------------------------------------------------- Tue Sep 6 10:53:35 UTC 2022 - Wolfgang Bauer diff --git a/digikam.spec b/digikam.spec index bd19d78..bbd53a2 100644 --- a/digikam.spec +++ b/digikam.spec @@ -94,11 +94,19 @@ BuildRequires: cmake(Qt5Xml) BuildRequires: cmake(Qt5XmlPatterns) BuildRequires: cmake(libheif) BuildRequires: pkgconfig(Magick++) +%if 0%{suse_version} >= 1550 +BuildRequires: ffmpeg-4-libavcodec-devel +BuildRequires: ffmpeg-4-libavdevice-devel +BuildRequires: ffmpeg-4-libavfilter-devel +BuildRequires: ffmpeg-4-libavformat-devel +BuildRequires: ffmpeg-4-libavutil-devel +%else BuildRequires: pkgconfig(libavcodec) BuildRequires: pkgconfig(libavdevice) BuildRequires: pkgconfig(libavfilter) BuildRequires: pkgconfig(libavformat) BuildRequires: pkgconfig(libavutil) +%endif BuildRequires: pkgconfig(libgphoto2) >= 2.4.0 BuildRequires: pkgconfig(libswscale) Requires: %{name}-plugins