From 6522c6de9d374b10efcb56d87eed55f0ce7b9664 Mon Sep 17 00:00:00 2001 From: EastDong Date: Mon, 19 Jun 2023 15:51:34 +0800 Subject: [PATCH] add riscv64 support --- vid.stab.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/vid.stab.spec b/vid.stab.spec index 5457b01..a84cba8 100644 --- a/vid.stab.spec +++ b/vid.stab.spec @@ -5,7 +5,7 @@ Name: vid.stab Version: 1.1.0 -Release: 1 +Release: 2 Summary: Video stabilize library for fmpeg, mlt or transcode License: GPLv2+ 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 %build +%ifarch riscv64 +%cmake . -DSSE2_FOUND=0 +%else %cmake . +%endif %make_build # build the tests program @@ -68,5 +72,8 @@ LD_LIBRARY_PATH=%{buildroot}%{_libdir} tests/tests || : %{_libdir}/pkgconfig/vidstab.pc %changelog +* Mon Jun 19 2023 EastDong -1.1.0-2 +- Add RISC-V support + * Fri May 07 2021 weidong - 1.1.0-1 - Initial package.