[libtiff] Switch to vcpkg_from_gitlab function (#22181)

Gitlab tends to be more reliable for some customers.

Co-authored-by: Thomas Willecomme <thomas.willecomme@teledyne.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
This commit is contained in:
Thomas Willecomme 2021-12-29 20:28:03 +01:00 committed by GitHub
parent 5d44acbb91
commit d54131d520
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 16 additions and 15 deletions

View File

@ -1,19 +1,15 @@
set(LIBTIFF_VERSION 4.3.0)
vcpkg_download_distfile(ARCHIVE
URLS "https://download.osgeo.org/libtiff/tiff-${LIBTIFF_VERSION}.tar.gz"
FILENAME "tiff-${LIBTIFF_VERSION}.tar.gz"
SHA512 e04a4a6c542e58a174c1e9516af3908acf1d3d3e1096648c5514f4963f73e7af27387a76b0fbabe43cf867a18874088f963796a7cd6e45deb998692e3e235493
)
vcpkg_extract_source_archive_ex(
vcpkg_from_gitlab(
GITLAB_URL https://gitlab.com
OUT_SOURCE_PATH SOURCE_PATH
ARCHIVE "${ARCHIVE}"
REF ${LIBTIFF_VERSION}
PATCHES
cmakelists.patch
fix-pkgconfig.patch
FindCMath.patch
REPO libtiff/libtiff
REF v${LIBTIFF_VERSION}
SHA512 eaa2503dc1805283e0590b06e3e660a793fe849ae8b975b2d69369695d65a40640787c156574faaca856917be799eeb844e60f55555e1f219dd513cef66ea95d
HEAD_REF master
PATCHES cmakelists.patch
fix-pkgconfig.patch
FindCMath.patch
)
set(EXTRA_OPTIONS "")

View File

@ -1,7 +1,7 @@
{
"name": "tiff",
"version": "4.3.0",
"port-version": 2,
"port-version": 3,
"description": "A library that supports the manipulation of TIFF image files",
"homepage": "https://libtiff.gitlab.io/libtiff/",
"dependencies": [

View File

@ -6782,7 +6782,7 @@
},
"tiff": {
"baseline": "4.3.0",
"port-version": 2
"port-version": 3
},
"tinkerforge": {
"baseline": "2.1.25",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "d96194297723032655164b0fcb88027e38e06003",
"version": "4.3.0",
"port-version": 3
},
{
"git-tree": "f147253c84ad1d911393d8b5496f30574a07c780",
"version": "4.3.0",