]> code.ossystems Code Review - openembedded-core.git/commitdiff
pinentry: add recipes
authorRoy Li <rongqing.li@windriver.com>
Tue, 23 Sep 2014 23:36:54 +0000 (07:36 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 29 Sep 2014 11:11:49 +0000 (12:11 +0100)
gnupg 2.x.x needs pinentry to work

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-support/pinentry/pinentry_0.8.4.bb [new file with mode: 0644]

diff --git a/meta/recipes-support/pinentry/pinentry_0.8.4.bb b/meta/recipes-support/pinentry/pinentry_0.8.4.bb
new file mode 100644 (file)
index 0000000..acc6992
--- /dev/null
@@ -0,0 +1,31 @@
+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 = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=cbbd794e2a0a289b9dfcc9f513d1996e"
+
+inherit autotools-brokensep
+
+SRC_URI = "ftp://ftp.gnupg.org/gcrypt/${BPN}/${BPN}-${PV}.tar.bz2 \
+       "
+
+SRC_URI[md5sum] = "e2b6f94471ba1e978f6e5bf6b275189b"
+SRC_URI[sha256sum] = "359db3bf46cb743ba0b3aeef259f6107271ca888ba3e22c1cba525c9aca35612"
+
+EXTRA_OECONF = "--disable-rpath \
+               --disable-dependency-tracking \
+               --disable-glibtest \
+               --disable-pinentry-gtk \
+               --disable-pinentry-qt \
+               "
+
+PACKAGECONFIG ??= "ncurses libcap"
+
+PACKAGECONFIG[ncurses] = "--enable-ncurses  --with-ncurses-include-dir=${STAGING_INCDIR}, --disable-ncurses, ncurses"
+PACKAGECONFIG[libcap] = "--with-libcap, --without-libcap, libcap"
+PACKAGECONFIG[qt4] = "--enable-pinentry-qt4, --disable-pinentry-qt4, qt4-x11"
+PACKAGECONFIG[gtk2] = "--enable-pinentry-gtk2, --disable-pinentry-gtk2, gtk+ glib-2.0"