Accepting request 377556 from home:olh:branches:multimedia:libs

- Fix build in SLE_11 by disabling ssse3
- Fix vpc.pc version with libvpx-pkgconfig-version.patch

OBS-URL: https://build.opensuse.org/request/show/377556
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libvpx?expand=0&rev=60
This commit is contained in:
Takashi Iwai 2016-03-22 15:40:59 +00:00 committed by Git OBS Bridge
parent d1e1a6ce08
commit a9c4be74e4
3 changed files with 28 additions and 1 deletions

View File

@ -0,0 +1,14 @@
---
CHANGELOG | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: libvpx-1.6.0~pre20160318/CHANGELOG
===================================================================
--- libvpx-1.6.0~pre20160318.orig/CHANGELOG
+++ libvpx-1.6.0~pre20160318/CHANGELOG
@@ -1,4 +1,4 @@
-Next Release
+2016-03-18 v1.5.1 "Die Unvollendete"
- Incompatible changes:
The VP9 encoder's default keyframe interval changed to 128 from 9999.

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Mar 22 14:54:16 UTC 2016 - olaf@aepfle.de
- Fix build in SLE_11 by disabling ssse3
- Fix vpc.pc version with libvpx-pkgconfig-version.patch
-------------------------------------------------------------------
Tue Mar 22 07:57:46 UTC 2016 - adrian@suse.de

View File

@ -29,6 +29,7 @@ Group: Productivity/Multimedia/Other
Url: http://www.webmproject.org/
Source0: http://storage.googleapis.com/downloads.webmproject.org/releases/webm/libvpx-%{version}.tar.xz
Source1000: baselibs.conf
Patch0: libvpx-pkgconfig-version.patch
# PATCH-FIX-UPSTREAM libvpx-define-config_pic.patch dimstar@opensuse.org -- For older compilers, CONFIG_PIC need to be defined.
Patch1: libvpx-define-config_pic.patch
Patch2: libvpx-configure-add-s390.patch
@ -98,14 +99,18 @@ The WebM file structure is based on the Matroska container.
%prep
%setup -q
%patch0 -p1
%patch1 -p0
%patch2 -p0
%patch4 -p0
cp %{S:1} test/
%build
%if 0%{?suse_version} < 1310
sed -i~ /ssse3/d configure
sed -i~ 's@ssse3@@' build/make/rtcd.pl
%endif
cd build
export CFLAGS="-std=gnu89 %{optflags}"
# It is only an emulation of autotools configure; the macro does not work
# libvpx default enable NEON support on ARMv7, unfortunately some ARMv7
@ -125,6 +130,8 @@ export CFLAGS="-std=gnu89 %{optflags}"
--target=armv7-linux-gcc \
--enable-runtime-cpu-detect \
%endif
--extra-cflags="-std=gnu89 -U_FORTIFY_SOURCE %{optflags}" \
--extra-cxxflags="-U_FORTIFY_SOURCE %{optflags}" \
--enable-pic
make %{?_smp_mflags}