aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/libxmlb/portfile.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/libxmlb/portfile.cmake')
-rw-r--r--vcpkg/ports/libxmlb/portfile.cmake28
1 files changed, 28 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")