diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2017-02-06 22:29:07 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-02-15 20:06:42 -0800 |
commit | 6075e4978d344faabede03829ebacd82dcfd392b (patch) | |
tree | 6b8ed22a0b7bae466e4615636a74e0d37d3393f4 /meta/recipes-support/gpgme/gpgme_1.8.0.bb | |
parent | 00dd77d449405b91b23c54656324ec80c0b85fe8 (diff) | |
download | poky-6075e4978d344faabede03829ebacd82dcfd392b.tar.gz |
gpgme: 1.6.0 -> 1.8.0
- Drop gpgme.pc, it is duplicated with pkgconfig.patch
- Rebase pkgconfig.patch to 1.8.0
- Split cmake config to ${PN}-dev
- Update LIC_FILES_CHKSUM, because copytright year changed.
- The libgpgme-pthread is obsolete by upstream;
- Add package libgpgcpp;
TODO: Do not remove gpgme-pthread.pc from pkgconfig.patch,
the upstream explains:
git://git.gnupg.org/gpgme.git
commit 09b64554328445e99a8cc78fc34ea49c2ea2e7f9
------------------------------
libgpgme-pthread is removed but gpgme-config still supports
--thread=pthread for compatibility with find scripts.
------------------------------
(From OE-Core rev: 62b91f655977bdf2faaf53443c47785738c1d0f6)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/gpgme/gpgme_1.8.0.bb')
-rw-r--r-- | meta/recipes-support/gpgme/gpgme_1.8.0.bb | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/meta/recipes-support/gpgme/gpgme_1.8.0.bb b/meta/recipes-support/gpgme/gpgme_1.8.0.bb new file mode 100644 index 0000000000..b870069728 --- /dev/null +++ b/meta/recipes-support/gpgme/gpgme_1.8.0.bb | |||
@@ -0,0 +1,39 @@ | |||
1 | SUMMARY = "High-level GnuPG encryption/signing API" | ||
2 | DESCRIPTION = "GnuPG Made Easy (GPGME) is a library designed to make access to GnuPG easier for applications. It provides a High-Level Crypto API for encryption, decryption, signing, signature verification and key management" | ||
3 | HOMEPAGE = "http://www.gnupg.org/gpgme.html" | ||
4 | BUGTRACKER = "https://bugs.g10code.com/gnupg/index" | ||
5 | |||
6 | LICENSE = "GPLv2+ & LGPLv2.1+" | ||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ | ||
8 | file://COPYING.LESSER;md5=bbb461211a33b134d42ed5ee802b37ff \ | ||
9 | file://src/gpgme.h.in;endline=23;md5=0f7059665c4b7897f4f4d0cb93aa9f98 \ | ||
10 | file://src/engine.h;endline=22;md5=4b6d8ba313d9b564cc4d4cfb1640af9d" | ||
11 | |||
12 | UPSTREAM_CHECK_URI = "https://gnupg.org/download/index.html" | ||
13 | SRC_URI = "${GNUPG_MIRROR}/gpgme/${BP}.tar.bz2 \ | ||
14 | file://pkgconfig.patch \ | ||
15 | " | ||
16 | |||
17 | SRC_URI[md5sum] = "722a4153904b9b5dc15485a22d29263b" | ||
18 | SRC_URI[sha256sum] = "596097257c2ce22e747741f8ff3d7e24f6e26231fa198a41b2a072e62d1e5d33" | ||
19 | |||
20 | DEPENDS = "libgpg-error libassuan" | ||
21 | RDEPENDS_${PN}-cpp += "libstdc++" | ||
22 | |||
23 | BINCONFIG = "${bindir}/gpgme-config" | ||
24 | |||
25 | inherit autotools texinfo binconfig-disabled pkgconfig | ||
26 | |||
27 | PACKAGES =+ "${PN}-cpp" | ||
28 | FILES_${PN}-cpp = "${libdir}/libgpgmepp.so.*" | ||
29 | FILES_${PN}-dev += "${datadir}/common-lisp/source/gpgme/* \ | ||
30 | ${libdir}/cmake/* \ | ||
31 | " | ||
32 | |||
33 | CFLAGS_append_libc-musl = " -D__error_t_defined " | ||
34 | do_configure_prepend () { | ||
35 | # Else these could be used in preference to those in aclocal-copy | ||
36 | rm -f ${S}/m4/gpg-error.m4 | ||
37 | rm -f ${S}/m4/libassuan.m4 | ||
38 | } | ||
39 | |||