Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Nov 2024 10:27:34 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: d738d254065b - main - misc/astc-encoder: update 4.8.0 =?utf-8?Q?=E2=86=92?= 5.1.0
Message-ID:  <202411161027.4AGARYie053933@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

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

commit d738d254065b0a7568c33036e8a13ed930efe67a
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-11-16 10:21:11 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-11-16 10:27:21 +0000

    misc/astc-encoder: update 4.8.0 → 5.1.0
    
    Reported by:    portscout
---
 misc/astc-encoder/Makefile                            |  8 +++-----
 misc/astc-encoder/distinfo                            |  8 +++-----
 .../astc-encoder/files/patch-Source_cmake__core.cmake | 19 +++++++++++++++++++
 3 files changed, 25 insertions(+), 10 deletions(-)

diff --git a/misc/astc-encoder/Makefile b/misc/astc-encoder/Makefile
index 5dd56d2e376b..1c75e4a74d5c 100644
--- a/misc/astc-encoder/Makefile
+++ b/misc/astc-encoder/Makefile
@@ -1,13 +1,11 @@
 PORTNAME=	astc-encoder
-DISTVERSION=	4.8.0
+DISTVERSION=	5.1.0
 CATEGORIES=	misc
 
-PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
-PATCHFILES=	f1756a58e896bc05caf80d203509bb2aa94aaa25.patch:-p1
-
 MAINTAINER=	yuri@FreeBSD.org
 COMMENT=	Texture compressor for Adaptive Scalable Texture Compression format
-WWW=		https://github.com/ARM-software/astc-encoder
+WWW=		https://github.com/ARM-software/astc-encoder \
+		https://developer.arm.com/Gaming%20Graphics%20and%20VR
 
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
diff --git a/misc/astc-encoder/distinfo b/misc/astc-encoder/distinfo
index ea50b01c430c..2710d9713dc2 100644
--- a/misc/astc-encoder/distinfo
+++ b/misc/astc-encoder/distinfo
@@ -1,7 +1,5 @@
-TIMESTAMP = 1716433326
-SHA256 (ARM-software-astc-encoder-4.8.0_GH0.tar.gz) = 6c12f4656be21a69cbacd9f2c817283405decb514072dc1dcf51fd9a0b659852
-SIZE (ARM-software-astc-encoder-4.8.0_GH0.tar.gz) = 36151854
+TIMESTAMP = 1731747059
+SHA256 (ARM-software-astc-encoder-5.1.0_GH0.tar.gz) = 2e60fc2917e0796bd62429242accdf71c784f99f21fcae6c69159c11332fba40
+SIZE (ARM-software-astc-encoder-5.1.0_GH0.tar.gz) = 36159590
 SHA256 (google-googletest-e2239ee_GH0.tar.gz) = 47a8ca2e1be737588628cbc82726a7c4fed060ae0098709003845e3ef298da2f
 SIZE (google-googletest-e2239ee_GH0.tar.gz) = 886254
-SHA256 (f1756a58e896bc05caf80d203509bb2aa94aaa25.patch) = 14715dab769bebe2e18f52070888200531bdf6cf08e365fedc6be40119634c5e
-SIZE (f1756a58e896bc05caf80d203509bb2aa94aaa25.patch) = 1207
diff --git a/misc/astc-encoder/files/patch-Source_cmake__core.cmake b/misc/astc-encoder/files/patch-Source_cmake__core.cmake
new file mode 100644
index 000000000000..475a3338494d
--- /dev/null
+++ b/misc/astc-encoder/files/patch-Source_cmake__core.cmake
@@ -0,0 +1,19 @@
+--- Source/cmake_core.cmake.orig	2024-11-15 11:22:40 UTC
++++ Source/cmake_core.cmake
+@@ -170,7 +170,6 @@ macro(astcenc_set_properties ASTCENC_TARGET_NAME ASTCE
+             $<${is_gnu_fe}:-Wall>
+             $<${is_gnu_fe}:-Wextra>
+             $<${is_gnu_fe}:-Wpedantic>
+-            $<${is_gnu_fe}:-Werror>
+             $<${is_gnu_fe}:-Wshadow>
+             $<${is_gnu_fe}:-Wdouble-promotion>
+             $<${is_clang}:-Wdocumentation>
+@@ -449,8 +448,6 @@ macro(astcenc_set_properties ASTCENC_TARGET_NAME ASTCE
+         else()
+             target_compile_options(${ASTCENC_TARGET_NAME}
+                 PRIVATE
+-                    $<${is_clangcl}:-mcpu=native -march=native>
+-                    $<${is_gnu_fe}:-mcpu=native -march=native>
+                     $<${is_gnu_fe}:-Wno-unused-command-line-argument>)
+         endif()
+     endif()



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202411161027.4AGARYie053933>