git: 936adf146e06 - main - misc/astc-encoder: Fix tests

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Tue, 21 Jun 2022 21:29:27 UTC
The branch main has been updated by yuri:

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

commit 936adf146e06b6284efcbff8e3866ccee1be47a9
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-06-21 21:29:00 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-06-21 21:29:25 +0000

    misc/astc-encoder: Fix tests
---
 misc/astc-encoder/Makefile | 7 ++++---
 misc/astc-encoder/distinfo | 6 +++---
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/misc/astc-encoder/Makefile b/misc/astc-encoder/Makefile
index 8b802a815ce6..cfbf85826875 100644
--- a/misc/astc-encoder/Makefile
+++ b/misc/astc-encoder/Makefile
@@ -9,14 +9,15 @@ COMMENT=	Texture compressor for Adaptive Scalable Texture Compression format
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
-USES=		cmake:testing compiler:c++14-lang
+USES=		cmake:testing compiler:c++14-lang python:test
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	ARM-software
-GH_TUPLE=	google:googletest:703bd9c:googletest/Source/GoogleTest
+GH_TUPLE=	google:googletest:e2239ee:googletest/Source/GoogleTest
 
+CMAKE_ARGS=	-DPython_EXECUTABLE=${PYTHON_CMD} # only for tests
 CMAKE_OFF=	UNITTEST
-CMAKE_TESTING_ON=	UNITTEST # tests fail to build, see https://github.com/ARM-software/astc-encoder/issues/349
+CMAKE_TESTING_ON=	UNITTEST
 
 LDFLAGS+=	-pthread
 
diff --git a/misc/astc-encoder/distinfo b/misc/astc-encoder/distinfo
index 9a0c58be65e4..96339e7d70e4 100644
--- a/misc/astc-encoder/distinfo
+++ b/misc/astc-encoder/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1655841306
+TIMESTAMP = 1655846150
 SHA256 (ARM-software-astc-encoder-3.7-92-g50f5f8f_GH0.tar.gz) = d8633cd0486b38b62a356ce5a383b0016349111dda73d535f49158aae5c59b70
 SIZE (ARM-software-astc-encoder-3.7-92-g50f5f8f_GH0.tar.gz) = 36649917
-SHA256 (google-googletest-703bd9c_GH0.tar.gz) = 54bef85b53a02b21ed1e784848ea05cbfd78134f8976a7831a956cfebcef7204
-SIZE (google-googletest-703bd9c_GH0.tar.gz) = 904257
+SHA256 (google-googletest-e2239ee_GH0.tar.gz) = 47a8ca2e1be737588628cbc82726a7c4fed060ae0098709003845e3ef298da2f
+SIZE (google-googletest-e2239ee_GH0.tar.gz) = 886254