forked from pool/hugin
- added patches
workaround, lz4 is not returned by pkg_check_modules(), hardcode it now + hugin-flann-lz4.patch OBS-URL: https://build.opensuse.org/package/show/graphics/hugin?expand=0&rev=117
This commit is contained in:
parent
07f266b7be
commit
777f42e1b3
12
hugin-flann-lz4.patch
Normal file
12
hugin-flann-lz4.patch
Normal file
@ -0,0 +1,12 @@
|
||||
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)
|
||||
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 6 13:38:13 UTC 2022 - pgajdos@suse.com
|
||||
|
||||
- added patches
|
||||
workaround, lz4 is not returned by pkg_check_modules(), hardcode it now
|
||||
+ hugin-flann-lz4.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 4 08:46:42 UTC 2022 - Marcus Meissner <meissner@suse.com>
|
||||
|
||||
|
@ -31,6 +31,8 @@ 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
|
||||
|
Loading…
Reference in New Issue
Block a user