aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2021-10-16 16:58:42 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2021-10-16 18:27:02 +0000
commite412330693e6520d2dff57ac3f88ace44beca7fd (patch)
treea630be08a13feadc4cf9ed4618ced878c1b84c66
parent774c4513ecd1dc2d4b89b2f8e5055dfec5e58649 (diff)
downloadports-e412330693e6520d2dff57ac3f88ace44beca7fd.tar.gz
ports-e412330693e6520d2dff57ac3f88ace44beca7fd.zip
archivers/draco: Update 1.4.1-28 -> 1.4.3
Reported by: portscout
-rw-r--r--archivers/draco/Makefile12
-rw-r--r--archivers/draco/distinfo8
-rw-r--r--archivers/draco/pkg-plist6
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