diff options
Diffstat (limited to 'vcpkg/ports/libxmlb')
| -rw-r--r-- | vcpkg/ports/libxmlb/portfile.cmake | 28 | ||||
| -rw-r--r-- | vcpkg/ports/libxmlb/vcpkg.json | 15 |
2 files changed, 43 insertions, 0 deletions
diff --git a/vcpkg/ports/libxmlb/portfile.cmake b/vcpkg/ports/libxmlb/portfile.cmake new file mode 100644 index 0000000..ea1d48a --- /dev/null +++ b/vcpkg/ports/libxmlb/portfile.cmake @@ -0,0 +1,28 @@ + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO hughsie/libxmlb + REF "${VERSION}" + SHA512 bda65f445939d12131756244ec9fa9805cfba908e176ae0dde792c1ae89b2a89a6c85e04b697d3e775f1735fa20784c64de66b4e133b02c49dd2011699839ac3 + HEAD_REF main +) + +vcpkg_configure_meson( + SOURCE_PATH "${SOURCE_PATH}" + OPTIONS + -Dgtkdoc=false + -Dintrospection=false + -Dtests=false + -Dstemmer=false + -Dcli=false + -Dlzma=disabled + -Dzstd=disabled +) + +vcpkg_install_meson() +vcpkg_copy_pdbs() +vcpkg_fixup_pkgconfig() + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") + +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE") diff --git a/vcpkg/ports/libxmlb/vcpkg.json b/vcpkg/ports/libxmlb/vcpkg.json new file mode 100644 index 0000000..924225b --- /dev/null +++ b/vcpkg/ports/libxmlb/vcpkg.json @@ -0,0 +1,15 @@ +{ + "name": "libxmlb", + "version": "0.3.23", + "description": "The libxmlb library takes XML source, and converts it to a structured binary representation with a deduplicated string table where the strings have the NULs included", + "homepage": "https://github.com/hughsie/libxmlb/", + "license": "LGPL-2.1-only", + "supports": "!windows | mingw", + "dependencies": [ + "glib", + { + "name": "vcpkg-tool-meson", + "host": true + } + ] +} |