package/pinentry: add pinentry-fltk

pinentry-fltk has been added in version 1.1.0 with
6c45eed622

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020.02.x
Fabrice Fontaine 2020-01-09 20:06:04 +01:00 committed by Thomas Petazzoni
parent 9dbf60c7b5
commit cfeb591865
2 changed files with 22 additions and 0 deletions

View File

@ -15,6 +15,19 @@ menuconfig BR2_PACKAGE_PINENTRY
if BR2_PACKAGE_PINENTRY
config BR2_PACKAGE_PINENTRY_FLTK
bool "pinentry-fltk"
depends on BR2_USE_MMU # fltk
depends on BR2_INSTALL_LIBSTDCPP # fltk
depends on BR2_PACKAGE_XORG7 # fltk
select BR2_PACKAGE_FLTK
help
The pinentry-fltk tool
comment "pinentry-fltk needs X and a toolchain w/ C++"
depends on BR2_USE_MMU
depends on !BR2_PACKAGE_XORG7 || !BR2_INSTALL_LIBSTDCPP
config BR2_PACKAGE_PINENTRY_NCURSES
bool "pinentry-ncurses"
select BR2_PACKAGE_NCURSES

View File

@ -36,6 +36,15 @@ else
PINENTRY_CONF_OPTS += --disable-libsecret
endif
# pinentry-fltk backend
ifeq ($(BR2_PACKAGE_PINENTRY_FLTK),y)
PINENTRY_CONF_ENV += ac_cv_path_FLTK_CONFIG=$(STAGING_DIR)/usr/bin/fltk-config
PINENTRY_CONF_OPTS += --enable-pinentry-fltk
PINENTRY_DEPENDENCIES += fltk
else
PINENTRY_CONF_OPTS += --disable-pinentry-fltk
endif
# pinentry-ncurses backend
ifeq ($(BR2_PACKAGE_PINENTRY_NCURSES),y)
PINENTRY_CONF_OPTS += --enable-ncurses --with-ncurses-include-dir=none