From ed8342be2bf2c44a1a93112e776eb023f985c16f Mon Sep 17 00:00:00 2001 From: EnumDev Date: Sun, 4 Jan 2026 17:24:19 +0200 Subject: [PATCH] Switch to new download format and rebuild with libdeflate --- pkg.info | 23 ++++++++++++++++++++--- source.sh | 10 ---------- 2 files changed, 20 insertions(+), 13 deletions(-) diff --git a/pkg.info b/pkg.info index 04c33d6..d2dfba2 100644 --- a/pkg.info +++ b/pkg.info @@ -1,10 +1,27 @@ name: libtiff description: Library for reading and writing TIFF image files version: 4.7.1 +revision: 2 url: http://www.simplesystems.org/libtiff/ license: custom architecture: any -depends: ["gcc-libs", "glibc", "libjpeg-turbo", "xz-utils", "zlib", "zstd"] -optional_depends: ["freeglut"] -make_depends: ["freeglut", "cmake", "mesa"] type: source +depends: + - gcc-libs + - glibc + - libdeflate + - libjpeg-turbo + - xz-utils + - zlib + - zstd +optional_depends: + - freeglut +make_depends: + - freeglut + - cmake + - mesa +downloads: + - url: https://gitlab.com/libtiff/libtiff/-/archive/v${BPM_PKG_VERSION}/libtiff-v${BPM_PKG_VERSION}.tar.gz + extract_to: ${BPM_SOURCE} + extract_strip_components: 1 + checksum: 6ab956415ddb6cae497faad18398ff0fd056d17d8bf7b5921cc194c55b0191fc diff --git a/source.sh b/source.sh index f9bd329..7ed7ada 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://gitlab.com/libtiff/libtiff/-/archive/v${BPM_PKG_VERSION}/libtiff-v${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() {