FIXME: provide ffmpeg lib from chromium tree

i9-test
Arkady L. Shane 1 year ago
parent 5beba4a851
commit add23f2fed

@ -125,7 +125,7 @@
# make sure there is not a trailing | at the end of the list # make sure there is not a trailing | at the end of the list
# We always filter provides. We only filter Requires when building shared. # We always filter provides. We only filter Requires when building shared.
%global __provides_exclude_from ^(%{chromium_path}/.*\\.so|%{chromium_path}/.*\\.so.*)$ %global __provides_exclude_from ^(%{chromium_path}/.*\\.so|%{chromium_path}/.*\\.so.*)$
%global __requires_exclude ^(%{chromium_path}/.*\\.so|%{chromium_path}/.*\\.so.*|libffmpeg\\.so*)$ %global __requires_exclude ^(%{chromium_path}/.*\\.so|%{chromium_path}/.*\\.so.*|%{chromium_lib}/.*\\.so)$
# enable clang by default # enable clang by default
%global clang 1 %global clang 1
@ -693,6 +693,13 @@ ExclusiveArch: x86_64 aarch64
%endif %endif
%endif %endif
# FIXME
%if "%{_lib}" == "lib64"
Provides: libffmpeg.so()(64bit)
%else
Provides: libffmpeg.so
%endif
# Bundled bits (I'm sure I've missed some) # Bundled bits (I'm sure I've missed some)
Provides: bundled(angle) = 2422 Provides: bundled(angle) = 2422
Provides: bundled(bintrees) = 1.0.1 Provides: bundled(bintrees) = 1.0.1
@ -712,9 +719,7 @@ Provides: bundled(expat) = 2.2.0
Provides: bundled(fdmlibm) = 5.3 Provides: bundled(fdmlibm) = 5.3
# Don't get too excited. MPEG and other legally problematic stuff is stripped out. # Don't get too excited. MPEG and other legally problematic stuff is stripped out.
%if %{bundleffmpegfree}
Provides: bundled(ffmpeg) = 5.1.2 Provides: bundled(ffmpeg) = 5.1.2
%endif
%if %{bundlelibaom} %if %{bundlelibaom}
Provides: bundled(libaom) Provides: bundled(libaom)

Loading…
Cancel
Save