diff --git a/graphics/pcl-pointclouds/Makefile b/graphics/pcl-pointclouds/Makefile index 20cae1256938..f7b6bf3bcb73 100644 --- a/graphics/pcl-pointclouds/Makefile +++ b/graphics/pcl-pointclouds/Makefile @@ -1,60 +1,71 @@ PORTNAME= pcl DISTVERSION= 1.12.1 CATEGORIES= graphics math MASTER_SITES= https://github.com/PointCloudLibrary/${PORTNAME}/releases/download/${PORTNAME}-${DISTVERSION}/ PKGNAMESUFFIX= -pointclouds DISTNAME= source DIST_SUBDIR= ${PORTNAME}${PKGNAMESUFFIX}/${DISTVERSION} MAINTAINER= yuri@FreeBSD.org COMMENT= Point Cloud Library LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt BROKEN_i386= undefined reference to `__atomic_load' NOT_FOR_ARCHS= armv6 armv7 NOT_FOR_ARCHS_REASON= common/include/pcl/pcl_macros.h:420:4: error: aligned_malloc not supported on your platform LIB_DEPENDS= libboost_system.so:devel/boost-libs \ libexpat.so:textproc/expat2 \ libflann_cpp.so:math/flann \ libfreetype.so:print/freetype2 \ liblz4.so:archivers/liblz4 \ libpcap.so:net/libpcap \ libtiff.so:graphics/tiff -USES= cmake compiler:c++14-lang eigen:3 jpeg localbase:ldflags python xorg +USES= cmake:testing compiler:c++14-lang eigen:3 jpeg localbase:ldflags python xorg USE_XORG= x11 xext xt ice sm USE_LDCONFIG= yes +USE_GITHUB= nodefault +GH_ACCOUNT= google:gtest +GH_PROJECT= googletest:gtest +GH_TAGNAME= release-1.11.0:gtest + +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} # workaround, otherwise USE_GITHUB=nodefault doesn't work #' + +CMAKE_TESTING_ON= BUILD_global_tests # 6 tests are known to fail: https://github.com/PointCloudLibrary/pcl/issues/5127 +CMAKE_TESTING_TARGET= tests +CMAKE_ARGS= -DGTEST_SRC_DIR=${WRKSRC_gtest}/googletest -DGTEST_INCLUDE_DIR=${WRKSRC_gtest}/googletest/include + WRKSRC= ${WRKDIR}/${PORTNAME} PLIST_SUB= SHL3=${DISTVERSION} SHL2=${DISTVERSION:R} DATADIR= ${PREFIX}/share/${PORTNAME}-${DISTVERSION:R} # match the directory where the project installs .cmake files OPTIONS_DEFINE= OPENGL PNG QHULL QT5 VTK OPTIONS_DEFAULT= PNG QHULL OPTIONS_SUB= yes OPENGL_CMAKE_BOOL= WITH_OPENGL # it finds OpenGL, but no binaries are linked with it: https://github.com/PointCloudLibrary/pcl/issues/2641 OPENGL_USES= gl OPENGL_USE= GL=gl,glu PNG_CMAKE_BOOL= WITH_PNG PNG_LIB_DEPENDS= libpng.so:graphics/png QHULL_DESC= Include convex-hull operations QHULL_CMAKE_BOOL= WITH_QHULL QHULL_LIB_DEPENDS= libqhull_r.so:math/qhull8 QT5_CMAKE_BOOL= WITH_QT QT5_BROKEN= WITH_QT doesn't do anything, should be used by apps, but apps is also broken: see https://github.com/PointCloudLibrary/pcl/issues/2642 VTK_DESC= Build VTK-Visualizations VTK_CMAKE_BOOL= WITH_VTK VTK_LIB_DEPENDS= libvtkCommonCore-8.2.so:math/vtk8 VTK_BROKEN= VTK has missing ompxx symbols: https://gitlab.kitware.com/vtk/vtk/issues/17444 .include diff --git a/graphics/pcl-pointclouds/distinfo b/graphics/pcl-pointclouds/distinfo index 48f2a38e3103..8cafd7e1de04 100644 --- a/graphics/pcl-pointclouds/distinfo +++ b/graphics/pcl-pointclouds/distinfo @@ -1,3 +1,5 @@ -TIMESTAMP = 1641479988 +TIMESTAMP = 1641548254 SHA256 (pcl-pointclouds/1.12.1/source.tar.gz) = a9573efad5e024c02f2cc9180bb8f82605c3772c62463efbe25c5d6e634b91dc SIZE (pcl-pointclouds/1.12.1/source.tar.gz) = 68733343 +SHA256 (pcl-pointclouds/1.12.1/google-googletest-release-1.11.0_GH0.tar.gz) = b4870bf121ff7795ba20d20bcdd8627b8e088f2d1dab299a031c1034eddc93d5 +SIZE (pcl-pointclouds/1.12.1/google-googletest-release-1.11.0_GH0.tar.gz) = 886330