misc/astc-encoder: update 4.8.0 → 5.1.0

Reported by:	portscout
This commit is contained in:
Yuri Victorovich 2024-11-16 02:21:11 -08:00
parent 87df296801
commit d738d25406
3 changed files with 25 additions and 10 deletions

View file

@ -1,13 +1,11 @@
PORTNAME= astc-encoder PORTNAME= astc-encoder
DISTVERSION= 4.8.0 DISTVERSION= 5.1.0
CATEGORIES= misc CATEGORIES= misc
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
PATCHFILES= f1756a58e896bc05caf80d203509bb2aa94aaa25.patch:-p1
MAINTAINER= yuri@FreeBSD.org MAINTAINER= yuri@FreeBSD.org
COMMENT= Texture compressor for Adaptive Scalable Texture Compression format 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= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE.txt LICENSE_FILE= ${WRKSRC}/LICENSE.txt

View file

@ -1,7 +1,5 @@
TIMESTAMP = 1716433326 TIMESTAMP = 1731747059
SHA256 (ARM-software-astc-encoder-4.8.0_GH0.tar.gz) = 6c12f4656be21a69cbacd9f2c817283405decb514072dc1dcf51fd9a0b659852 SHA256 (ARM-software-astc-encoder-5.1.0_GH0.tar.gz) = 2e60fc2917e0796bd62429242accdf71c784f99f21fcae6c69159c11332fba40
SIZE (ARM-software-astc-encoder-4.8.0_GH0.tar.gz) = 36151854 SIZE (ARM-software-astc-encoder-5.1.0_GH0.tar.gz) = 36159590
SHA256 (google-googletest-e2239ee_GH0.tar.gz) = 47a8ca2e1be737588628cbc82726a7c4fed060ae0098709003845e3ef298da2f SHA256 (google-googletest-e2239ee_GH0.tar.gz) = 47a8ca2e1be737588628cbc82726a7c4fed060ae0098709003845e3ef298da2f
SIZE (google-googletest-e2239ee_GH0.tar.gz) = 886254 SIZE (google-googletest-e2239ee_GH0.tar.gz) = 886254
SHA256 (f1756a58e896bc05caf80d203509bb2aa94aaa25.patch) = 14715dab769bebe2e18f52070888200531bdf6cf08e365fedc6be40119634c5e
SIZE (f1756a58e896bc05caf80d203509bb2aa94aaa25.patch) = 1207

View file

@ -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()