Switch to cmake
This commit is contained in:
parent
8bc64ac6f3
commit
ec7a0070df
@ -10,9 +10,10 @@ Patch0: https://github.com/dyne/frei0r/pull/94/commits/b27f03c8d51c34cd5
|
||||
Patch1: https://github.com/dyne/frei0r/commit/7482c320b52956713d0b511771b23020fabd07a2.patch
|
||||
Patch2: https://github.com/dyne/frei0r/commit/b4562db4ca20fefcce62dbe7b255c2b75951853e.patch
|
||||
Patch3: https://github.com/dyne/frei0r/commit/b8d4e0595c8134b2b3c7e82ecb8da36c9354f68a.patch
|
||||
Patch4: Switch-to-OpenCV4-enums.patch
|
||||
|
||||
|
||||
Buildrequires: libtool
|
||||
Buildrequires: cmake
|
||||
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: gavl-devel >= 0.2.3
|
||||
@ -45,13 +46,16 @@ developing applications that use %{name}.
|
||||
|
||||
|
||||
%build
|
||||
mkdir -p m4
|
||||
autoreconf -i
|
||||
%configure --disable-static
|
||||
mkdir -p build
|
||||
cd build
|
||||
%cmake -DCMAKE_INSTALL_LIBDIR=%{_lib} \
|
||||
..
|
||||
|
||||
%make_build
|
||||
|
||||
|
||||
%install
|
||||
cd build
|
||||
%make_install
|
||||
|
||||
#Remove installed doc
|
||||
@ -77,6 +81,7 @@ rm -rf %{buildroot}%{_docdir}/%{name}
|
||||
%changelog
|
||||
* Mon May 25 2020 Nicolas Chauvet <kwizart@gmail.com> - 1.7.0-7
|
||||
- Apply patches from PR toward opencv4 support
|
||||
- Switch to cmake
|
||||
|
||||
* Fri Mar 06 2020 Nicolas Chauvet <kwizart@gmail.com> - 1.7.0-6
|
||||
- Update wip opencv patch
|
||||
|
Loading…
Reference in New Issue
Block a user