Accepting request 425299 from home:scarabeus_iv:branches:multimedia:libs

- Ensure the enable vp8 vp9 postproc and multithread are always on
- Enable verbose build
- Add switches to be able to build chromium:
  * --enable-experimental --enable-spatial-svc

OBS-URL: https://build.opensuse.org/request/show/425299
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libvpx?expand=0&rev=71
This commit is contained in:
Ismail Dönmez 2016-09-09 15:21:15 +00:00 committed by Git OBS Bridge
parent e1e190ff69
commit 66e7b1130e
2 changed files with 17 additions and 7 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Sep 7 12:58:36 UTC 2016 - tchvatal@suse.com
- Ensure the enable vp8 vp9 postproc and multithread are always on
- Enable verbose build
- Add switches to be able to build chromium:
* --enable-experimental --enable-spatial-svc
-------------------------------------------------------------------
Fri Aug 12 17:26:48 UTC 2016 - jengelh@inai.de

View File

@ -17,7 +17,6 @@
%define sover 4
Name: libvpx
Version: 1.6.0
Release: 0
@ -33,7 +32,7 @@ Patch2: libvpx-configure-add-s390.patch
Patch4: libvpx-armv7-use-hard-float.patch
# Needed to be able to create pkgconfig() provides.
BuildRequires: gcc-c++
BuildRequires: pkg-config
BuildRequires: pkgconfig
BuildRequires: yasm
# add curl and do not copy it in to get an updated test-data.sha1 file
#BuildRequires: curl
@ -63,7 +62,6 @@ and audio streams compressed with the Vorbis audio codec.
The WebM file structure is based on the Matroska container.
%package -n %{name}%{sover}
Summary: VP8 codec library
License: BSD-3-Clause
Group: System/Libraries
@ -97,7 +95,7 @@ The WebM file structure is based on the Matroska container.
%patch1 -p1
%patch2 -p1
%patch4 -p1
cp %{S:1} test/
cp %{SOURCE1} test/
%build
%if 0%{?suse_version} < 1310
@ -118,6 +116,11 @@ cd build
--enable-debug \
--enable-shared \
--disable-static \
--enable-vp8 \
--enable-vp9 \
--enable-postproc \
--enable-multithread \
--enable-experimental --enable-spatial-svc \
%ifarch armv5tel armv5el
--target=armv5te-linux-gcc \
%endif
@ -128,14 +131,13 @@ cd build
--extra-cflags="-std=gnu89 -U_FORTIFY_SOURCE %{optflags}" \
--extra-cxxflags="-U_FORTIFY_SOURCE %{optflags}" \
--enable-pic
make %{?_smp_mflags}
make %{?_smp_mflags} verbose=yes GEN_EXAMPLES=
%install
cd build
make DESTDIR=%buildroot install
make %{?_smp_mflags} verbose=yes GEN_EXAMPLES= DESTDIR=%{buildroot} install
%post -n %{name}%{sover} -p /sbin/ldconfig
%postun -n %{name}%{sover} -p /sbin/ldconfig
%files -n vpx-tools