Skip to content

Commit

Permalink
meson: wire up credential-libsecret
Browse files Browse the repository at this point in the history
Signed-off-by: M Hickford <[email protected]>
  • Loading branch information
hickford committed Feb 13, 2025
1 parent 7ac8aa6 commit 07ce068
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions contrib/credential/libsecret/meson.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
glib = dependency('glib-2.0')
libsecret = dependency('libsecret-1')
executable('git-credential-libsecret', 'git-credential-libsecret.c', dependencies: [glib, libsecret])
3 changes: 3 additions & 0 deletions contrib/credential/meson.build
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
if get_option('credential_wincred')
subdir('wincred')
endif
if get_option('credential_libsecret')
subdir('libsecret')
endif
2 changes: 2 additions & 0 deletions meson_options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ option('version', type: 'string', value: '',
# Features supported by Git.
option('contrib', type: 'array', value: [ 'completion' ], choices: [ 'completion', 'subtree' ],
description: 'Contributed features to include.')
option('credential_libsecret', type: 'boolean', value: false,
description: 'Build helper git-credential-libsecret. Requires GLib and libsecret.')
option('credential_wincred', type: 'boolean', value: false,
description: 'Build helper git-credential-wincred. Requires Windows SDK.')
option('curl', type: 'feature', value: 'enabled',
Expand Down

0 comments on commit 07ce068

Please sign in to comment.