Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'update_to_190' into 'master'
[libvpx] Update to 1.9.0. Fixes JB#51998 See merge request mer-core/libvpx!4
- Loading branch information
Showing
2 changed files
with
21 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,94 +1,73 @@ | ||
Name: libvpx | ||
Version: 1.8.1 | ||
Summary: VP8/VP9 Video Codec SDK | ||
Version: 1.9.0 | ||
Release: 1 | ||
Summary: VPx codec library | ||
License: BSD | ||
Group: Applications/Multimedia | ||
Url: http://www.webmproject.org/ | ||
Source0: %{name}-%{version}.tar.gz | ||
Url: https://www.webmproject.org/code/ | ||
Source0: %{name}-%{version}.tar.bz2 | ||
Patch1: 0001-armv7-use-hard-float.patch | ||
Patch2: 0002-Skip-diff-version-check-that-doesnt-work-with-busybo.patch | ||
%ifarch %{ix86} x86_64 | ||
BuildRequires: yasm | ||
%endif | ||
|
||
%description | ||
WebM is an open, royalty-free, media file format designed for the web. | ||
|
||
WebM defines the file container structure, video and audio formats. | ||
WebM files consist of video streams compressed with the VPx video codecs | ||
and audio streams compressed with the Vorbis audio codec. | ||
The WebM file structure is based on the Matroska container. | ||
libvpx provides the VP8/VP9 SDK, which allows you to integrate your applications | ||
with the VP8 and VP9 video codecs, high quality, royalty free, open source codecs | ||
deployed on millions of computers and devices worldwide. | ||
|
||
%package devel | ||
Summary: VPx codec library - Development headers | ||
License: BSD-3-Clause and GPL-2.0+ | ||
Group: Development/Languages/C and C++ | ||
Summary: Development files for %{name} | ||
Requires: %{name} = %{version} | ||
|
||
%description devel | ||
Development headers and library | ||
|
||
WebM is an open, royalty-free, media file format designed for the web. | ||
|
||
WebM defines the file container structure, video and audio formats. | ||
WebM files consist of video streams compressed with the VPx video codecs | ||
and audio streams compressed with the Vorbis audio codec. | ||
The WebM file structure is based on the Matroska container. | ||
Development libraries and headers for developing software against | ||
libvpx. | ||
|
||
%package doc | ||
Summary: Documentation for %{name} | ||
Group: Documentation | ||
BuildArch: noarch | ||
Requires: %{name} = %{version}-%{release} | ||
|
||
%description doc | ||
%{summary}. | ||
|
||
%prep | ||
%setup -q -n %{name}-%{version}/upstream | ||
%autopatch -p1 | ||
%autosetup -p1 -n %{name}-%{version}/upstream | ||
|
||
%build | ||
|
||
./configure \ | ||
--prefix=%{_prefix} --libdir=%{_libdir} \ | ||
--disable-unit-tests --disable-examples --disable-docs \ | ||
--enable-debug --enable-shared --disable-static \ | ||
--disable-unit-tests --disable-examples --disable-tools --disable-docs \ | ||
--enable-shared --disable-static \ | ||
--enable-vp8 --enable-vp9 --enable-vp9-highbitdepth \ | ||
--enable-multithread --enable-postproc \ | ||
--enable-multithread --enable-postproc --enable-vp9-postproc \ | ||
--enable-experimental \ | ||
%ifarch %{ix86} x86_64 | ||
--as=yasm \ | ||
%endif | ||
--enable-pic --size-limit=8192x8192 | ||
|
||
make %{?_smp_mflags} verbose=yes GEN_EXAMPLES= | ||
%make_build verbose=true | ||
|
||
%install | ||
%make_install verbose=yes GEN_EXAMPLES= | ||
|
||
mkdir -p %{buildroot}%{_docdir}/%{name}-%{version} | ||
install -m0644 -t %{buildroot}%{_docdir}/%{name}-%{version} \ | ||
AUTHORS README CHANGELOG | ||
|
||
%clean | ||
rm -rf %{buildroot} | ||
%make_install verbose=true | ||
|
||
%post -n %{name} -p /sbin/ldconfig | ||
|
||
%postun -n %{name} -p /sbin/ldconfig | ||
|
||
%files | ||
%defattr(-, root, root) | ||
%defattr(-,root,root,-) | ||
%license LICENSE | ||
%{_libdir}/%{name}.so.* | ||
|
||
%files devel | ||
%defattr(-,root,root) | ||
%defattr(-,root,root,-) | ||
%{_includedir}/vpx/ | ||
%{_libdir}/pkgconfig/vpx.pc | ||
%{_libdir}/%{name}.so | ||
|
||
%files doc | ||
%defattr(-,root,root,-) | ||
%{_docdir}/%{name}-%{version} | ||
%doc AUTHORS README CHANGELOG |