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,31 +1,29 @@ 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 BROKEN_riscv64= ld: error: lto.tmp: cannot link object files with different floating-point ABI USES= cmake:testing compiler:c++14-lang python:test USE_GITHUB= yes GH_ACCOUNT= ARM-software GH_TUPLE= google:googletest:e2239ee:googletest/Source/GoogleTest CMAKE_ARGS= -DPython_EXECUTABLE=${PYTHON_CMD} # only for tests CMAKE_OFF= ASTCENC_UNITTEST CMAKE_TESTING_ON= ASTCENC_UNITTEST LDFLAGS+= -pthread PLIST_FILES= bin/astcenc-native .include 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()