add loongarch64 and sw_64 support

(cherry picked from commit 3c0116ebe0c87f4ae96e2847e0e9404eda97dd38)
This commit is contained in:
panchenbo 2023-08-22 11:23:37 +08:00 committed by openeuler-sync-bot
parent cea4a8c610
commit 56688f8c96

View File

@ -1,6 +1,6 @@
Name: libvpx
Version: 1.7.0
Release: 8
Release: 9
Summary: VP8/VP9 Video Codec SDK
License: BSD
Source0: https://github.com/webmproject/libvpx/archive/v%{version}.tar.gz
@ -33,6 +33,10 @@ Development libraries and headers for developing software against libvpx.
%else
%ifarch aarch64
%global vpxtarget arm64-linux-gcc
%else
%ifarch loongarch64 sw_64
%global vpxtarget generic-gnu
%endif
%endif
%endif
%set_build_flags
@ -102,6 +106,9 @@ mv %{buildroot}%{_prefix}/src/vpx_scale %{buildroot}%{_includedir}/
%{_libdir}/libvpx.so
%changelog
* Fri Nov 08 2019 Lijin Yang <yanglijin@huawei.com> -1.7.0-8
* Tue Aug 22 2023 panchenbo <panchenbo@kylinsec.com.cn> - 1.7.0-9
- add loongarch64 and sw_64 support
* Fri Nov 08 2019 Lijin Yang <yanglijin@huawei.com> - 1.7.0-8
- Pakcage init