mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 19:25:27 +08:00
32 lines
1.3 KiB
CMake
32 lines
1.3 KiB
CMake
|
vcpkg_from_gitlab(
|
||
|
GITLAB_URL https://gitlab.gnome.org
|
||
|
OUT_SOURCE_PATH SOURCE_PATH
|
||
|
REPO GNOME/libsoup
|
||
|
REF "${VERSION}"
|
||
|
SHA512 "780d360167af1c7b5497d79c6752f3fb917b552928f7e1af6476e2713285426de7803fc28d1b76c541d5246a404772abd0f412acc953d6a1441e632416f72f94"
|
||
|
HEAD_REF main
|
||
|
)
|
||
|
|
||
|
vcpkg_configure_meson(
|
||
|
SOURCE_PATH "${SOURCE_PATH}"
|
||
|
OPTIONS
|
||
|
-Dtls_check=false
|
||
|
-Ddocs=disabled
|
||
|
-Dtests=false
|
||
|
-Ddoc_tests=false
|
||
|
ADDITIONAL_BINARIES
|
||
|
"gio-querymodules = '${CURRENT_HOST_INSTALLED_DIR}/tools/glib/gio-querymodules${CMAKE_EXECUTABLE_SUFFIX}'"
|
||
|
"glib-compile-schemas = '${CURRENT_HOST_INSTALLED_DIR}/tools/glib/glib-compile-schemas${CMAKE_EXECUTABLE_SUFFIX}'"
|
||
|
"glib-compile-resources = '${CURRENT_HOST_INSTALLED_DIR}/tools/glib/glib-compile-resources${CMAKE_EXECUTABLE_SUFFIX}'"
|
||
|
"gdbus-codegen = '${CURRENT_HOST_INSTALLED_DIR}/tools/glib/gdbus-codegen'"
|
||
|
"glib-genmarshal = '${CURRENT_HOST_INSTALLED_DIR}/tools/glib/glib-genmarshal'"
|
||
|
"glib-mkenums = '${CURRENT_HOST_INSTALLED_DIR}/tools/glib/glib-mkenums'"
|
||
|
)
|
||
|
|
||
|
vcpkg_install_meson()
|
||
|
vcpkg_fixup_pkgconfig()
|
||
|
|
||
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
||
|
|
||
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING")
|