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"
--- /dev/null
+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
--- /dev/null
+################################################################################
+#
+# 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))