SHA256
1
0
forked from jengelh/ffmpeg-4

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 16:09:05 +08:00
parent 79e46abe56
commit e7ad3f1962
2 changed files with 17 additions and 1 deletions

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Sun Sep 29 07:36:13 UTC 2024 - Cliff Zhao <qzhao@suse.com>
- Update ffmpeg-4.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
-------------------------------------------------------------------
Fri Sep 6 15:06:21 UTC 2024 - Cliff Zhao <qzhao@suse.com>

View File

@ -55,7 +55,13 @@
%bcond_with smbclient
%bcond_with x264
%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
%else
%bcond_without xvid
%endif
%if 0%{?suse_version} > 1500
%bcond_without libaom
@ -71,7 +77,6 @@
%bcond_without vulkan
%bcond_without amrwb
%bcond_without opencore
%bcond_without xvid
%else
%bcond_with libaom
%bcond_with mysofa
@ -748,6 +753,8 @@ LDFLAGS="%_lto_cflags" \
%endif
%if %{with xvid}
--enable-libxvid \
%else
--disable-libxvid \
%endif
%if !0%{?BUILD_ORIG}
--enable-muxers \