Summary: VP8, a high-quality video codec
Summary(pl.UTF-8): VP8 - kodek obrazu wysokiej jakoĊci
Name: libvpx
-Version: 1.7.0
+Version: 1.8.2
Release: 1
License: BSD
Group: Libraries
-#Source0Download: http://downloads.webmproject.org/releases/webm/index.html
-Source0: https://github.com/webmproject/libvpx/archive/v%{version}.tar.gz?/%{name}-%{version}.tar.gz
-# Source0-md5: df97945958d8514ba9fc6ca5ca39ae6a
+# original download URL: http://downloads.webmproject.org/releases/webm/index.html
+# ...but use github mirror to get consistent tarballs
+#Source0Download: https://github.com/webmproject/libvpx/releases
+Source0: https://github.com/webmproject/libvpx/archive/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: 6dbccca688886c66a216d7e445525bce
URL: http://www.webmproject.org/
BuildRequires: doxygen
%{?with_tests:BuildRequires: libstdc++-devel}
%ifarch ppc64
%define vpxtarget ppc64-linux-gcc
%endif
+%ifarch aarch64
+%define vpxtarget arm64-linux-gcc
+%endif
%description
VP8, a high-quality video codec.
# not autoconf configure
CC="%{__cc}" \
CXX="%{__cxx}" \
-CFLAGS="%{rpmcflags} %{rpmcppflags} %{!?with_asm:-DYUV_DISABLE_ASM}" \
+CFLAGS="%{rpmcflags} %{rpmcppflags}" \
../configure \
%if %{with asm}
--as=yasm \
LIBSUBDIR=%{_lib} \
DIST_DIR=$RPM_BUILD_ROOT%{_prefix}
-%{__rm} $RPM_BUILD_ROOT%{_libdir}/libvpx.so.5.0
+# redundant minor version symlink (not SONAME)
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libvpx.so.6.2
# adjust prefix and libdir
%{__sed} -i -e 's,^prefix=.*,prefix=%{_prefix},;s,^libdir=.*,libdir=%{_libdir},' $RPM_BUILD_ROOT%{_pkgconfigdir}/vpx.pc
%defattr(644,root,root,755)
%doc AUTHORS CHANGELOG LICENSE PATENTS README
%attr(755,root,root) %{_libdir}/libvpx.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libvpx.so.5
+%attr(755,root,root) %ghost %{_libdir}/libvpx.so.6
%files devel
%defattr(644,root,root,755)