svn commit: r514488 - head/textproc/zxing-cpp

Mathieu Arnold mat at FreeBSD.org
Tue Oct 15 07:46:52 UTC 2019


On Tue, Oct 15, 2019 at 01:55:13AM +0000, Yuri Victorovich wrote:
>  CMAKE_ON=	BUILD_SHARED_LIBS
> +
> +OPTIONS_DEFINE=		OPENCV # only one .cpp module in the project depends on OpenCV

And nobody needs it?

Because if someone needs it, then it needs to be added to the default
options.

> +OPTIONS_SUB=		yes
> +
> +OPENCV_LIB_DEPENDS=	libopencv_core.so:graphics/opencv-core \
> +			libopencv_photo.so:graphics/opencv
> +
> +post-patch-OPENCV-off:
> +	@${REINPLACE_CMD} 's|find_package(OpenCV)|#&|' ${WRKSRC}/CMakeLists.txt
>  
>  .include <bsd.port.mk>
> 
> Modified: head/textproc/zxing-cpp/distinfo
> ==============================================================================
> --- head/textproc/zxing-cpp/distinfo	Tue Oct 15 01:45:19 2019	(r514487)
> +++ head/textproc/zxing-cpp/distinfo	Tue Oct 15 01:55:13 2019	(r514488)
> @@ -1,4 +1,4 @@
> -TIMESTAMP = 1555794546
> +TIMESTAMP = 1571103733
>  SHA256 (glassechidna-zxing-cpp-0.20190320-e0e40dd_GH0.tar.gz) = 699ed1e08812631d40730bd96a7e314d1ad8adf28f45770d8ae8e57a536ba33b
>  SIZE (glassechidna-zxing-cpp-0.20190320-e0e40dd_GH0.tar.gz) = 312377
>  SHA256 (9e5dfa57f3b998bc3049bfa893b20e81dea656df.patch) = a9afdcaed3ac3026eb471e371431d23b9353a58807c7b5c863f33253f31f128b
> 
> Modified: head/textproc/zxing-cpp/pkg-plist
> ==============================================================================
> --- head/textproc/zxing-cpp/pkg-plist	Tue Oct 15 01:45:19 2019	(r514487)
> +++ head/textproc/zxing-cpp/pkg-plist	Tue Oct 15 01:55:13 2019	(r514488)
> @@ -9,7 +9,7 @@ include/zxing/FormatException.h
>  include/zxing/IllegalStateException.h
>  include/zxing/InvertedLuminanceSource.h
>  include/zxing/LuminanceSource.h
> -include/zxing/MatSource.h
> +%%OPENCV%%include/zxing/MatSource.h
>  include/zxing/MultiFormatReader.h
>  include/zxing/NotFoundException.h
>  include/zxing/Reader.h
> @@ -106,4 +106,3 @@ lib/libzxing.so
>  lib/zxing/cmake/zxing-config.cmake
>  lib/zxing/cmake/zxing-targets-%%CMAKE_BUILD_TYPE%%.cmake
>  lib/zxing/cmake/zxing-targets.cmake
> -
> 

-- 
Mathieu Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-head/attachments/20191015/88e1605b/attachment.sig>


More information about the svn-ports-head mailing list