commit 9f938879c0d8bbe75a4a16c2a87a2385481554d9
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Thu Nov 8 10:34:53 2018 +0100
Add support for rpi
ffmpeg.spec | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/ffmpeg.spec b/ffmpeg.spec
index 31fadb3..96e4e68 100644
--- a/ffmpeg.spec
+++ b/ffmpeg.spec
@@ -61,6 +61,10 @@
%global libnpp_ldlags $(pkg-config --libs-only-L nppi-%{_cuda_version}
nppc-%{_cuda_version})
%endif
+%if 0%{?_with_rpi:1}
+%global _with_mmal 1
+%endif
+
%if 0%{?_without_gpl}
%global lesser L
%endif
@@ -137,6 +141,7 @@ BuildRequires: nasm
%endif
%{?_with_webp:BuildRequires: libwebp-devel}
%{?_with_netcdf:BuildRequires: netcdf-devel}
+%{?_with_rpi:BuildRequires: raspberrypi-vc-libs-devel}
%{!?_without_nvenc:BuildRequires: nv-codec-headers}
%{!?_without_amr:BuildRequires: opencore-amr-devel vo-amrwbenc-devel}
%{!?_without_openal:BuildRequires: openal-soft-devel}
@@ -255,6 +260,7 @@ This package contains development files for %{name}
%{?_with_libnpp:--enable-libnpp --enable-nonfree} \\\
--enable-libmp3lame \\\
%{?_with_netcdf:--enable-netcdf} \\\
+ %{?_with_mmal:--enable-mmal} \\\
%{!?_without_nvenc:--enable-nvenc} \\\
%{!?_without_openal:--enable-openal} \\\
%{!?_without_opencl:--enable-opencl} \\\
Show replies by date