]> git.pld-linux.org Git - packages/opencv.git/commitdiff
- fix glog flags conflict; release 12 auto/th/opencv-4.5.1-12
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 9 Jul 2022 20:15:11 +0000 (22:15 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 9 Jul 2022 20:15:11 +0000 (22:15 +0200)
opencv.spec

index 86280c9589373e9fd8a15e125cdbaedaa9cebced..540d5132fc6f84056b1b84010e0bfa24b9f7be2a 100644 (file)
@@ -60,7 +60,7 @@ Summary:      A library of programming functions mainly aimed at real time computer v
 Summary(pl.UTF-8):     Biblioteka funkcji do grafiki komputerowej w czasie rzeczywistym
 Name:          opencv
 Version:       4.5.1
-Release:       11
+Release:       12
 Epoch:         1
 %if %{with unicap} || %{with xine}
 License:       GPL (enforced by used libraries), BSD (opencv itself)
@@ -363,6 +363,10 @@ cache_file %{SOURCE40} ade
 cd opencv_contrib-%{version}
 %patch5 -p1
 
+# both files use Glog_FOUND variable, but set different variables for LIBS; unify them so they won't disturb each other
+cp -f modules/sfm/cmake/FindGlog.cmake modules/cnn_3dobj/FindGlog.cmake
+%{__sed} -i -e 's/Glog_LIBS/GLOG_LIBRARIES/' modules/cnn_3dobj/CMakeLists.txt
+
 %build
 mkdir -p build
 cd build
This page took 0.089499 seconds and 4 git commands to generate.