Accepting request 1042490 from multimedia:libs

- build for x86_64 subarchs the same way like for baseline (forwarded request 1042488 from dirkmueller)

OBS-URL: https://build.opensuse.org/request/show/1042490
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ffmpeg-5?expand=0&rev=10
This commit is contained in:
Dominique Leuenberger 2022-12-14 13:10:32 +00:00 committed by Git OBS Bridge
commit 053bea296c
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Dec 12 21:18:30 UTC 2022 - Dirk Müller <dmueller@suse.com>
- build for x86_64 subarchs the same way like for baseline
-------------------------------------------------------------------
Thu Dec 8 11:27:56 UTC 2022 - Callum Farmer <gmbr3@opensuse.org>

View File

@ -117,7 +117,7 @@ BuildRequires: libmysofa-devel
%endif
BuildRequires: nasm
BuildRequires: pkg-config
%ifarch x86_64
%ifarch x86_64 %x86_64
%if 0%{?suse_version} >= 1550
BuildRequires: pkgconfig(SvtAv1Enc) >= 0.8.4
%endif
@ -198,7 +198,7 @@ BuildRequires: pkgconfig(xcb-xfixes)
BuildRequires: pkgconfig(xext)
BuildRequires: pkgconfig(xfixes)
%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150200
%ifarch x86_64
%ifarch x86_64 %x86_64
BuildRequires: pkgconfig(libmfx)
%endif
%endif
@ -606,7 +606,7 @@ LDFLAGS="%_lto_cflags" \
%if %{with rubberband}
--enable-librubberband \
%endif
%ifarch x86_64
%ifarch x86_64 %x86_64
%if 0%{?suse_version} >= 1550
--enable-libsvtav1 \
%endif
@ -636,7 +636,7 @@ LDFLAGS="%_lto_cflags" \
%endif
--enable-lv2 \
%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150200
%ifarch x86_64
%ifarch x86_64 %x86_64
--enable-libmfx \
%endif
%endif