git: e412330693e6 - main - archivers/draco: Update 1.4.1-28 -> 1.4.3

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sat, 16 Oct 2021 18:27:15 UTC
The branch main has been updated by yuri:

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

commit e412330693e6520d2dff57ac3f88ace44beca7fd
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2021-10-16 16:58:42 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2021-10-16 18:27:02 +0000

    archivers/draco: Update 1.4.1-28 -> 1.4.3
    
    Reported by:    portscout
---
 archivers/draco/Makefile  | 12 +++++++++---
 archivers/draco/distinfo  |  8 +++++---
 archivers/draco/pkg-plist |  6 +++---
 3 files changed, 17 insertions(+), 9 deletions(-)

diff --git a/archivers/draco/Makefile b/archivers/draco/Makefile
index 08cff051bb9a..05b19194830a 100644
--- a/archivers/draco/Makefile
+++ b/archivers/draco/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	draco
-DISTVERSION=	1.4.1-28
-DISTVERSIONSUFFIX=	-g9bf5d2e
+DISTVERSION=	1.4.3
 CATEGORIES=	archivers
 PKGNAMESUFFIX=	-3d-compression
 
@@ -15,8 +14,15 @@ USE_LDCONFIG=	yes
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	google
+GH_TUPLE=	google:googletest:16f637f:googletest/../googletest # tests require the googletest source tree for some reason, see https://github.com/google/draco/issues/731
 
 CMAKE_ON=		BUILD_SHARED_LIBS
-CMAKE_TESTING_ON=	DRACO_TESTS # tests don't compile: https://github.com/google/draco/issues/731
+CMAKE_TESTING_ON=	DRACO_TESTS
+CMAKE_TESTING_TARGET=	draco_tests draco_factory_tests
+
+post-test: # see https://github.com/google/draco/issues/753
+	@cd ${BUILD_WRKSRC} && \
+		./draco_tests && \
+		./draco_factory_tests
 
 .include <bsd.port.mk>
diff --git a/archivers/draco/distinfo b/archivers/draco/distinfo
index 14ec73d4b1e3..c0db249bf959 100644
--- a/archivers/draco/distinfo
+++ b/archivers/draco/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1629275918
-SHA256 (google-draco-1.4.1-28-g9bf5d2e_GH0.tar.gz) = 9ff98ec3e9a4d40ac97549c30e398260b8f61c37b25900831cdc7dbeb86b2f71
-SIZE (google-draco-1.4.1-28-g9bf5d2e_GH0.tar.gz) = 34367116
+TIMESTAMP = 1634404441
+SHA256 (google-draco-1.4.3_GH0.tar.gz) = 02a620a7ff8388c57d6f6e0941eecc10d0c23ab47c45942fb52f64a6245c44f5
+SIZE (google-draco-1.4.3_GH0.tar.gz) = 34195543
+SHA256 (google-googletest-16f637f_GH0.tar.gz) = 89a3acd83a83bbc7f0ec50751fee79ec9fb3eaec7d515bb57abeda89b70a8806
+SIZE (google-googletest-16f637f_GH0.tar.gz) = 831917
diff --git a/archivers/draco/pkg-plist b/archivers/draco/pkg-plist
index 81133c466480..f72e4878f9bb 100644
--- a/archivers/draco/pkg-plist
+++ b/archivers/draco/pkg-plist
@@ -1,7 +1,7 @@
 bin/draco_decoder
-bin/draco_decoder-1.4.1
+bin/draco_decoder-1.4.3
 bin/draco_encoder
-bin/draco_encoder-1.4.1
+bin/draco_encoder-1.4.3
 include/draco/animation/keyframe_animation.h
 include/draco/animation/keyframe_animation_decoder.h
 include/draco/animation/keyframe_animation_encoder.h
@@ -195,6 +195,6 @@ include/draco/point_cloud/point_cloud_builder.h
 lib/libdraco.a
 lib/libdraco.so
 lib/libdraco.so.1
-lib/libdraco.so.1.4.1
+lib/libdraco.so.1.0.0
 libdata/pkgconfig/draco.pc
 share/cmake/draco-config.cmake