From 955c8707574081fd28406e48fdf6a41aac8ea3d1 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Sun, 28 Sep 2025 12:48:08 +0300 Subject: [PATCH] Update package version to 2025.4 --- pkg.info | 20 +++++++++++++++++--- source.sh | 10 ---------- 2 files changed, 17 insertions(+), 13 deletions(-) diff --git a/pkg.info b/pkg.info index d7a3340..d5054ae 100644 --- a/pkg.info +++ b/pkg.info @@ -1,9 +1,23 @@ name: shaderc description: A collection of tools, libraries, and tests for Vulkan shader compilation -version: 2025.3 +version: "2025.4" +revision: 1 url: https://github.com/google/shaderc license: Apache-2.0 architecture: any -depends: ["gcc-libs", "glibc", "glslang", "spirv-tools"] -make_depends: ["cmake", "ninja", "python3", "spirv-headers"] type: source +depends: + - gcc-libs + - glibc + - glslang + - spirv-tools +make_depends: + - cmake + - ninja + - python3 + - spirv-headers +downloads: + - url: https://github.com/google/shaderc/archive/v${BPM_PKG_VERSION}/shaderc-${BPM_PKG_VERSION}.tar.gz + extract_to_bpm_source: true + extract_strip_components: 1 + checksum: 8a89fb6612ace8954470aae004623374a8fc8b7a34a4277bee5527173b064faf diff --git a/source.sh b/source.sh index 6ff852d..63abca3 100644 --- a/source.sh +++ b/source.sh @@ -2,16 +2,6 @@ # BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE # BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT -DOWNLOAD="https://github.com/google/shaderc/archive/v${BPM_PKG_VERSION}/shaderc-${BPM_PKG_VERSION}.tar.gz" -FILENAME="${DOWNLOAD##*/}" - -# The prepare function is executed in the root of the temp directory -# This function is used for downloading files and putting them into the correct location -prepare() { - wget "$DOWNLOAD" - tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE" -} - # The build function is executed in the source directory # This function is used to compile the source code build() {