- Add Samba support for Factory (as this needs a fix in Samba itself)

Add --enable-libsmbclient to configure, add BR on pkgconfig(smbclient)
- License is now GPLv3+ by default (--enable-version3)

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=110
This commit is contained in:
Ismail Dönmez 2020-03-31 15:36:12 +00:00 committed by Git OBS Bridge
parent 7d6c360a1b
commit c88e187dc3
2 changed files with 17 additions and 3 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Mar 31 00:41:22 UTC 2020 - Ismail Dönmez <idonmez@suse.com>
- Add Samba support for Factory (as this needs a fix in Samba itself)
Add --enable-libsmbclient to configure, add BR on pkgconfig(smbclient)
- License is now GPLv3+ by default (--enable-version3)
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Mar 30 07:14:39 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com> Mon Mar 30 07:14:39 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -60,6 +60,7 @@
%bcond_without libaom %bcond_without libaom
%bcond_without mysofa %bcond_without mysofa
%bcond_without vidstab %bcond_without vidstab
%bcond_without smbclient
%bcond_without srt %bcond_without srt
%bcond_without codec2 %bcond_without codec2
%bcond_without lv2 %bcond_without lv2
@ -70,6 +71,7 @@
%bcond_with libaom %bcond_with libaom
%bcond_with mysofa %bcond_with mysofa
%bcond_with vidstab %bcond_with vidstab
%bcond_with smbclient
%bcond_with srt %bcond_with srt
%bcond_with codec2 %bcond_with codec2
%bcond_with lv2 %bcond_with lv2
@ -93,7 +95,7 @@ Name: ffmpeg-4
Version: 4.2.2 Version: 4.2.2
Release: 0 Release: 0
Summary: Library for working with various multimedia formats Summary: Library for working with various multimedia formats
License: LGPL-2.1-or-later AND GPL-2.0-or-later License: GPL-3.0-or-later
Group: Productivity/Multimedia/Video/Editors and Convertors Group: Productivity/Multimedia/Video/Editors and Convertors
URL: https://ffmpeg.org/ URL: https://ffmpeg.org/
@ -177,6 +179,9 @@ BuildRequires: pkgconfig(opus)
BuildRequires: pkgconfig(rubberband) BuildRequires: pkgconfig(rubberband)
%endif %endif
BuildRequires: pkgconfig(sdl2) BuildRequires: pkgconfig(sdl2)
%if %{with smbclient}
BuildRequires: pkgconfig(smbclient)
%endif
%if %{with soxr} %if %{with soxr}
BuildRequires: pkgconfig(soxr) BuildRequires: pkgconfig(soxr)
%endif %endif
@ -598,6 +603,10 @@ LDFLAGS="%_lto_cflags" \
--enable-shared \ --enable-shared \
--disable-static \ --disable-static \
--enable-gpl \ --enable-gpl \
--enable-version3 \
%if %{with smbclient}
--enable-libsmbclient \
%endif
--disable-openssl \ --disable-openssl \
--enable-avresample \ --enable-avresample \
--enable-gnutls \ --enable-gnutls \
@ -687,11 +696,9 @@ LDFLAGS="%_lto_cflags" \
%if %{with opencore} %if %{with opencore}
--enable-libopencore-amrnb \ --enable-libopencore-amrnb \
--enable-libopencore-amrwb \ --enable-libopencore-amrwb \
--enable-version3 \
%endif %endif
%if %{with amrwb} %if %{with amrwb}
--enable-libvo-amrwbenc \ --enable-libvo-amrwbenc \
--enable-version3 \
%endif %endif
%if %{with x264} %if %{with x264}
--enable-libx264 \ --enable-libx264 \