Index: head/textproc/zxing-cpp/Makefile =================================================================== --- head/textproc/zxing-cpp/Makefile (revision 514487) +++ head/textproc/zxing-cpp/Makefile (revision 514488) @@ -1,28 +1,35 @@ # Created by: Yuri Victorovich # $FreeBSD$ PORTNAME= zxing-cpp DISTVERSION= 0.20190320 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= textproc PATCH_SITES= https://github.com/${GH_ACCOUNT}/${PORTNAME}/commit/ PATCHFILES= 9e5dfa57f3b998bc3049bfa893b20e81dea656df.patch:-p1 MAINTAINER= yuri@FreeBSD.org COMMENT= ZXing C++ Library for QR code recognition LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/COPYING -LIB_DEPENDS= libopencv_core.so:graphics/opencv-core \ - libopencv_photo.so:graphics/opencv - USES= cmake compiler:c++11-lang iconv USE_GITHUB= yes GH_ACCOUNT= glassechidna GH_TAGNAME= e0e40dd +USE_LDCONFIG= yes CMAKE_ON= BUILD_SHARED_LIBS + +OPTIONS_DEFINE= OPENCV # only one .cpp module in the project depends on OpenCV +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 Index: head/textproc/zxing-cpp/distinfo =================================================================== --- head/textproc/zxing-cpp/distinfo (revision 514487) +++ head/textproc/zxing-cpp/distinfo (revision 514488) @@ -1,5 +1,5 @@ -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 SIZE (9e5dfa57f3b998bc3049bfa893b20e81dea656df.patch) = 1251 Index: head/textproc/zxing-cpp/pkg-plist =================================================================== --- head/textproc/zxing-cpp/pkg-plist (revision 514487) +++ head/textproc/zxing-cpp/pkg-plist (revision 514488) @@ -1,109 +1,108 @@ bin/zxing include/zxing/BarcodeFormat.h include/zxing/Binarizer.h include/zxing/BinaryBitmap.h include/zxing/ChecksumException.h include/zxing/DecodeHints.h include/zxing/Exception.h 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 include/zxing/ReaderException.h include/zxing/Result.h include/zxing/ResultPoint.h include/zxing/ResultPointCallback.h include/zxing/ZXing.h include/zxing/aztec/AztecDetectorResult.h include/zxing/aztec/AztecReader.h include/zxing/aztec/decoder/Decoder.h include/zxing/aztec/detector/Detector.h include/zxing/common/Array.h include/zxing/common/BitArray.h include/zxing/common/BitMatrix.h include/zxing/common/BitSource.h include/zxing/common/CharacterSetECI.h include/zxing/common/Counted.h include/zxing/common/DecoderResult.h include/zxing/common/DetectorResult.h include/zxing/common/GlobalHistogramBinarizer.h include/zxing/common/GreyscaleLuminanceSource.h include/zxing/common/GreyscaleRotatedLuminanceSource.h include/zxing/common/GridSampler.h include/zxing/common/HybridBinarizer.h include/zxing/common/IllegalArgumentException.h include/zxing/common/PerspectiveTransform.h include/zxing/common/Point.h include/zxing/common/Str.h include/zxing/common/StringUtils.h include/zxing/common/detector/JavaMath.h include/zxing/common/detector/MathUtils.h include/zxing/common/detector/MonochromeRectangleDetector.h include/zxing/common/detector/WhiteRectangleDetector.h include/zxing/common/reedsolomon/GenericGF.h include/zxing/common/reedsolomon/GenericGFPoly.h include/zxing/common/reedsolomon/ReedSolomonDecoder.h include/zxing/common/reedsolomon/ReedSolomonException.h include/zxing/datamatrix/DataMatrixReader.h include/zxing/datamatrix/Version.h include/zxing/datamatrix/decoder/BitMatrixParser.h include/zxing/datamatrix/decoder/DataBlock.h include/zxing/datamatrix/decoder/DecodedBitStreamParser.h include/zxing/datamatrix/decoder/Decoder.h include/zxing/datamatrix/detector/CornerPoint.h include/zxing/datamatrix/detector/Detector.h include/zxing/datamatrix/detector/DetectorException.h include/zxing/multi/ByQuadrantReader.h include/zxing/multi/GenericMultipleBarcodeReader.h include/zxing/multi/MultipleBarcodeReader.h include/zxing/multi/qrcode/QRCodeMultiReader.h include/zxing/multi/qrcode/detector/MultiDetector.h include/zxing/multi/qrcode/detector/MultiFinderPatternFinder.h include/zxing/oned/CodaBarReader.h include/zxing/oned/Code128Reader.h include/zxing/oned/Code39Reader.h include/zxing/oned/Code93Reader.h include/zxing/oned/EAN13Reader.h include/zxing/oned/EAN8Reader.h include/zxing/oned/ITFReader.h include/zxing/oned/MultiFormatOneDReader.h include/zxing/oned/MultiFormatUPCEANReader.h include/zxing/oned/OneDReader.h include/zxing/oned/OneDResultPoint.h include/zxing/oned/UPCAReader.h include/zxing/oned/UPCEANReader.h include/zxing/oned/UPCEReader.h include/zxing/pdf417/PDF417Reader.h include/zxing/pdf417/decoder/BitMatrixParser.h include/zxing/pdf417/decoder/DecodedBitStreamParser.h include/zxing/pdf417/decoder/Decoder.h include/zxing/pdf417/decoder/ec/ErrorCorrection.h include/zxing/pdf417/decoder/ec/ModulusGF.h include/zxing/pdf417/decoder/ec/ModulusPoly.h include/zxing/pdf417/detector/Detector.h include/zxing/pdf417/detector/LinesSampler.h include/zxing/qrcode/ErrorCorrectionLevel.h include/zxing/qrcode/FormatInformation.h include/zxing/qrcode/QRCodeReader.h include/zxing/qrcode/Version.h include/zxing/qrcode/decoder/BitMatrixParser.h include/zxing/qrcode/decoder/DataBlock.h include/zxing/qrcode/decoder/DataMask.h include/zxing/qrcode/decoder/DecodedBitStreamParser.h include/zxing/qrcode/decoder/Decoder.h include/zxing/qrcode/decoder/Mode.h include/zxing/qrcode/detector/AlignmentPattern.h include/zxing/qrcode/detector/AlignmentPatternFinder.h include/zxing/qrcode/detector/Detector.h include/zxing/qrcode/detector/FinderPattern.h include/zxing/qrcode/detector/FinderPatternFinder.h include/zxing/qrcode/detector/FinderPatternInfo.h lib/libzxing.so lib/zxing/cmake/zxing-config.cmake lib/zxing/cmake/zxing-targets-%%CMAKE_BUILD_TYPE%%.cmake lib/zxing/cmake/zxing-targets.cmake -