From 585ab84b1ef22a8550d0c1c92a850d23da5746b63b8c15742b697d8fa545ced2 Mon Sep 17 00:00:00 2001 From: ZhaoQiang Date: Sun, 29 Sep 2024 16:08:54 +0800 Subject: [PATCH] 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 --- ffmpeg-5.changes | 9 +++++++++ ffmpeg-5.spec | 9 ++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/ffmpeg-5.changes b/ffmpeg-5.changes index 7ad4879..8f65155 100644 --- a/ffmpeg-5.changes +++ b/ffmpeg-5.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Sun Sep 29 07:36:13 UTC 2024 - Cliff Zhao + +- Update ffmpeg-5.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 diff --git a/ffmpeg-5.spec b/ffmpeg-5.spec index dbeaa59..0fc397c 100644 --- a/ffmpeg-5.spec +++ b/ffmpeg-5.spec @@ -59,7 +59,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 mysofa @@ -69,7 +75,6 @@ %bcond_without vulkan %bcond_without amrwb %bcond_without opencore -%bcond_without xvid %else %bcond_with mysofa %bcond_with vidstab @@ -679,6 +684,8 @@ LDFLAGS="%_lto_cflags" \ %endif %if %{with xvid} --enable-libxvid \ +%else + --disable-libxvid \ %endif %if !0%{?BUILD_ORIG} --enable-muxers \ -- 2.45.2