Skip to content

Commit

Permalink
Take gperf from vcpkg tool if possible
Browse files Browse the repository at this point in the history
  • Loading branch information
talregev committed May 26, 2022
1 parent 20907dc commit fcf0b34
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
4 changes: 1 addition & 3 deletions ports/fontconfig/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ vcpkg_from_gitlab(
libgetopt.patch
)

vcpkg_find_acquire_program(GPERF)
get_filename_component(GPERF_PATH ${GPERF} DIRECTORY)
vcpkg_add_to_path(${GPERF_PATH})
vcpkg_add_to_path("${CURRENT_HOST_INSTALLED_DIR}/tools/")

vcpkg_configure_meson(
SOURCE_PATH ${SOURCE_PATH}
Expand Down
6 changes: 5 additions & 1 deletion ports/fontconfig/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "fontconfig",
"version": "2.14.0",
"port-version": 1,
"port-version": 2,
"description": "Library for configuring and customizing font access.",
"homepage": "https://www.freedesktop.org/wiki/Software/fontconfig",
"license": "MIT",
Expand All @@ -11,6 +11,10 @@
"freetype",
"getopt",
"gettext",
{
"name": "gperf",
"host": true
},
"libiconv",
{
"name": "libuuid",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -2290,7 +2290,7 @@
},
"fontconfig": {
"baseline": "2.14.0",
"port-version": 1
"port-version": 2
},
"foonathan-memory": {
"baseline": "2019-07-21",
Expand Down
5 changes: 5 additions & 0 deletions versions/f-/fontconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "54f599dd541f7721dcc68e06c328e55098d0f9b5",
"version": "2.14.0",
"port-version": 2
},
{
"git-tree": "b1b1de99dba230f78c88bb9d73329bed77227ad4",
"version": "2.14.0",
Expand Down

0 comments on commit fcf0b34

Please sign in to comment.