Switch to new download format and rebuild with libdeflate

This commit is contained in:
2026-01-04 17:24:19 +02:00
parent bfc5faeaf7
commit ed8342be2b
2 changed files with 20 additions and 13 deletions
+20 -3
View File
@@ -1,10 +1,27 @@
name: libtiff name: libtiff
description: Library for reading and writing TIFF image files description: Library for reading and writing TIFF image files
version: 4.7.1 version: 4.7.1
revision: 2
url: http://www.simplesystems.org/libtiff/ url: http://www.simplesystems.org/libtiff/
license: custom license: custom
architecture: any architecture: any
depends: ["gcc-libs", "glibc", "libjpeg-turbo", "xz-utils", "zlib", "zstd"]
optional_depends: ["freeglut"]
make_depends: ["freeglut", "cmake", "mesa"]
type: source 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
-10
View File
@@ -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 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 # 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 # The build function is executed in the source directory
# This function is used to compile the source code # This function is used to compile the source code
build() { build() {