Bump buidlroot version to 2018.02.6
This commit is contained in:
@@ -4,21 +4,22 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PINENTRY_VERSION = 0.9.4
|
||||
PINENTRY_VERSION = 1.0.0
|
||||
PINENTRY_SOURCE = pinentry-$(PINENTRY_VERSION).tar.bz2
|
||||
PINENTRY_SITE = ftp://ftp.gnupg.org/gcrypt/pinentry
|
||||
PINENTRY_LICENSE = GPLv2+
|
||||
PINENTRY_SITE = https://www.gnupg.org/ftp/gcrypt/pinentry
|
||||
PINENTRY_LICENSE = GPL-2.0+
|
||||
PINENTRY_LICENSE_FILES = COPYING
|
||||
PINENTRY_DEPENDENCIES = \
|
||||
libassuan libgpg-error \
|
||||
$(if $(BR2_PACKAGE_LIBICONV),libiconv) \
|
||||
host-pkgconf
|
||||
PINENTRY_CONF_OPTS += --without-libcap # requires PAM
|
||||
PINENTRY_CONF_OPTS += \
|
||||
--with-libassuan-prefix=$(STAGING_DIR)/usr \
|
||||
--with-libgpg-error-prefix=$(STAGING_DIR)/usr \
|
||||
--without-libcap # requires PAM
|
||||
|
||||
# pinentry uses some std::string functionality that needs C++11
|
||||
# support when gcc >= 5.x. This should be removed when bumping
|
||||
# pinentry, since newer versions no longer use std::string.
|
||||
ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_5),y)
|
||||
PINENTRY_CONF_ENV = CXXFLAGS="$(TARGET_CXXFLAGS) -std=gnu++11"
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
|
||||
PINENTRY_CONF_ENV += LIBS=-latomic
|
||||
endif
|
||||
|
||||
# build with X if available
|
||||
@@ -51,15 +52,17 @@ else
|
||||
PINENTRY_CONF_OPTS += --disable-pinentry-gtk2
|
||||
endif
|
||||
|
||||
# pinentry-qt4 backend
|
||||
# pinentry-qt4/5 backend
|
||||
ifeq ($(BR2_PACKAGE_PINENTRY_QT4)$(BR2_PACKAGE_PINENTRY_QT5),y)
|
||||
ifeq ($(BR2_PACKAGE_PINENTRY_QT4),y)
|
||||
# -pthread needs to be passed for certain toolchains
|
||||
# http://autobuild.buildroot.net/results/6be/6be109ccedec603a67cebdb31b55865dcce0e128/
|
||||
PINENTRY_CONF_OPTS += LIBS=-pthread MOC=$(HOST_DIR)/usr/bin/moc
|
||||
PINENTRY_CONF_OPTS += --enable-pinentry-qt4
|
||||
PINENTRY_DEPENDENCIES += qt
|
||||
PINENTRY_CONF_OPTS += LIBS=-pthread MOC=$(HOST_DIR)/bin/moc
|
||||
endif
|
||||
PINENTRY_CONF_OPTS += --enable-pinentry-qt
|
||||
PINENTRY_DEPENDENCIES += $(if $(BR2_PACKAGE_PINENTRY_QT4),qt,qt5base)
|
||||
else
|
||||
PINENTRY_CONF_OPTS += --disable-pinentry-qt4
|
||||
PINENTRY_CONF_OPTS += --disable-pinentry-qt
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
||||
Reference in New Issue
Block a user