[fontconfig] don't build font cache in case of crosscompile (#22483)

This commit is contained in:
Daniel Schürmann 2022-01-12 20:59:55 +01:00 committed by GitHub
parent 7180c62fd9
commit 95c1b6fe50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 3 deletions

View File

@ -67,7 +67,7 @@ file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share
# Build the fontconfig cache
if(NOT VCPKG_TARGET_IS_WINDOWS)
if(NOT VCPKG_TARGET_IS_WINDOWS AND NOT VCPKG_CROSSCOMPILING)
set(ENV{FONTCONFIG_PATH} "${CURRENT_PACKAGES_DIR}/etc/fonts")
set(ENV{FONTCONFIG_FILE} "${CURRENT_PACKAGES_DIR}/etc/fonts/fonts.conf")
vcpkg_execute_required_process(COMMAND "${CURRENT_PACKAGES_DIR}/bin/fc-cache${VCPKG_TARGET_EXECUTABLE_SUFFIX}" --verbose

View File

@ -1,7 +1,7 @@
{
"name": "fontconfig",
"version": "2.13.94",
"port-version": 4,
"port-version": 5,
"description": "Library for configuring and customizing font access.",
"homepage": "https://www.freedesktop.org/wiki/Software/fontconfig",
"dependencies": [

View File

@ -2230,7 +2230,7 @@
},
"fontconfig": {
"baseline": "2.13.94",
"port-version": 4
"port-version": 5
},
"foonathan-memory": {
"baseline": "2019-07-21",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "2f32046747209c234e60dc297b48d5bdc7ee4494",
"version": "2.13.94",
"port-version": 5
},
{
"git-tree": "41142efe19b6591f0de47857a32fecdb8bbfc717",
"version": "2.13.94",