diff options
author | Patrick Wicki <patrick.wicki@siemens.com> | 2024-06-18 12:05:54 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-07-30 12:46:22 +0100 |
commit | fd8dc3a2f320f5b8335202ba9f366ed93bf53dd5 (patch) | |
tree | 6c6b909bec29d5edbd6de3e903a8eea0f6ea606f | |
parent | 0d0cf152a9b9263b1e50c678b173100d75b9696a (diff) | |
download | poky-fd8dc3a2f320f5b8335202ba9f366ed93bf53dd5.tar.gz |
gpgme: move gpgme-tool to own sub-package
The gpgme-tool binary is licensed GPL-3.0-or-later. Split it out into
its own package that can be opted out of.
(From OE-Core rev: bbcd56bace90f4a148960a7108dc8d0e6c364903)
Signed-off-by: Patrick Wicki <patrick.wicki@siemens.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-support/gpgme/gpgme_1.23.2.bb | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/meta/recipes-support/gpgme/gpgme_1.23.2.bb b/meta/recipes-support/gpgme/gpgme_1.23.2.bb index d8807b3af2..55f164e4a9 100644 --- a/meta/recipes-support/gpgme/gpgme_1.23.2.bb +++ b/meta/recipes-support/gpgme/gpgme_1.23.2.bb | |||
@@ -3,11 +3,18 @@ DESCRIPTION = "GnuPG Made Easy (GPGME) is a library designed to make access to G | |||
3 | HOMEPAGE = "http://www.gnupg.org/gpgme.html" | 3 | HOMEPAGE = "http://www.gnupg.org/gpgme.html" |
4 | BUGTRACKER = "https://bugs.g10code.com/gnupg/index" | 4 | BUGTRACKER = "https://bugs.g10code.com/gnupg/index" |
5 | 5 | ||
6 | LICENSE = "GPL-2.0-or-later & LGPL-2.1-or-later" | 6 | LICENSE = "GPL-2.0-or-later & LGPL-2.1-or-later & GPL-3.0-or-later" |
7 | LICENSE:${PN} = "GPL-2.0-or-later & LGPL-2.1-or-later" | ||
8 | LICENSE:${PN}-cpp = "GPL-2.0-or-later & LGPL-2.1-or-later" | ||
9 | LICENSE:${PN}-tool = "GPL-3.0-or-later" | ||
10 | LICENSE:python3-gpg = "GPL-2.0-or-later & LGPL-2.1-or-later" | ||
11 | |||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ | 12 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ |
8 | file://COPYING.LESSER;md5=bbb461211a33b134d42ed5ee802b37ff \ | 13 | file://COPYING.LESSER;md5=bbb461211a33b134d42ed5ee802b37ff \ |
9 | file://src/gpgme.h.in;endline=23;md5=2f0bf06d1c7dcb28532a9d0f94a7ca1d \ | 14 | file://src/gpgme.h.in;endline=23;md5=2f0bf06d1c7dcb28532a9d0f94a7ca1d \ |
10 | file://src/engine.h;endline=22;md5=4b6d8ba313d9b564cc4d4cfb1640af9d" | 15 | file://src/engine.h;endline=22;md5=4b6d8ba313d9b564cc4d4cfb1640af9d \ |
16 | file://src/gpgme-tool.c;endline=21;md5=66c5381e0e05475792e24982d15e7ce8 \ | ||
17 | " | ||
11 | 18 | ||
12 | UPSTREAM_CHECK_URI = "https://gnupg.org/download/index.html" | 19 | UPSTREAM_CHECK_URI = "https://gnupg.org/download/index.html" |
13 | SRC_URI = "${GNUPG_MIRROR}/gpgme/${BP}.tar.bz2 \ | 20 | SRC_URI = "${GNUPG_MIRROR}/gpgme/${BP}.tar.bz2 \ |
@@ -33,6 +40,8 @@ RDEPENDS:${PN}-cpp += "libstdc++" | |||
33 | 40 | ||
34 | RDEPENDS:python3-gpg += "python3-unixadmin" | 41 | RDEPENDS:python3-gpg += "python3-unixadmin" |
35 | 42 | ||
43 | RRECOMMENDS:${PN} += "${PN}-tool" | ||
44 | |||
36 | BINCONFIG = "${bindir}/gpgme-config" | 45 | BINCONFIG = "${bindir}/gpgme-config" |
37 | 46 | ||
38 | # Default in configure.ac: "cl cpp python qt" | 47 | # Default in configure.ac: "cl cpp python qt" |
@@ -61,9 +70,10 @@ export PKG_CONFIG='pkg-config' | |||
61 | 70 | ||
62 | BBCLASSEXTEND = "native nativesdk" | 71 | BBCLASSEXTEND = "native nativesdk" |
63 | 72 | ||
64 | PACKAGES =+ "${PN}-cpp python3-gpg" | 73 | PACKAGES =+ "${PN}-cpp ${PN}-tool python3-gpg" |
65 | 74 | ||
66 | FILES:${PN}-cpp = "${libdir}/libgpgmepp.so.*" | 75 | FILES:${PN}-cpp = "${libdir}/libgpgmepp.so.*" |
76 | FILES:${PN}-tool = "${bindir}/gpgme-tool" | ||
67 | FILES:python3-gpg = "${PYTHON_SITEPACKAGES_DIR}/*" | 77 | FILES:python3-gpg = "${PYTHON_SITEPACKAGES_DIR}/*" |
68 | FILES:${PN}-dev += "${datadir}/common-lisp/source/gpgme/*" | 78 | FILES:${PN}-dev += "${datadir}/common-lisp/source/gpgme/*" |
69 | 79 | ||