diff --git a/graphics/shaderc/Makefile b/graphics/shaderc/Makefile index 0b6ce4dc203d..32661da787ef 100644 --- a/graphics/shaderc/Makefile +++ b/graphics/shaderc/Makefile @@ -1,41 +1,41 @@ PORTNAME= shaderc DISTVERSIONPREFIX= v -DISTVERSION= 2022.4 +DISTVERSION= 2023.1 CATEGORIES= graphics devel MAINTAINER= jbeich@FreeBSD.org COMMENT= GLSL/HLSL to SPIR-V shader compiler WWW= https://github.com/google/shaderc LICENSE= APACHE20 BUILD_DEPENDS= glslang>0:graphics/glslang \ spirv-tools>0:graphics/spirv-tools TEST_DEPENDS= googletest>0:devel/googletest USES= cmake:testing compiler:c++11-lib localbase:ldflags python:3.4+,build USE_GITHUB= yes USE_LDCONFIG= yes GH_ACCOUNT= google -GH_TUPLE= KhronosGroup:SPIRV-Headers:1.5.4.raytracing.fixed-201-gc214f6f:headers/third_party/spirv-headers +GH_TUPLE= KhronosGroup:SPIRV-Headers:1.5.4.raytracing.fixed-214-gd13b522:headers/third_party/spirv-headers CMAKE_ON+= ${CMAKE_TESTING_OFF} CMAKE_TESTING_OFF= SHADERC_SKIP_TESTS CMAKE_ARGS= -Dglslang_SOURCE_DIR:PATH="${LOCALBASE}/include/glslang" \ -DSPIRV-Headers_SOURCE_DIR:PATH="${WRKSRC}/third_party/spirv-headers" LDFLAGS+= -Wl,-z,defs # glslang post-patch: # Disable bundled dependencies ${REINPLACE_CMD} '/third_party/d' ${WRKSRC}/CMakeLists.txt # Unbreak tests with system spirv-tools ${REINPLACE_CMD} 's,\$$,\1,' \ ${WRKSRC}/glslc/test/CMakeLists.txt pre-configure: # Extract (snapshot) version from the port instead of CHANGES + .git/ ${REINPLACE_CMD} '/build-version/d' ${WRKSRC}/glslc/CMakeLists.txt ${ECHO_CMD} "\"${PORTNAME} ${DISTVERSIONFULL}\n\"" >> ${WRKSRC}/glslc/src/build-version.inc ${ECHO_CMD} "\"`${PKG_BIN} query '%n v%v' spirv-tools`\n\"" >> ${WRKSRC}/glslc/src/build-version.inc ${ECHO_CMD} "\"`${PKG_BIN} query '%n %v' glslang`\n\"" >> ${WRKSRC}/glslc/src/build-version.inc .include diff --git a/graphics/shaderc/distinfo b/graphics/shaderc/distinfo index e5da998a1197..8e6d50bf46cb 100644 --- a/graphics/shaderc/distinfo +++ b/graphics/shaderc/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1669853611 -SHA256 (google-shaderc-v2022.4_GH0.tar.gz) = a948436f2eca403026fe2c900df0108a0f4972005230817d805c43d96554c9ea -SIZE (google-shaderc-v2022.4_GH0.tar.gz) = 223535 -SHA256 (KhronosGroup-SPIRV-Headers-1.5.4.raytracing.fixed-201-gc214f6f_GH0.tar.gz) = 5e32aefc599e6d26c2373b7296a37980b9c6c7ff6f636d5eee49f79b437e5a51 -SIZE (KhronosGroup-SPIRV-Headers-1.5.4.raytracing.fixed-201-gc214f6f_GH0.tar.gz) = 445472 +TIMESTAMP = 1673905499 +SHA256 (google-shaderc-v2023.1_GH0.tar.gz) = 8041c6874a085a0f357d7918855f9e39bbeff9313cbeacab28505aa233fc0da2 +SIZE (google-shaderc-v2023.1_GH0.tar.gz) = 222448 +SHA256 (KhronosGroup-SPIRV-Headers-1.5.4.raytracing.fixed-214-gd13b522_GH0.tar.gz) = f4f0663a7fc0c17beaecb824c58ece4169edec1b3bb6eb1f6857b7b56bad3194 +SIZE (KhronosGroup-SPIRV-Headers-1.5.4.raytracing.fixed-214-gd13b522_GH0.tar.gz) = 446635