]> git.pld-linux.org Git - packages/libvpx.git/blobdiff - libvpx.spec
YUV_DISABLE_ASM is gone
[packages/libvpx.git] / libvpx.spec
index b21081e2eb66782f5b37620e07e7234f981593b8..df76408c153a39c66b528d03a09f4eb474045ec1 100644 (file)
 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}
@@ -51,6 +53,9 @@ BuildRoot:    %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %ifarch ppc64
 %define        vpxtarget       ppc64-linux-gcc
 %endif
+%ifarch aarch64
+%define        vpxtarget       arm64-linux-gcc
+%endif
 
 %description
 VP8, a high-quality video codec.
@@ -103,7 +108,7 @@ cd obj
 # not autoconf configure
 CC="%{__cc}" \
 CXX="%{__cxx}" \
-CFLAGS="%{rpmcflags} %{rpmcppflags} %{!?with_asm:-DYUV_DISABLE_ASM}" \
+CFLAGS="%{rpmcflags} %{rpmcppflags}" \
 ../configure \
 %if %{with asm}
        --as=yasm \
@@ -139,7 +144,8 @@ install -d $RPM_BUILD_ROOT{%{_bindir},%{_includedir}/vpx,%{_libdir}}
        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
@@ -154,7 +160,7 @@ rm -rf $RPM_BUILD_ROOT
 %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)
This page took 0.095468 seconds and 4 git commands to generate.