mirror of
https://git.yoctoproject.org/meta-security
synced 2026-05-31 12:50:19 +00:00
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>
This commit is contained in:
@@ -2,14 +2,19 @@ DESCRIPTION = "This is a collection of simple PIN or passphrase entry dialogs wh
|
||||
HOMEPAGE = "ftp://ftp.gnupg.org/gcrypt/"
|
||||
LICENSE = "GPL-2.0"
|
||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
|
||||
DEPENDS = "glib-2.0 ncurses"
|
||||
DEPENDS = "glib-2.0 "
|
||||
|
||||
SRC_URI = "ftp://ftp.gnupg.org/gcrypt/pinentry/${PN}-${PV}.tar.bz2"
|
||||
|
||||
SRC_URI[md5sum] = "2ae681cbca0d9fb774b2c90b11ebf56c"
|
||||
SRC_URI[sha256sum] = "568b0b09b50b2388a4f94d704d5bcb28718ecd4654ed1acc43ab1f97d921a0ad"
|
||||
|
||||
inherit autotools
|
||||
inherit autotools pkgconfig
|
||||
|
||||
EXTRA_OECONF +="--disable-pinentry-gtk2 --disable-pinentry-qt --disable-pinentry-qt4 --without-x --enable-ncurses \
|
||||
--with-ncurses-include-dir=${STAGING_INCDIR} "
|
||||
EXTRA_OECONF +="--disable-pinentry-gtk2 --disable-pinentry-qt \
|
||||
--disable-pinentry-qt4 --without-x "
|
||||
|
||||
PACKAGECONFIG ??= "ncurses"
|
||||
|
||||
PACKAGECONFIG[ncurses] = "--enable-ncurses --with-ncurses-include-dir=${STAGING_INCDIR}, '--disable-ncurses', ncurses"
|
||||
PACKAGECONFIG[libcap] = "--with-libcap, --without-libcap, libcap"
|
||||
|
||||
Reference in New Issue
Block a user