summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2024-11-16 02:21:11 -0800
committerYuri Victorovich <yuri@FreeBSD.org>2024-11-16 02:27:21 -0800
commitd738d254065b0a7568c33036e8a13ed930efe67a (patch)
tree45a72a6383b5355110601cbc89e242ce4914aa1a
parentmisc/koboldcpp: update 1.77 → 1.78 (diff)
misc/astc-encoder: update 4.8.0 → 5.1.0
Reported by: portscout
-rw-r--r--misc/astc-encoder/Makefile8
-rw-r--r--misc/astc-encoder/distinfo8
-rw-r--r--misc/astc-encoder/files/patch-Source_cmake__core.cmake19
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()