git: 07cb23f90d51 - main - graphics/pcl-pointclouds: Update 1.12.0 -> 1.12.1

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Fri, 07 Jan 2022 00:43:08 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=07cb23f90d51e10b98b32896c7d82f1663e2a398

commit 07cb23f90d51e10b98b32896c7d82f1663e2a398
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2022-01-07 00:42:23 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-01-07 00:43:06 +0000

    graphics/pcl-pointclouds: Update 1.12.0 -> 1.12.1
    
    PR:             260987
---
 graphics/pcl-pointclouds/Makefile  | 23 ++++++++++-------------
 graphics/pcl-pointclouds/distinfo  |  6 +++---
 graphics/pcl-pointclouds/pkg-plist |  2 ++
 3 files changed, 15 insertions(+), 16 deletions(-)

diff --git a/graphics/pcl-pointclouds/Makefile b/graphics/pcl-pointclouds/Makefile
index 5d97f4d681ff..20cae1256938 100644
--- a/graphics/pcl-pointclouds/Makefile
+++ b/graphics/pcl-pointclouds/Makefile
@@ -1,8 +1,10 @@
 PORTNAME=	pcl
-DISTVERSIONPREFIX=	${PORTNAME}-
-DISTVERSION=	1.12.0
+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
@@ -18,16 +20,16 @@ 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 python xorg
-LLD_UNSAFE=	yes
-USE_GITHUB=	yes
-GH_ACCOUNT=	PointCloudLibrary
+USES=		cmake compiler:c++14-lang eigen:3 jpeg localbase:ldflags python xorg
 USE_XORG=	x11 xext xt ice sm
 USE_LDCONFIG=	yes
 
+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
@@ -45,7 +47,7 @@ PNG_LIB_DEPENDS=	libpng.so:graphics/png
 
 QHULL_DESC=		Include convex-hull operations
 QHULL_CMAKE_BOOL=	WITH_QHULL
-QHULL_LIB_DEPENDS=	libqhull.so:math/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
@@ -55,9 +57,4 @@ 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 <bsd.port.pre.mk>
-
-post-patch:  # 10 doesn't have std::sqrt, switching to ::sqrt from math.h
-	@${GREP} -rl std::sqrt ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e 's|::std::sqrt|::sqrt|g ; s|std::sqrt|::sqrt|g'
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/graphics/pcl-pointclouds/distinfo b/graphics/pcl-pointclouds/distinfo
index 4baae6a3c5fa..48f2a38e3103 100644
--- a/graphics/pcl-pointclouds/distinfo
+++ b/graphics/pcl-pointclouds/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1625791538
-SHA256 (PointCloudLibrary-pcl-pcl-1.12.0_GH0.tar.gz) = 21dfa9a268de9675c1f94d54d9402e4e02120a0aa4215d064436c52b7d5bd48f
-SIZE (PointCloudLibrary-pcl-pcl-1.12.0_GH0.tar.gz) = 68547886
+TIMESTAMP = 1641479988
+SHA256 (pcl-pointclouds/1.12.1/source.tar.gz) = a9573efad5e024c02f2cc9180bb8f82605c3772c62463efbe25c5d6e634b91dc
+SIZE (pcl-pointclouds/1.12.1/source.tar.gz) = 68733343
diff --git a/graphics/pcl-pointclouds/pkg-plist b/graphics/pcl-pointclouds/pkg-plist
index a4afb1c80e83..8575863f3ee5 100644
--- a/graphics/pcl-pointclouds/pkg-plist
+++ b/graphics/pcl-pointclouds/pkg-plist
@@ -379,6 +379,7 @@ include/pcl-%%SHL2%%/pcl/io/ply_io.h
 include/pcl-%%SHL2%%/pcl/io/point_cloud_image_extractors.h
 include/pcl-%%SHL2%%/pcl/io/robot_eye_grabber.h
 include/pcl-%%SHL2%%/pcl/io/tar.h
+include/pcl-%%SHL2%%/pcl/io/tim_grabber.h
 include/pcl-%%SHL2%%/pcl/io/vlp_grabber.h
 include/pcl-%%SHL2%%/pcl/io/vtk_io.h
 include/pcl-%%SHL2%%/pcl/kdtree/impl/io.hpp
@@ -970,6 +971,7 @@ libdata/pkgconfig/pcl_tracking-%%SHL2%%.pc
 %%DATADIR%%/Modules/FindEnsenso.cmake
 %%DATADIR%%/Modules/FindFLANN.cmake
 %%DATADIR%%/Modules/FindGLEW.cmake
+%%DATADIR%%/Modules/FindOpenMP.cmake
 %%DATADIR%%/Modules/FindOpenNI.cmake
 %%DATADIR%%/Modules/FindOpenNI2.cmake
 %%DATADIR%%/Modules/FindPcap.cmake