diff options
author | Armin Kuster <akuster808@gmail.com> | 2014-08-18 18:17:42 -0700 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2014-08-27 21:12:31 -0700 |
commit | 6328a58612c3105850819ede596900b062cdce3b (patch) | |
tree | 11d6e6a66f57be6e5c2561caa8d19c6ebc5eba5a | |
parent | 6e72910b3e8e9545c885a29d62d7837aa3d95fb4 (diff) | |
download | meta-security-6328a58612c3105850819ede596900b062cdce3b.tar.gz |
pinentry: Fix QA error
This fixes: WARNING: QA Issue: pinentry rdepends on libcap, but it isn't a build dependency? [build-deps]
Also add pkgconfig support.
Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r-- | recipes-security/pinentry/pinentry_0.8.3.bb | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/recipes-security/pinentry/pinentry_0.8.3.bb b/recipes-security/pinentry/pinentry_0.8.3.bb index 3209e53..0bd3021 100644 --- a/recipes-security/pinentry/pinentry_0.8.3.bb +++ b/recipes-security/pinentry/pinentry_0.8.3.bb | |||
@@ -2,14 +2,19 @@ DESCRIPTION = "This is a collection of simple PIN or passphrase entry dialogs wh | |||
2 | HOMEPAGE = "ftp://ftp.gnupg.org/gcrypt/" | 2 | HOMEPAGE = "ftp://ftp.gnupg.org/gcrypt/" |
3 | LICENSE = "GPL-2.0" | 3 | LICENSE = "GPL-2.0" |
4 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" | 4 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" |
5 | DEPENDS = "glib-2.0 ncurses" | 5 | DEPENDS = "glib-2.0 " |
6 | 6 | ||
7 | SRC_URI = "ftp://ftp.gnupg.org/gcrypt/pinentry/${PN}-${PV}.tar.bz2" | 7 | SRC_URI = "ftp://ftp.gnupg.org/gcrypt/pinentry/${PN}-${PV}.tar.bz2" |
8 | 8 | ||
9 | SRC_URI[md5sum] = "2ae681cbca0d9fb774b2c90b11ebf56c" | 9 | SRC_URI[md5sum] = "2ae681cbca0d9fb774b2c90b11ebf56c" |
10 | SRC_URI[sha256sum] = "568b0b09b50b2388a4f94d704d5bcb28718ecd4654ed1acc43ab1f97d921a0ad" | 10 | SRC_URI[sha256sum] = "568b0b09b50b2388a4f94d704d5bcb28718ecd4654ed1acc43ab1f97d921a0ad" |
11 | 11 | ||
12 | inherit autotools | 12 | inherit autotools pkgconfig |
13 | 13 | ||
14 | EXTRA_OECONF +="--disable-pinentry-gtk2 --disable-pinentry-qt --disable-pinentry-qt4 --without-x --enable-ncurses \ | 14 | EXTRA_OECONF +="--disable-pinentry-gtk2 --disable-pinentry-qt \ |
15 | --with-ncurses-include-dir=${STAGING_INCDIR} " | 15 | --disable-pinentry-qt4 --without-x " |
16 | |||
17 | PACKAGECONFIG ??= "ncurses" | ||
18 | |||
19 | PACKAGECONFIG[ncurses] = "--enable-ncurses --with-ncurses-include-dir=${STAGING_INCDIR}, '--disable-ncurses', ncurses" | ||
20 | PACKAGECONFIG[libcap] = "--with-libcap, --without-libcap, libcap" | ||