2021-11-15 06:50:17 +08:00
|
|
|
vcpkg_from_gitlab(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
GITLAB_URL https://gitlab.gnome.org
|
|
|
|
REPO GNOME/libsecret
|
2024-03-08 14:34:09 +08:00
|
|
|
REF "${VERSION}"
|
|
|
|
SHA512 25faf5e72b6f0486cc1cb20535f685edbf264c97bb35434328587743dba0c5b52c2875e02479556e249b84320f755693744a2f37c710ec59135bd2f26d329228
|
2021-11-15 06:50:17 +08:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_configure_meson(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
|
|
OPTIONS
|
|
|
|
-Dintrospection=false
|
|
|
|
-Dgtk_doc=false
|
|
|
|
-Dmanpage=false
|
|
|
|
-Dvapi=false
|
2023-04-18 06:29:55 +08:00
|
|
|
ADDITIONAL_BINARIES
|
2021-11-15 06:50:17 +08:00
|
|
|
gdbus-codegen='${CURRENT_HOST_INSTALLED_DIR}/tools/glib/gdbus-codegen'
|
|
|
|
glib-mkenums='${CURRENT_HOST_INSTALLED_DIR}/tools/glib/glib-mkenums'
|
|
|
|
)
|
|
|
|
vcpkg_install_meson()
|
|
|
|
vcpkg_fixup_pkgconfig()
|
|
|
|
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
|
|
|
# There is no option to disable building secret-tool, so remove the executable.
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
|
|
|
|
|
|
|
|
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|