-
Notifications
You must be signed in to change notification settings - Fork 6.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[libsecret] add new port with version 0.20.4 (#21419)
* [libsecret] add new port with version 0.20.4 * [libsecret] Add host dependency on glib Co-authored-by: Be <be@mixxx.org>
- Loading branch information
1 parent
7dff5e8
commit c973b49
Showing
4 changed files
with
57 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
vcpkg_from_gitlab( | ||
OUT_SOURCE_PATH SOURCE_PATH | ||
GITLAB_URL https://gitlab.gnome.org | ||
REPO GNOME/libsecret | ||
REF 0.20.4 | ||
SHA512 b7357329e531ace536ac3c46ef51d022de9308181af227d2ff45c1ff6fe781a29fa93fe02e78f28c84eca8881c2cb90c92c675bcf9fd21b3d326dd84c5692ed5 | ||
HEAD_REF master | ||
) | ||
|
||
vcpkg_configure_meson( | ||
SOURCE_PATH "${SOURCE_PATH}" | ||
OPTIONS | ||
-Dintrospection=false | ||
-Dgtk_doc=false | ||
-Dmanpage=false | ||
-Dvapi=false | ||
ADDITIONAL_NATIVE_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() | ||
|
||
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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"name": "libsecret", | ||
"version": "0.20.4", | ||
"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": "!(windows | uwp | osx)", | ||
"dependencies": [ | ||
"glib", | ||
{ | ||
"name": "glib", | ||
"host": true | ||
}, | ||
"libgcrypt" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"versions": [ | ||
{ | ||
"git-tree": "28e3a8bccc8c6ba0b40bf89f178e293dd282959b", | ||
"version": "0.20.4", | ||
"port-version": 0 | ||
} | ||
] | ||
} |