diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2016-01-11 08:30:39 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-15 11:54:49 +0000 |
commit | edd319cf4b8d7bbbd933d62db7d4f05d5d68d936 (patch) | |
tree | a54c6e2a20871458db03cb306a0834d0cfb261dd /meta/recipes-support/gnupg/gnupg_2.1.10.bb | |
parent | 78b58b8079f7fb243d673d7d8ed2e7aa0dac306b (diff) | |
download | poky-edd319cf4b8d7bbbd933d62db7d4f05d5d68d936.tar.gz |
gnupg: 2.1.7 -> 2.1.10
Add PACKAGECONFIG for sqlite3 to avoid QA Warning
...
WARNING: QA Issue: gnupg rdepends on libsqlite3, but it isn't a build dependency? [build-deps]
...
(From OE-Core rev: 378228c1587e16880e564378a9533f614331648b)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/gnupg/gnupg_2.1.10.bb')
-rw-r--r-- | meta/recipes-support/gnupg/gnupg_2.1.10.bb | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/meta/recipes-support/gnupg/gnupg_2.1.10.bb b/meta/recipes-support/gnupg/gnupg_2.1.10.bb new file mode 100644 index 0000000000..5a4f2e8fb5 --- /dev/null +++ b/meta/recipes-support/gnupg/gnupg_2.1.10.bb | |||
@@ -0,0 +1,45 @@ | |||
1 | SUMMARY = "GNU Privacy Guard - encryption and signing tools (2.x)" | ||
2 | HOMEPAGE = "http://www.gnupg.org/" | ||
3 | LICENSE = "GPLv3 & LGPLv3" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949 \ | ||
5 | file://COPYING.LIB;md5=6a6a8e020838b23406c81b19c1d46df6" | ||
6 | |||
7 | DEPENDS = "npth libassuan libksba zlib bzip2 readline libgcrypt" | ||
8 | |||
9 | inherit autotools gettext texinfo pkgconfig | ||
10 | |||
11 | SRC_URI = "ftp://ftp.gnupg.org/gcrypt/${BPN}/${BPN}-${PV}.tar.bz2 \ | ||
12 | file://pkgconfig.patch \ | ||
13 | file://use-pkgconfig-instead-of-npth-config.patch \ | ||
14 | file://dirmngr-uses-libgpg-error.patch \ | ||
15 | file://autogen.sh-fix-find-version-for-beta-checking.patch \ | ||
16 | " | ||
17 | |||
18 | SRC_URI[md5sum] = "f0a7cb09fe119f8b82eba7efecd27dc0" | ||
19 | SRC_URI[sha256sum] = "93bd58d81771a4fa488566e5d2e13b1fd7afc86789401eb41731882abfd26cf9" | ||
20 | |||
21 | EXTRA_OECONF = "--disable-ldap \ | ||
22 | --disable-ccid-driver \ | ||
23 | --with-zlib=${STAGING_LIBDIR}/.. \ | ||
24 | --with-bzip2=${STAGING_LIBDIR}/.. \ | ||
25 | --with-readline=${STAGING_LIBDIR}/.. \ | ||
26 | " | ||
27 | RRECOMMENDS_${PN} = "pinentry" | ||
28 | |||
29 | do_configure_prepend () { | ||
30 | # Else these could be used in prefernce to those in aclocal-copy | ||
31 | rm -f ${S}/m4/gpg-error.m4 | ||
32 | rm -f ${S}/m4/libassuan.m4 | ||
33 | rm -f ${S}/m4/ksba.m4 | ||
34 | rm -f ${S}/m4/libgcrypt.m4 | ||
35 | } | ||
36 | |||
37 | do_install_append() { | ||
38 | ln -sf gpg2 ${D}${bindir}/gpg | ||
39 | ln -sf gpgv2 ${D}${bindir}/gpgv | ||
40 | } | ||
41 | |||
42 | RDEPENDS_${PN} = "gnutls" | ||
43 | |||
44 | PACKAGECONFIG ??= "" | ||
45 | PACKAGECONFIG[sqlite3] = "--enable-sqlite, --disable-sqlite, sqlite3" | ||