|
@@ -5,33 +5,45 @@
|
|
################################################################################
|
|
################################################################################
|
|
|
|
|
|
LIBSECRET_VERSION_MAJOR = 0.20
|
|
LIBSECRET_VERSION_MAJOR = 0.20
|
|
-LIBSECRET_VERSION = $(LIBSECRET_VERSION_MAJOR).4
|
|
|
|
|
|
+LIBSECRET_VERSION = $(LIBSECRET_VERSION_MAJOR).5
|
|
LIBSECRET_SITE = http://ftp.gnome.org/pub/GNOME/sources/libsecret/$(LIBSECRET_VERSION_MAJOR)
|
|
LIBSECRET_SITE = http://ftp.gnome.org/pub/GNOME/sources/libsecret/$(LIBSECRET_VERSION_MAJOR)
|
|
LIBSECRET_SOURCE = libsecret-$(LIBSECRET_VERSION).tar.xz
|
|
LIBSECRET_SOURCE = libsecret-$(LIBSECRET_VERSION).tar.xz
|
|
LIBSECRET_INSTALL_STAGING = YES
|
|
LIBSECRET_INSTALL_STAGING = YES
|
|
LIBSECRET_DEPENDENCIES = libglib2 $(TARGET_NLS_DEPENDENCIES)
|
|
LIBSECRET_DEPENDENCIES = libglib2 $(TARGET_NLS_DEPENDENCIES)
|
|
-LIBSECRET_CONF_ENV = LIBS=$(TARGET_NLS_LIBS)
|
|
|
|
|
|
+LIBSECRET_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS)
|
|
LIBSECRET_CONF_OPTS = \
|
|
LIBSECRET_CONF_OPTS = \
|
|
- --disable-manpages \
|
|
|
|
- --disable-strict \
|
|
|
|
- --disable-coverage \
|
|
|
|
- --enable-vala=no
|
|
|
|
|
|
+ -Dgtk_doc=false \
|
|
|
|
+ -Dmanpage=false \
|
|
|
|
+ -Dvapi=false
|
|
LIBSECRET_LICENSE = LGPL-2.1+
|
|
LIBSECRET_LICENSE = LGPL-2.1+
|
|
LIBSECRET_LICENSE_FILES = COPYING
|
|
LIBSECRET_LICENSE_FILES = COPYING
|
|
|
|
|
|
|
|
+ifeq ($(BR2_PACKAGE_BASH_COMPLETION),y)
|
|
|
|
+LIBSECRET_CONF_OPTS += -Dbash_completion=enabled
|
|
|
|
+LIBSECRET_DEPENDENCIES += bash-completion
|
|
|
|
+else
|
|
|
|
+LIBSECRET_CONF_OPTS += -Dbash_completion=disabled
|
|
|
|
+endif
|
|
|
|
+
|
|
ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
|
|
ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
|
|
-LIBSECRET_CONF_OPTS += --enable-introspection=yes
|
|
|
|
|
|
+LIBSECRET_CONF_OPTS += -Dintrospection=true
|
|
LIBSECRET_DEPENDENCIES += gobject-introspection
|
|
LIBSECRET_DEPENDENCIES += gobject-introspection
|
|
else
|
|
else
|
|
-LIBSECRET_CONF_OPTS += --enable-introspection=no
|
|
|
|
|
|
+LIBSECRET_CONF_OPTS += -Dintrospection=false
|
|
endif
|
|
endif
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBGCRYPT),y)
|
|
ifeq ($(BR2_PACKAGE_LIBGCRYPT),y)
|
|
LIBSECRET_DEPENDENCIES += libgcrypt
|
|
LIBSECRET_DEPENDENCIES += libgcrypt
|
|
-LIBSECRET_CONF_OPTS += --enable-gcrypt \
|
|
|
|
- --with-libgcrypt-prefix=$(STAGING_DIR)/usr
|
|
|
|
|
|
+LIBSECRET_CONF_OPTS += -Dgcrypt=true
|
|
|
|
+else
|
|
|
|
+LIBSECRET_CONF_OPTS += -Dgcrypt=false
|
|
|
|
+endif
|
|
|
|
+
|
|
|
|
+ifeq ($(BR2_PACKAGE_TPM2_TSS),y)
|
|
|
|
+LIBSECRET_CONF_OPTS += -Dtpm2=true
|
|
|
|
+LIBSECRET_DEPENDENCIES += tpm2-tss
|
|
else
|
|
else
|
|
-LIBSECRET_CONF_OPTS += --disable-gcrypt
|
|
|
|
|
|
+LIBSECRET_CONF_OPTS += -Dtpm2=false
|
|
endif
|
|
endif
|
|
|
|
|
|
-$(eval $(autotools-package))
|
|
|
|
|
|
+$(eval $(meson-package))
|