Accepting request 666343 from multimedia:libs

OBS-URL: https://build.opensuse.org/request/show/666343
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ffmpeg-4?expand=0&rev=7
This commit is contained in:
Stephan Kulow 2019-02-04 20:19:21 +00:00 committed by Git OBS Bridge
commit 0405f783b9
2 changed files with 16 additions and 1 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Jan 15 20:45:50 UTC 2019 - bjorn.lie@gmail.com
- Add conditional pkgconfig(vo-amrwbenc) BuildRequires and
conditionally pass --enable-libvo-amrwbenc --enable-version3 to
configure: build amrwb encoder if dependency is present.
-------------------------------------------------------------------
Wed Dec 5 18:07:58 UTC 2018 - Stefan Brüns <stefan.bruens@rwth-aachen.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package ffmpeg-4
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -44,6 +44,7 @@
%bcond_without nvcodec
%endif
%if 0%{?BUILD_ORIG}
%bcond_with amrwb
%bcond_without cuda_sdk
%else
%bcond_with cuda_sdk
@ -219,6 +220,9 @@ BuildRequires: libxvidcore-devel
%if %{with opencore}
BuildRequires: pkgconfig(opencore-amrnb)
%endif
%if %{with amrwb}
BuildRequires: pkgconfig(vo-amrwbenc)
%endif
%if %{with x264}
BuildRequires: pkgconfig(x264)
%endif
@ -653,6 +657,10 @@ CFLAGS="%optflags" \
--enable-libopencore-amrwb \
--enable-version3 \
%endif
%if %{with amrwb}
--enable-libvo-amrwbenc \
--enable-version3 \
%endif
%if %{with x264}
--enable-libx264 \
%endif