From dae562d93415b894de39cb3ac601653c256404bf Mon Sep 17 00:00:00 2001 From: Leigh Scott Date: Thu, 31 Dec 2020 17:03:00 +0000 Subject: [PATCH] Enable smb support --- ffmpeg.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ffmpeg.spec b/ffmpeg.spec index 576ffa7..075bbc9 100644 --- a/ffmpeg.spec +++ b/ffmpeg.spec @@ -28,6 +28,9 @@ %endif %if 0%{?fedora} || 0%{?rhel} > 7 +%ifnarch i686 +%global _with_smb 1 +%endif %ifarch x86_64 i686 %global _with_vapoursynth 1 %endif @@ -95,7 +98,7 @@ ExclusiveArch: armv7hnl %global lesser L %endif -%if 0%{!?_without_amr} || 0%{?_with_gmp} || 0%{?_with_smb} || 0%{?_with_vmaf} +%if 0%{!?_without_amr} || 0%{?_with_gmp} || 0%{?_with_smb} || 0%{?_with_vmaf} || 0%{?_with_smb} %global ffmpeg_license %{?lesser}GPLv3+ %else %global ffmpeg_license %{?lesser}GPLv2+ @@ -317,7 +320,7 @@ This package contains development files for %{name} %{?_with_rav1e:--enable-librav1e} \\\ %{?_with_rtmp:--enable-librtmp} \\\ %{?_with_rubberband:--enable-librubberband} \\\ - %{?_with_smb:--enable-libsmbclient} \\\ + %{?_with_smb:--enable-libsmbclient --enable-version3} \\\ %{?_with_snappy:--enable-libsnappy} \\\ --enable-libsoxr \\\ --enable-libspeex \\\