summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/gpgme
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-07-28 23:28:15 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-02 15:44:10 +0100
commitbb6ddc3691ab04162ec5fd69a2d5e7876713fd15 (patch)
tree76e376b01253c3aace1a98a5021bcaad3c92e861 /meta/recipes-support/gpgme
parentfcc456ee4b8f619134abb4649db53c638074082c (diff)
downloadpoky-bb6ddc3691ab04162ec5fd69a2d5e7876713fd15.tar.gz
Convert to new override syntax
This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". (From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/gpgme')
-rw-r--r--meta/recipes-support/gpgme/gpgme_1.16.0.bb22
1 files changed, 11 insertions, 11 deletions
diff --git a/meta/recipes-support/gpgme/gpgme_1.16.0.bb b/meta/recipes-support/gpgme/gpgme_1.16.0.bb
index 13f456fcfc..0ab30d93b9 100644
--- a/meta/recipes-support/gpgme/gpgme_1.16.0.bb
+++ b/meta/recipes-support/gpgme/gpgme_1.16.0.bb
@@ -26,10 +26,10 @@ SRC_URI = "${GNUPG_MIRROR}/gpgme/${BP}.tar.bz2 \
26SRC_URI[sha256sum] = "6c8cc4aedb10d5d4c905894ba1d850544619ee765606ac43df7405865de29ed0" 26SRC_URI[sha256sum] = "6c8cc4aedb10d5d4c905894ba1d850544619ee765606ac43df7405865de29ed0"
27 27
28DEPENDS = "libgpg-error libassuan" 28DEPENDS = "libgpg-error libassuan"
29RDEPENDS_${PN}-cpp += "libstdc++" 29RDEPENDS:${PN}-cpp += "libstdc++"
30 30
31RDEPENDS_python2-gpg += "python-unixadmin" 31RDEPENDS:python2-gpg += "python-unixadmin"
32RDEPENDS_python3-gpg += "python3-unixadmin" 32RDEPENDS:python3-gpg += "python3-unixadmin"
33 33
34BINCONFIG = "${bindir}/gpgme-config" 34BINCONFIG = "${bindir}/gpgme-config"
35 35
@@ -45,7 +45,7 @@ PACKAGECONFIG[python3] = ",,python3 swig-native,"
45# Building the C++ bindings for native requires a C++ compiler with C++11 45# Building the C++ bindings for native requires a C++ compiler with C++11
46# support. Since these bindings are currently not needed, we can disable them. 46# support. Since these bindings are currently not needed, we can disable them.
47DEFAULT_LANGUAGES = "" 47DEFAULT_LANGUAGES = ""
48DEFAULT_LANGUAGES_class-target = "cpp" 48DEFAULT_LANGUAGES:class-target = "cpp"
49LANGUAGES ?= "${DEFAULT_LANGUAGES} python" 49LANGUAGES ?= "${DEFAULT_LANGUAGES} python"
50 50
51PYTHON_INHERIT = "${@bb.utils.contains('PACKAGECONFIG', 'python2', 'pythonnative', '', d)}" 51PYTHON_INHERIT = "${@bb.utils.contains('PACKAGECONFIG', 'python2', 'pythonnative', '', d)}"
@@ -69,19 +69,19 @@ PACKAGES =+ "${PN}-cpp"
69PACKAGES =. "${@bb.utils.contains('PACKAGECONFIG', 'python2', 'python2-gpg ', '', d)}" 69PACKAGES =. "${@bb.utils.contains('PACKAGECONFIG', 'python2', 'python2-gpg ', '', d)}"
70PACKAGES =. "${@bb.utils.contains('PACKAGECONFIG', 'python3', 'python3-gpg ', '', d)}" 70PACKAGES =. "${@bb.utils.contains('PACKAGECONFIG', 'python3', 'python3-gpg ', '', d)}"
71 71
72FILES_${PN}-cpp = "${libdir}/libgpgmepp.so.*" 72FILES:${PN}-cpp = "${libdir}/libgpgmepp.so.*"
73FILES_python2-gpg = "${PYTHON_SITEPACKAGES_DIR}/*" 73FILES:python2-gpg = "${PYTHON_SITEPACKAGES_DIR}/*"
74FILES_python3-gpg = "${PYTHON_SITEPACKAGES_DIR}/*" 74FILES:python3-gpg = "${PYTHON_SITEPACKAGES_DIR}/*"
75FILES_${PN}-dev += "${datadir}/common-lisp/source/gpgme/*" 75FILES:${PN}-dev += "${datadir}/common-lisp/source/gpgme/*"
76 76
77CFLAGS_append_libc-musl = " -D__error_t_defined " 77CFLAGS:append:libc-musl = " -D__error_t_defined "
78do_configure_prepend () { 78do_configure:prepend () {
79 # Else these could be used in preference to those in aclocal-copy 79 # Else these could be used in preference to those in aclocal-copy
80 rm -f ${S}/m4/gpg-error.m4 80 rm -f ${S}/m4/gpg-error.m4
81 rm -f ${S}/m4/libassuan.m4 81 rm -f ${S}/m4/libassuan.m4
82 rm -f ${S}/m4/python.m4 82 rm -f ${S}/m4/python.m4
83} 83}
84 84
85do_install_append() { 85do_install:append() {
86 oe_multilib_header gpgme.h 86 oe_multilib_header gpgme.h
87} 87}