diff options
author | Markos Chandras <markos.chandras@imgtec.com> | 2013-08-28 11:23:37 +0100 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2013-09-02 22:42:52 +0200 |
commit | 6492fb02423c091c1c2227a13dfa7e6ee4ba3e1e (patch) | |
tree | cde131dd5512c37bdeb03f6f0d9c69703dc81bc5 | |
parent | 58f6d0a285a085ce0299bf27ef50b6c51a6e3d1e (diff) | |
download | buildroot-6492fb02423c091c1c2227a13dfa7e6ee4ba3e1e.tar.gz buildroot-6492fb02423c091c1c2227a13dfa7e6ee4ba3e1e.zip |
libsecret: New package
libsecret is a library for storing and retrieving passwords
and other secrets. It communicates with the "Secret Service"
using DBus. gnome-keyring and ksecretservice are both
implementations of a Secret Service.
libsecret replaces libgnome-keyring.
https://wiki.gnome.org/Libsecret
[Peter: also needs host-intltool]
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r-- | package/Config.in | 1 | ||||
-rw-r--r-- | package/libsecret/Config.in | 15 | ||||
-rw-r--r-- | package/libsecret/libsecret.mk | 24 |
3 files changed, 40 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in index 6306947379..9b8bc701d1 100644 --- a/package/Config.in +++ b/package/Config.in @@ -431,6 +431,7 @@ source "package/libassuan/Config.in" source "package/libmcrypt/Config.in" source "package/libmhash/Config.in" source "package/libnss/Config.in" +source "package/libsecret/Config.in" source "package/libsha1/Config.in" source "package/nettle/Config.in" source "package/openssl/Config.in" diff --git a/package/libsecret/Config.in b/package/libsecret/Config.in new file mode 100644 index 0000000000..a15f995f40 --- /dev/null +++ b/package/libsecret/Config.in @@ -0,0 +1,15 @@ +config BR2_PACKAGE_LIBSECRET + bool "libsecret" + select BR2_PACKAGE_LIBGLIB2 + depends on BR2_USE_WCHAR # gettext dep in libglib2 + depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2 + help + libsecret is a library for storing and retrieving passwords and other + secrets. It communicates with the "Secret Service" using DBus. + gnome-keyring and ksecretservice are both implementations of a Secret + Service. + + https://wiki.gnome.org/Libsecret + +comment "libsecret requires a toolchain with WCHAR and threading support." + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS diff --git a/package/libsecret/libsecret.mk b/package/libsecret/libsecret.mk new file mode 100644 index 0000000000..e445ea6f00 --- /dev/null +++ b/package/libsecret/libsecret.mk @@ -0,0 +1,24 @@ +################################################################################ +# +# libsecret +# +################################################################################ + +LIBSECRET_VERSION = 0.15 +LIBSECRET_SITE = http://ftp.gnome.org/pub/GNOME/sources/libsecret/$(LIBSECRET_VERSION) +LIBSECRET_SOURCE = libsecret-$(LIBSECRET_VERSION).tar.xz +LIBSECRET_LICENSE = LGPLv2.1+ +LIBSECRET_LICENSE_FILES = COPYING +LIBSECRET_INSTALL_STAGING = YES + +LIBSECRET_DEPENDENCIES = libglib2 host-intltool +LIBSECRET_CONF_OPT = --disable-manpages --disable-strict --disable-coverage --enable-vala=no + +ifeq ($(BR2_PACKAGE_LIBGCRYPT),y) + LIBSECRET_DEPENDENCIES += libgcrypt + LIBSECRET_CONF_OPT += --enable-gcrypt +else + LIBSECRET_CONF_OPT += --disable-gcrypt +endif + +$(eval $(autotools-package)) |