[pixman] Use vcpkg_from_gitlab to fetch source (microsoft#28537) (#28539)

This commit is contained in:
Alonso Schaich 2023-01-24 08:48:01 +09:00 committed by GitHub
parent 5dfe76c7ed
commit 033c71aa75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 14 additions and 11 deletions

View File

@ -37,21 +37,18 @@ if(VCPKG_TARGET_IS_WINDOWS AND VCPKG_TARGET_ARCHITECTURE MATCHES "arm")
)
endif()
set(PIXMAN_VERSION "${VERSION}")
vcpkg_download_distfile(ARCHIVE
URLS "https://www.cairographics.org/releases/pixman-${PIXMAN_VERSION}.tar.gz"
FILENAME "pixman-${PIXMAN_VERSION}.tar.gz"
SHA512 0a4e327aef89c25f8cb474fbd01de834fd2a1b13fdf7db11ab72072082e45881cd16060673b59d02054b1711ae69c6e2395f6ae9214225ee7153939efcd2fa5d
)
vcpkg_extract_source_archive(
SOURCE_PATH
ARCHIVE "${ARCHIVE}"
vcpkg_from_gitlab(
OUT_SOURCE_PATH SOURCE_PATH
GITLAB_URL https://gitlab.freedesktop.org
REPO pixman/pixman
REF 37216a32839f59e8dcaa4c3951b3fcfc3f07852c # 0.42.2
SHA512 b010b2c698ebc95f8a8566c915ccfb81a82c08f0ccda8b11ddff4818eae4b51b103021d5bae9f3d3bd20bf494433f5fcc6b76188226fe336919b0b347cdcb828
PATCHES
no-host-cpu-checks.patch
fix_clang-cl.patch
missing_intrin_include.patch
)
# Meson install wrongly pkgconfig file!
vcpkg_configure_meson(
SOURCE_PATH "${SOURCE_PATH}"

View File

@ -1,6 +1,7 @@
{
"name": "pixman",
"version": "0.42.2",
"port-version": 1,
"description": "Pixman is a low-level software library for pixel manipulation, providing features such as image compositing and trapezoid rasterization.",
"homepage": "https://www.cairographics.org/releases",
"license": "MIT",

View File

@ -5910,7 +5910,7 @@
},
"pixman": {
"baseline": "0.42.2",
"port-version": 0
"port-version": 1
},
"pkgconf": {
"baseline": "1.8.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "f32a4f787dec8e87ac46200c3be33fc616493d98",
"version": "0.42.2",
"port-version": 1
},
{
"git-tree": "a6bc25e07965cb8f3fb609900729d58c1f222457",
"version": "0.42.2",