From b1a2e6bd46578db099d5717d9fc1ee2dda3deb20 Mon Sep 17 00:00:00 2001 From: Nicolas Chauvet Date: Fri, 21 Dec 2018 14:27:08 +0100 Subject: [PATCH] Add omx/omx_rpi support --- ffmpeg.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ffmpeg.spec b/ffmpeg.spec index 212d235..cddcf52 100644 --- a/ffmpeg.spec +++ b/ffmpeg.spec @@ -70,6 +70,8 @@ %endif %if 0%{?_with_rpi:1} +%global _with_omx 1 +%global _with_omx_rpi 1 %global _with_mmal 1 ExclusiveArch: armv7hnl %endif @@ -150,6 +152,7 @@ BuildRequires: nasm %{?_with_rpi:BuildRequires: raspberrypi-vc-devel} %{!?_without_nvenc:BuildRequires: nv-codec-headers} %{!?_without_amr:BuildRequires: opencore-amr-devel vo-amrwbenc-devel} +%{?_with_omx:BuildRequires: libomxil-bellagio-devel} %{!?_without_openal:BuildRequires: openal-soft-devel} %if 0%{!?_without_opencl:1} BuildRequires: opencl-headers ocl-icd-devel @@ -269,6 +272,8 @@ This package contains development files for %{name} %{?_with_netcdf:--enable-netcdf} \\\ %{?_with_mmal:--enable-mmal} \\\ %{!?_without_nvenc:--enable-nvenc} \\\ + %{?_with_omx:--enable-omx} \\\ + %{?_with_omx_rpi:--enable-omx-rpi} \\\ %{!?_without_openal:--enable-openal} \\\ %{!?_without_opencl:--enable-opencl} \\\ %{!?_without_opencv:--enable-libopencv} \\\