add riscv64 support
This commit is contained in:
parent
91bb48e0b4
commit
6522c6de9d
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
Name: vid.stab
|
Name: vid.stab
|
||||||
Version: 1.1.0
|
Version: 1.1.0
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Video stabilize library for fmpeg, mlt or transcode
|
Summary: Video stabilize library for fmpeg, mlt or transcode
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://public.hronopik.de/vid.stab
|
URL: http://public.hronopik.de/vid.stab
|
||||||
@ -40,7 +40,11 @@ sed -i 's|-Wall -O0|-Wall -O|' tests/CMakeLists.txt
|
|||||||
sed -i 's|return units_failed==0;|return units_failed>0;|' tests/testframework.c
|
sed -i 's|return units_failed==0;|return units_failed>0;|' tests/testframework.c
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
%ifarch riscv64
|
||||||
|
%cmake . -DSSE2_FOUND=0
|
||||||
|
%else
|
||||||
%cmake .
|
%cmake .
|
||||||
|
%endif
|
||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
# build the tests program
|
# build the tests program
|
||||||
@ -68,5 +72,8 @@ LD_LIBRARY_PATH=%{buildroot}%{_libdir} tests/tests || :
|
|||||||
%{_libdir}/pkgconfig/vidstab.pc
|
%{_libdir}/pkgconfig/vidstab.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jun 19 2023 EastDong <xudong23@iscas.ac.cn> -1.1.0-2
|
||||||
|
- Add RISC-V support
|
||||||
|
|
||||||
* Fri May 07 2021 weidong <weidong@uniontech.com> - 1.1.0-1
|
* Fri May 07 2021 weidong <weidong@uniontech.com> - 1.1.0-1
|
||||||
- Initial package.
|
- Initial package.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user