2013-04-24 17:14:41 +00:00
SUMMARY = " High-level GnuPG encryption/signing API "
2010-06-30 08:42:22 +00:00
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 "
HOMEPAGE = " http://www.gnupg.org/gpgme.html "
2010-07-21 07:06:16 +00:00
BUGTRACKER = " https://bugs.g10code.com/gnupg/index "
2010-06-30 08:42:22 +00:00
LICENSE = " GPLv2+ & LGPLv2.1+ "
2010-07-21 07:06:16 +00:00
LIC_FILES_CHKSUM = " file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
file : / / COPYING . LESSER ;md5=bbb461211a33b134d42ed5ee802b37ff \
2017-02-07 03:29:07 +00:00
file : / / src / gpgme . h .in ;endline=23;md5=0f7059665c4b7897f4f4d0cb93aa9f98 \
2013-03-04 14:37:03 +00:00
file : / / src / engine . h ;endline=22;md5=4b6d8ba313d9b564cc4d4cfb1640af9d"
2010-06-30 08:42:22 +00:00
2016-05-25 06:40:26 +00:00
UPSTREAM_CHECK_URI = " https://gnupg.org/download/index.html "
SRC_URI = " ${GNUPG_MIRROR}/gpgme/${BP}.tar.bz2 \
2015-05-28 01:26:14 +00:00
file : / / pkgconfig . patch \
2017-03-07 18:54:33 +00:00
file : / / python - lang - config . patch \
2017-03-10 11:24:23 +00:00
file : / / 0001 - Correctly - install - python - modules . patch \
2017-04-04 14:40:01 +00:00
file : / / python - import . patch \
2017-04-13 13:50:11 +00:00
file : / / 0001 - gpgme - config - skip - all - lib - or - usr - lib - directories - in - .patch \
2015-05-28 01:26:14 +00:00
"
2010-12-08 04:06:29 +00:00
2017-02-07 03:29:07 +00:00
SRC_URI [ md5sum ] = " 722a4153904b9b5dc15485a22d29263b "
SRC_URI [ sha256sum ] = " 596097257c2ce22e747741f8ff3d7e24f6e26231fa198a41b2a072e62d1e5d33 "
2013-08-22 15:41:10 +00:00
2013-12-04 16:40:26 +00:00
DEPENDS = " libgpg-error libassuan "
2017-02-07 03:29:07 +00:00
RDEPENDS_ $ { PN } - cpp + = " libstdc++ "
2012-06-09 16:43:13 +00:00
2017-04-13 13:50:12 +00:00
RDEPENDS_python2 - gpg + = " python-unixadmin "
RDEPENDS_python3 - gpg + = " python3-unixadmin "
2014-05-22 09:59:33 +00:00
BINCONFIG = " ${bindir}/gpgme-config "
2017-03-07 18:54:33 +00:00
# Note select python2 or python3 , but you can ' t select both at the same time
PACKAGECONFIG ? ? = " python3 "
PACKAGECONFIG [ python2 ] = " ,,python swig-native, "
PACKAGECONFIG [ python3 ] = " ,,python3 swig-native, "
# Default in configure . ac : " cl cpp python qt "
# Supported : " cl cpp python python2 python3 qt "
# python says ' search and find python2 or python3 '
2017-03-20 15:13:08 +00:00
# Building the C + + bindings for native requires a C + + compiler with C + + 11
# support . Since these bindings are currently not needed , we can disable them .
DEFAULT_LANGUAGES = " "
DEFAULT_LANGUAGES_class - target = " cpp "
LANGUAGES ? = " ${DEFAULT_LANGUAGES} "
2017-03-07 18:54:33 +00:00
LANGUAGES . = " ${@bb.utils.contains('PACKAGECONFIG', 'python2', ' python2', '', d)} "
LANGUAGES . = " ${@bb.utils.contains('PACKAGECONFIG', 'python3', ' python3', '', d)} "
PYTHON_INHERIT = " ${@bb.utils.contains('PACKAGECONFIG', 'python2', 'pythonnative', '', d)} "
PYTHON_INHERIT . = " ${@bb.utils.contains('PACKAGECONFIG', 'python3', 'python3native', '', d)} "
EXTRA_OECONF + = ' - - enable - languages = " ${LANGUAGES} " '
inherit autotools texinfo binconfig - disabled pkgconfig $ { PYTHON_INHERIT }
export PKG_CONFIG = ' pkg - config '
2008-03-14 09:34:33 +00:00
2017-01-26 15:42:36 +00:00
BBCLASSEXTEND = " native nativesdk "
2017-02-13 15:05:31 +00:00
2017-02-07 03:29:07 +00:00
PACKAGES = + " ${PN}-cpp "
2017-03-07 18:54:33 +00:00
PACKAGES = . " ${@bb.utils.contains('PACKAGECONFIG', 'python2', 'python2-gpg ', '', d)} "
PACKAGES = . " ${@bb.utils.contains('PACKAGECONFIG', 'python3', 'python3-gpg ', '', d)} "
2017-02-07 03:29:07 +00:00
FILES_ $ { PN } - cpp = " ${libdir}/libgpgmepp.so.* "
2017-03-07 18:54:33 +00:00
FILES_python2 - gpg = " ${PYTHON_SITEPACKAGES_DIR}/* "
FILES_python3 - gpg = " ${PYTHON_SITEPACKAGES_DIR}/* "
2017-02-07 03:29:07 +00:00
FILES_ $ { PN } - dev + = " ${datadir}/common-lisp/source/gpgme/* \
$ { libdir } / cmake / * \
"
2014-05-22 09:53:28 +00:00
2016-01-13 19:40:52 +00:00
CFLAGS_append_libc - musl = " -D__error_t_defined "
2014-05-22 09:53:28 +00:00
do_configure_prepend ( ) {
# Else these could be used in preference to those in aclocal - copy
rm - f $ { S } / m4 / gpg - error . m4
rm - f $ { S } / m4 / libassuan . m4
}