[fontconfig] no absolute paths (#21424)

This commit is contained in:
autoantwort 2021-11-23 00:18:05 +01:00 committed by GitHub
parent 6e023eba7b
commit 0c846c11aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 6 deletions

View File

@ -38,10 +38,7 @@ endif()
# Make path to cache in fonts.conf relative
set(_file "${CURRENT_PACKAGES_DIR}/etc/fonts/fonts.conf")
if(EXISTS "${_file}")
file(READ "${_file}" _contents)
string(REPLACE "${CURRENT_INSTALLED_DIR}/var/cache/fontconfig" "./../../var/cache/fontconfig" _contents "${_contents}")
string(REPLACE "/var" "/../var" _contents "${_contents}")
file(WRITE "${_file}" "${_contents}")
vcpkg_replace_string("${_file}" "${CURRENT_PACKAGES_DIR}/var/cache/fontconfig" "./../../var/cache/fontconfig")
endif()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/var"

View File

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

View File

@ -2218,7 +2218,7 @@
},
"fontconfig": {
"baseline": "2.13.94",
"port-version": 1
"port-version": 2
},
"foonathan-memory": {
"baseline": "2019-07-21",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "bc9133bf9d7f323757e7de9992ae6dbac0a92f00",
"version": "2.13.94",
"port-version": 2
},
{
"git-tree": "606b2d7ca0ba11e29552311100b66d8c5052faeb",
"version": "2.13.94",