Switch to new download format and rebuild with libdeflate
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user