diff options
Diffstat (limited to 'vcpkg/ports/libsecret')
| -rw-r--r-- | vcpkg/ports/libsecret/portfile.cmake | 27 | ||||
| -rw-r--r-- | vcpkg/ports/libsecret/vcpkg.json | 21 |
2 files changed, 48 insertions, 0 deletions
diff --git a/vcpkg/ports/libsecret/portfile.cmake b/vcpkg/ports/libsecret/portfile.cmake new file mode 100644 index 0000000..5265db5 --- /dev/null +++ b/vcpkg/ports/libsecret/portfile.cmake @@ -0,0 +1,27 @@ +vcpkg_from_gitlab( + OUT_SOURCE_PATH SOURCE_PATH + GITLAB_URL https://gitlab.gnome.org + REPO GNOME/libsecret + REF "${VERSION}" + SHA512 25faf5e72b6f0486cc1cb20535f685edbf264c97bb35434328587743dba0c5b52c2875e02479556e249b84320f755693744a2f37c710ec59135bd2f26d329228 + HEAD_REF master +) + +vcpkg_configure_meson( + SOURCE_PATH "${SOURCE_PATH}" + OPTIONS + -Dintrospection=false + -Dgtk_doc=false + -Dmanpage=false + -Dvapi=false + ADDITIONAL_BINARIES + 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() +vcpkg_copy_tools(TOOL_NAMES secret-tool AUTO_CLEAN) + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") + +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING") diff --git a/vcpkg/ports/libsecret/vcpkg.json b/vcpkg/ports/libsecret/vcpkg.json new file mode 100644 index 0000000..482e3df --- /dev/null +++ b/vcpkg/ports/libsecret/vcpkg.json @@ -0,0 +1,21 @@ +{ + "name": "libsecret", + "version": "0.21.4", + "port-version": 1, + "description": "libsecret is a GObject-based library for accessing the Secret Service API of the freedesktop.org project, a cross-desktop effort to access passwords, tokens and other types of secrets. libsecret provides a convenient wrapper for these methods so consumers do not have to call the low-level DBus methods.", + "homepage": "https://gitlab.gnome.org/GNOME/libsecret/", + "license": "LGPL-2.1-or-later", + "supports": "!android & !ios & !osx & !windows", + "dependencies": [ + "glib", + { + "name": "glib", + "host": true + }, + "libgcrypt", + { + "name": "vcpkg-tool-meson", + "host": true + } + ] +} |