Summary: FFmpegSource - FFmpeg wrapper library
Summary(pl.UTF-8): FFmpegSource - biblioteka obudowujÄ…ca FFmpeg
Name: ffms2
-Version: 2.23
+Version: 2.40
Release: 1
License: MIT (ffmpegsource itself), GPL v3+ (forced by ffmpeg)
Group: Libraries
#Source0Download: https://github.com/FFMS/ffms2/releases
Source0: https://github.com/FFMS/ffms2/archive/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: e7728ae581e278ade6bc9f204faaff9e
+# Source0-md5: 141f194432d70bbf5456a847043f332a
+Patch0: ffmpeg5.patch
URL: https://github.com/FFMS/ffms2
BuildRequires: autoconf >= 2.58
BuildRequires: automake >= 1:1.11
BuildRequires: ffmpeg-devel >= 0.9
# libavresample >= 1.0.0 or libswresample >= 1.0.0
%{?with_avresample:BuildRequires: ffmpeg-devel >= 1.1}
+%ifarch %{armv6}
+BuildRequires: libatomic-devel
+%endif
BuildRequires: libstdc++-devel
BuildRequires: libtool >= 2:2.0
BuildRequires: pkgconfig >= 1:0.22
-BuildRequires: rpmbuild(macros) >= 1.566
+BuildRequires: rpmbuild(macros) >= 2.007
BuildRequires: sed >= 4.0
BuildRequires: zlib-devel
Obsoletes: ffmpegsource < 2.20
%prep
%setup -q
+%patch0 -p1
+
+install -d src/config
%build
CXXFLAGS="%{rpmcxxflags} -Wall -Wextra"
%{__autoheader}
%{__automake}
%configure \
+%ifarch %{armv6}
+ LIBS=-latomic \
+%endif
--enable-avresample%{!?with_avresample:=no} \
--disable-silent-rules \
--enable-shared \