From aec9d7b9b6ffcd8ac575716fc10dce7f0c7063d7 Mon Sep 17 00:00:00 2001 From: Nicolas Chauvet Date: Tue, 8 Jan 2019 12:57:16 +0100 Subject: [PATCH] Only enable omxil on rpi for now --- vlc.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/vlc.spec b/vlc.spec index ae365cb..c029883 100644 --- a/vlc.spec +++ b/vlc.spec @@ -287,7 +287,10 @@ VLC media player extras modules. %prep -%autosetup -p1 -n %{name}-%{version}%{?vlc_rc} +%setup -q -n %{name}-%{version}%{?vlc_rc} +%ifarch %{arm} +%patch0 -p1 +%endif %if 0%{?rhel} == 7 . /opt/rh/devtoolset-7/enable @@ -321,9 +324,9 @@ rm aclocal.m4 m4/lib*.m4 m4/lt*.m4 || : %{?_with_opencv:--enable-opencv} \ --enable-sftp \ %{?_with_vcdimager:--enable-vcdx} \ +%{?_with_rpi: \ --enable-omxil \ --enable-omxil-vout \ -%{?_with_rpi: \ --enable-rpi-omxil \ --enable-mmal \ } \