From 963e5467d794f5b3415c8278daf2916b61355168 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Fri, 12 Dec 2025 21:56:46 +0200 Subject: [PATCH] Update package version to 3.1.3 --- pkg.info | 15 ++++++++++++--- source.sh | 10 ---------- 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/pkg.info b/pkg.info index 87d56dc..a832d0f 100644 --- a/pkg.info +++ b/pkg.info @@ -1,9 +1,18 @@ name: libjpeg-turbo description: JPEG image codec with SIMD accelerated compression and decompression -version: 3.1.2 +version: 3.1.3 +revision: 1 url: https://libjpeg-turbo.org/ license: BSD-3-Clause,IJG architecture: any -depends: ["glibc"] -make_depends: ["cmake","ninja"] type: source +depends: + - glibc +make_depends: + - cmake + - ninja +downloads: + - url: https://github.com/libjpeg-turbo/libjpeg-turbo/archive/refs/tags/${BPM_PKG_VERSION}.tar.gz + extract_to: ${BPM_SOURCE} + extract_strip_components: 1 + checksum: 3a13a5ba767dc8264bc40b185e41368a80d5d5f945944d1dbaa4b2fb0099f4e5 diff --git a/source.sh b/source.sh index 2b00d1d..4b8c8f9 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/libjpeg-turbo/libjpeg-turbo/archive/refs/tags/${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() {