SHA256
1
0
forked from jengelh/ffmpeg-6

Disable xvid plugin build and dependence

Since legal reviewers are concerned xvid patents have not expired
in Brazil, which should not be used in a commercial context.
https://en.wikipedia.org/wiki/Xvid
This commit is contained in:
Cliff Zhao 2024-09-29 15:57:28 +08:00
parent 703dad69e8
commit c439c86599
2 changed files with 17 additions and 4 deletions

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Sun Sep 29 07:36:13 UTC 2024 - Cliff Zhao <qzhao@suse.com>
- Update ffmpeg-6.spec:
Disable xvid plugin build and dependence, since legal reviewers
are concerned xvid patents have not expired in Brazil, which should
not be used in a commercial context.
https://en.wikipedia.org/wiki/Xvid
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Sep 26 10:02:20 UTC 2024 - Stefan Dirsch <sndirsch@suse.com> Thu Sep 26 10:02:20 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>

View File

@ -59,7 +59,13 @@
%bcond_with smbclient %bcond_with smbclient
%bcond_with x264 %bcond_with x264
%bcond_with x265 %bcond_with x265
# openSUSE legal reviewers are concerned xvid patents and should not be used in commercial context.
%if !0%{?is_opensuse}
%bcond_with xvid %bcond_with xvid
%else
%bcond_without xvid
%endif
%if 0%{?suse_version} > 1500 %if 0%{?suse_version} > 1500
%bcond_without mysofa %bcond_without mysofa
@ -69,7 +75,6 @@
%bcond_without vulkan %bcond_without vulkan
%bcond_without amrwb %bcond_without amrwb
%bcond_without opencore %bcond_without opencore
%bcond_without xvid
%else %else
%bcond_with mysofa %bcond_with mysofa
%bcond_with vidstab %bcond_with vidstab
@ -89,9 +94,6 @@ Summary: Set of libraries for working with various multimedia formats
License: GPL-3.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/
#Freshcode-URL: http://freshcode.club/projects/ffmpeg
#Git-Clone: git://source.ffmpeg.org/ffmpeg
Source: https://www.ffmpeg.org/releases/%_name-%version.tar.xz Source: https://www.ffmpeg.org/releases/%_name-%version.tar.xz
Source2: https://www.ffmpeg.org/releases/%_name-%version.tar.xz.asc Source2: https://www.ffmpeg.org/releases/%_name-%version.tar.xz.asc
Source3: ffmpeg-6-rpmlintrc Source3: ffmpeg-6-rpmlintrc
@ -671,6 +673,8 @@ LDFLAGS="%_lto_cflags" \
%endif %endif
%if %{with xvid} %if %{with xvid}
--enable-libxvid \ --enable-libxvid \
%else
--disable-libxvid \
%endif %endif
%if !0%{?BUILD_ORIG} %if !0%{?BUILD_ORIG}
--enable-muxers \ --enable-muxers \