Initial import (#1497539).

epel8
Martin Gansser 7 years ago
parent 71a1a3f411
commit e4e16ca6b7

@ -5,9 +5,9 @@
Name: vid.stab
Version: 1.1
Release: 2.%{commitdate}git%{shortcommit}%{?dist}
Release: 3.%{commitdate}git%{shortcommit}%{?dist}
Summary: Video stabilize library for fmpeg, mlt or transcode
License: GPLv3
License: GPLv2+
URL: http://public.hronopik.de/vid.stab
Source0: https://github.com/georgmartius/vid.stab/archive/%{commit}/%{name}-%{shortcommit}.tar.gz
@ -30,6 +30,8 @@ This package contains the development files (library and header files).
%setup -q -n %{name}-%{commit}
# remove SSE2 flags
sed -i 's|-DUSE_SSE2 -msse2||' tests/CMakeLists.txt
# fxi warning _FORTIFY_SOURCE requires compiling with optimization (-O)
sed -i 's|-Wall -O0|-Wall -O|' tests/CMakeLists.txt
# use macros EXIT_SUCCESS and EXIT_FAILURE instead for portability reasons.
sed -i 's|return units_failed==0;|return units_failed>0;|' tests/testframework.c
@ -63,6 +65,10 @@ LD_LIBRARY_PATH=%{buildroot}%{_libdir} tests/tests || :
%{_libdir}/pkgconfig/vidstab.pc
%changelog
* Wed Oct 04 2017 Martin Gansser <martinkg@fedoraproject.org> - 1.1-3.20170830gitafc8ea9
- change license tag to GPLv2
- fix warning _FORTIFY_SOURCE requires compiling with optimization (-O)
* Sun Oct 01 2017 Martin Gansser <martinkg@fedoraproject.org> - 1.1-2.20170830gitafc8ea9
- use macros EXIT_SUCCESS and EXIT_FAILURE instead for portability reasons

Loading…
Cancel
Save