Skip to content

Commit

Permalink
Merge branch 'update_to_190' into 'master'
Browse files Browse the repository at this point in the history
[libvpx] Update to 1.9.0. Fixes JB#51998

See merge request mer-core/libvpx!4
  • Loading branch information
Andrew Branson committed Nov 16, 2020
2 parents b9f53f8 + 1b19d3b commit 67141a8
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 42 deletions.
61 changes: 20 additions & 41 deletions rpm/libvpx.spec
@@ -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
2 changes: 1 addition & 1 deletion upstream
Submodule upstream updated from 8ae686 to 6516e9

0 comments on commit 67141a8

Please sign in to comment.