SHA256
1
0
forked from pool/hugin

Accepting request 1012014 from home:pgajdos

- fixed on flann side by Stefan Brüns
- deleted patches
  - hugin-flann-lz4.patch (not needed)

OBS-URL: https://build.opensuse.org/request/show/1012014
OBS-URL: https://build.opensuse.org/package/show/graphics/hugin?expand=0&rev=120
This commit is contained in:
Petr Gajdos 2022-10-26 11:05:45 +00:00 committed by Git OBS Bridge
parent 6ccd51ad51
commit fdb4f53849
3 changed files with 7 additions and 16 deletions

View File

@ -1,12 +0,0 @@
Index: hugin-2021.0.0/CMakeModules/FindFLANN.cmake
===================================================================
--- hugin-2021.0.0.orig/CMakeModules/FindFLANN.cmake
+++ hugin-2021.0.0/CMakeModules/FindFLANN.cmake
@@ -11,6 +11,7 @@
if(UNIX)
find_package(PkgConfig QUIET)
pkg_check_modules(FLANN flann)
+ set(FLANN_LIBRARIES "lz4;${FLANN_LIBRARIES}")
else()
find_path(FLANN_INCLUDE_DIRS flann/flann.hpp)

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Oct 17 07:41:24 UTC 2022 - pgajdos@suse.com
- fixed on flann side by Stefan Brüns
- deleted patches
- hugin-flann-lz4.patch (not needed)
-------------------------------------------------------------------
Thu Oct 6 13:38:13 UTC 2022 - pgajdos@suse.com

View File

@ -31,8 +31,6 @@ Group: Productivity/Graphics/Other
URL: http://hugin.sourceforge.net/
Source: https://downloads.sourceforge.net/project/%{name}/%{name}/%{name}-%{mversion}/%{name}-%{version}.tar.bz2
Patch0: hugin.appdata.patch
# workaround, lz4 is not returned by pkg_check_modules(), hardcode it now
Patch1: hugin-flann-lz4.patch
BuildRequires: Mesa-devel
BuildRequires: OpenEXR-devel
BuildRequires: cmake >= 3.1.0
@ -62,8 +60,6 @@ Recommends: autopano-sift-C
Recommends: exiftool
%if %{with system_flann}
BuildRequires: flann-devel
# until rq#1008410 is not accepted and propagated into factory
BuildRequires: liblz4-devel
%endif
%if %{with lapack}
BuildRequires: lapack-devel