SHA256
1
0
forked from jengelh/ffmpeg-5

1 Commits

Author SHA256 Message Date
f642b77c8a Adjust bconds to build the package in SLFO without xvidcore 2025-02-21 11:10:16 +01:00
2 changed files with 13 additions and 14 deletions

View File

@@ -1,11 +1,7 @@
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Sep 29 07:36:13 UTC 2024 - Cliff Zhao <qzhao@suse.com> Tue Oct 15 08:18:54 UTC 2024 - Antonio Larrosa <alarrosa@suse.com>
- Update ffmpeg-5.spec: - Adjust bconds to build the package in SLFO without xvidcore.
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> Fri Sep 6 15:06:21 UTC 2024 - Cliff Zhao <qzhao@suse.com>

View File

@@ -59,14 +59,18 @@
%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} > 1600
%bcond_without mysofa
%bcond_without vidstab
%bcond_without codec2
%bcond_without rubberband
%bcond_without vulkan
%bcond_without amrwb
%bcond_without opencore
%bcond_without xvid
%else
%if 0%{?suse_version} > 1500 %if 0%{?suse_version} > 1500
%bcond_without mysofa %bcond_without mysofa
%bcond_without vidstab %bcond_without vidstab
@@ -82,6 +86,7 @@
%bcond_with rubberband %bcond_with rubberband
%bcond_with vulkan %bcond_with vulkan
%endif %endif
%endif
%define _name ffmpeg %define _name ffmpeg
%define _major_version 5 %define _major_version 5
@@ -684,8 +689,6 @@ 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 \