|
|
@ -17,15 +17,21 @@
|
|
|
|
%global _without_nvenc 1
|
|
|
|
%global _without_nvenc 1
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?_without_gpl}
|
|
|
|
|
|
|
|
%global lesser L
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?_with_amr} || 0%{?_with_gmp} || 0%{?_with_smb}
|
|
|
|
|
|
|
|
%global ffmpeg_license %{?lesser}GPLv3+
|
|
|
|
|
|
|
|
%else
|
|
|
|
|
|
|
|
%global ffmpeg_license %{?lesser}GPLv2+
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
Summary: Digital VCR and streaming server
|
|
|
|
Summary: Digital VCR and streaming server
|
|
|
|
Name: ffmpeg
|
|
|
|
Name: ffmpeg
|
|
|
|
Version: 3.2.2
|
|
|
|
Version: 3.2.2
|
|
|
|
Release: 1%{?date}%{?date:git}%{?rel}%{?dist}
|
|
|
|
Release: 1%{?date}%{?date:git}%{?rel}%{?dist}
|
|
|
|
%if 0%{?_with_amr} || 0%{?_with_gmp}
|
|
|
|
License: %{ffmpeg_license}
|
|
|
|
License: GPLv3+
|
|
|
|
|
|
|
|
%else
|
|
|
|
|
|
|
|
License: GPLv2+
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
URL: http://ffmpeg.org/
|
|
|
|
URL: http://ffmpeg.org/
|
|
|
|
%if 0%{?date}
|
|
|
|
%if 0%{?date}
|
|
|
|
Source0: %{name}-%{?branch}%{date}.tar.bz2
|
|
|
|
Source0: %{name}-%{?branch}%{date}.tar.bz2
|
|
|
@ -221,7 +227,7 @@ This package contains development files for %{name}
|
|
|
|
--enable-pthreads \\\
|
|
|
|
--enable-pthreads \\\
|
|
|
|
--disable-static \\\
|
|
|
|
--disable-static \\\
|
|
|
|
--enable-shared \\\
|
|
|
|
--enable-shared \\\
|
|
|
|
--enable-gpl \\\
|
|
|
|
%{!?_without_gpl:--enable-gpl} \\\
|
|
|
|
--disable-debug \\\
|
|
|
|
--disable-debug \\\
|
|
|
|
--disable-stripping
|
|
|
|
--disable-stripping
|
|
|
|
|
|
|
|
|
|
|
|