Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 1 | SUMMARY = "Collection of simple PIN or passphrase entry dialogs" |
| 2 | DESCRIPTION = "\ |
| 3 | Pinentry is a collection of simple PIN or passphrase entry dialogs which \ |
| 4 | utilize the Assuan protocol as described by the aegypten project; see \ |
| 5 | http://www.gnupg.org/aegypten/ for details." |
| 6 | |
| 7 | HOMEPAGE = "http://www.gnupg.org/related_software/pinentry/index.en.html" |
| 8 | LICENSE = "GPLv2" |
| 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=cbbd794e2a0a289b9dfcc9f513d1996e" |
| 10 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 11 | DEPENDS = "gettext-native libassuan libgpg-error" |
| 12 | |
| 13 | UPSTREAM_CHECK_URI = "https://gnupg.org/download/index.html" |
| 14 | SRC_URI = "${GNUPG_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2 \ |
| 15 | file://libassuan_pkgconf.patch \ |
| 16 | file://gpg-error_pkconf.patch \ |
| 17 | " |
| 18 | |
| 19 | SRC_URI[md5sum] = "3829315cb0a1e9cedc05ffe6def7a2c6" |
| 20 | SRC_URI[sha256sum] = "68076686fa724a290ea49cdf0d1c0c1500907d1b759a3bcbfbec0293e8f56570" |
| 21 | |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 22 | inherit autotools pkgconfig |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 23 | |
| 24 | PACKAGECONFIG ??= "ncurses libcap" |
| 25 | |
| 26 | PACKAGECONFIG[ncurses] = "--enable-ncurses --with-ncurses-include-dir=${STAGING_INCDIR}, --disable-ncurses, ncurses" |
| 27 | PACKAGECONFIG[libcap] = "--with-libcap, --without-libcap, libcap" |
| 28 | PACKAGECONFIG[qt] = "--enable-pinentry-qt, --disable-pinentry-qt, qt4-x11" |
| 29 | PACKAGECONFIG[gtk2] = "--enable-pinentry-gtk2, --disable-pinentry-gtk2, gtk+ glib-2.0" |
| 30 | |
| 31 | #To use libsecret, add meta-gnome |
| 32 | PACKAGECONFIG[secret] = "--enable-libsecret, --disable-libsecret, libsecret" |
| 33 | |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 34 | EXTRA_OECONF = " \ |
| 35 | --disable-rpath \ |
| 36 | --disable-pinentry-qt5 \ |
| 37 | " |
| 38 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 39 | BBCLASSEXTEND = "native" |