mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-04 07:19:08 +08:00
35 lines
1.3 KiB
CMake
35 lines
1.3 KiB
CMake
vcpkg_from_gitlab(
|
|
GITLAB_URL https://gitlab.gnome.org/
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO GNOME/libadwaita
|
|
REF a905117bd2150de9e85d65f8cdce8d8fb001b89e # 1.2.0
|
|
SHA512 7fc3c054e261d09acefde5571848f36cbe0956c2a9a8c7b4dda255e2a48b96496b3481b325b13e9a93232f2280acb74d63872f3452b64d510d749109c0b0b078
|
|
HEAD_REF main
|
|
PATCHES
|
|
)
|
|
|
|
set(GLIB_TOOLS_DIR "${CURRENT_HOST_INSTALLED_DIR}/tools/glib")
|
|
set(SASSC_TOOLS_DIR "${CURRENT_HOST_INSTALLED_DIR}/tools/sassc")
|
|
|
|
vcpkg_configure_meson(
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
OPTIONS
|
|
-Dintrospection=disabled
|
|
-Dtests=false
|
|
-Dgtk_doc=false
|
|
-Dexamples=false
|
|
-Dvapi=false
|
|
ADDITIONAL_BINARIES
|
|
glib-genmarshal='${GLIB_TOOLS_DIR}/glib-genmarshal${VCPKG_HOST_EXECUTABLE_SUFFIX}'
|
|
glib-mkenums='${GLIB_TOOLS_DIR}/glib-mkenums'
|
|
glib-compile-resources='${GLIB_TOOLS_DIR}/glib-compile-resources${VCPKG_HOST_EXECUTABLE_SUFFIX}'
|
|
glib-compile-schemas='${GLIB_TOOLS_DIR}/glib-compile-schemas${VCPKG_HOST_EXECUTABLE_SUFFIX}'
|
|
sassc='${SASSC_TOOLS_DIR}/bin/sassc${VCPKG_HOST_EXECUTABLE_SUFFIX}'
|
|
)
|
|
|
|
vcpkg_install_meson()
|
|
vcpkg_copy_pdbs()
|
|
vcpkg_fixup_pkgconfig()
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING")
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|