[packages/zxing-cpp-nu] - disable tests to avoid downloading fmtlib and gtest

qboosh qboosh at pld-linux.org
Wed Feb 9 08:48:08 CET 2022


commit 3a68da74afde737c12fbbf0a848405d342a7486a
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Feb 9 08:49:31 2022 +0100

    - disable tests to avoid downloading fmtlib and gtest

 zxing-cpp-nu.spec | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/zxing-cpp-nu.spec b/zxing-cpp-nu.spec
index 835bdef..ec96c9a 100644
--- a/zxing-cpp-nu.spec
+++ b/zxing-cpp-nu.spec
@@ -1,4 +1,5 @@
 # note: older fork in zxing-cpp.spec (both are parallel-installable)
+# TODO: python module
 Summary:	C++ port of ZXing - 1D/2D barcode image processing library
 Summary(pl.UTF-8):	Port C++ biblioteki ZXing, przetwarzającej kody paskowe 1D/2D
 Name:		zxing-cpp-nu
@@ -41,6 +42,8 @@ Pliki nagłówkowe biblioteki ZXing.
 install -d build
 cd build
 %cmake .. \
+	-DBUILD_BLACKBOX_TESTS=OFF \
+	-DBUILD_UNIT_TESTS=OFF \
 	-DCMAKE_INSTALL_INCLUDEDIR=include \
 	-DCMAKE_INSTALL_LIBDIR=%{_lib}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/zxing-cpp-nu.git/commitdiff/3a68da74afde737c12fbbf0a848405d342a7486a



More information about the pld-cvs-commit mailing list