-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
68 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
vcpkg_download_distfile(ARCHIVE | ||
URLS https://download.gnome.org/sources/json-glib/1.10/json-glib-${VERSION}.tar.xz | ||
FILENAME "json-glib-${VERSION}.tar.xz" | ||
SHA512 e1c0e33b17333cf94beb381f505c1819090a11b616dcc23a883f231029dff277c2482823278cbf7b8a07e237d45cbfc7b05f132e1234beff609a739fd5704c6e | ||
) | ||
|
||
vcpkg_extract_source_archive( | ||
SOURCE_PATH | ||
ARCHIVE "${ARCHIVE}" | ||
PATCHES | ||
) | ||
|
||
vcpkg_find_acquire_program(PKGCONFIG) | ||
|
||
vcpkg_configure_meson( | ||
SOURCE_PATH "${SOURCE_PATH}" | ||
OPTIONS | ||
"-DPKG_CONFIG_EXECUTABLE=${PKGCONFIG}" | ||
-Dintrospection=disabled | ||
-Ddocumentation=disabled | ||
-Dtests=false | ||
-Dinstalled_tests=false | ||
-Dconformance=false | ||
-Dman=false | ||
-Dnls=disabled | ||
) | ||
|
||
vcpkg_install_meson() | ||
|
||
vcpkg_copy_pdbs() | ||
|
||
vcpkg_fixup_pkgconfig() | ||
|
||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSES/LGPL-2.1-or-later.txt" "${SOURCE_PATH}/LICENSES/CC0-1.0.txt" "${SOURCE_PATH}/LICENSES/MIT.txt") | ||
|
||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") | ||
|
||
vcpkg_copy_tools( | ||
TOOL_NAMES json-glib-format json-glib-validate | ||
AUTO_CLEAN | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"name": "json-glib", | ||
"version": "1.10.6", | ||
"description": "Implements a full JSON parser and generator using GLib and GObject, and integrates JSON with GLib data types.", | ||
"homepage": "https://wiki.gnome.org/Projects/JsonGlib", | ||
"license": "LGPL-2.1-or-later", | ||
"dependencies": [ | ||
"glib", | ||
{ | ||
"name": "vcpkg-tool-meson", | ||
"host": true | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"versions": [ | ||
{ | ||
"git-tree": "486e21dedf6be065f71f18f1f5cf44c268bc44bf", | ||
"version": "1.10.6", | ||
"port-version": 0 | ||
} | ||
] | ||
} |