blob: 7daf80f36eba98a4a5898a6d805d611caa88868f [file] [log] [blame]
SUMMARY = "Collection of simple PIN or passphrase entry dialogs"
DESCRIPTION = "\
Pinentry is a collection of simple PIN or passphrase entry dialogs which \
utilize the Assuan protocol as described by the aegypten project; see \
http://www.gnupg.org/aegypten/ for details."
HOMEPAGE = "http://www.gnupg.org/related_software/pinentry/index.en.html"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=cbbd794e2a0a289b9dfcc9f513d1996e"
DEPENDS = "gettext-native libassuan libgpg-error"
UPSTREAM_CHECK_URI = "https://gnupg.org/download/index.html"
SRC_URI = "${GNUPG_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2 \
file://libassuan_pkgconf.patch \
file://gpg-error_pkconf.patch \
"
SRC_URI[sha256sum] = "457a185e5a85238fb945a955dc6352ab962dc8b48720b62fc9fa48c7540a4067"
inherit autotools pkgconfig
PACKAGECONFIG ??= "ncurses"
PACKAGECONFIG[ncurses] = "--enable-ncurses --with-ncurses-include-dir=${STAGING_INCDIR}, --disable-ncurses, ncurses"
PACKAGECONFIG[qt] = "--enable-pinentry-qt, --disable-pinentry-qt, qtbase-native qtbase"
PACKAGECONFIG[gtk2] = "--enable-pinentry-gtk2, --disable-pinentry-gtk2, gtk+ glib-2.0"
PACKAGECONFIG[secret] = "--enable-libsecret, --disable-libsecret, libsecret"
EXTRA_OECONF = " \
--disable-rpath \
"
EXTRA_OECONF:append:libc-musl = " \
ac_cv_should_define__xopen_source=yes \
"
BBCLASSEXTEND = "native nativesdk"