[oe-commits] [meta-openembedded] 15/22: opensc: use pcsc-lite instead of openct by default
git at git.openembedded.org
git at git.openembedded.org
Fri Nov 22 01:26:43 UTC 2019
This is an automated email from the git hooks/post-receive script.
khem pushed a commit to branch master-next
in repository meta-openembedded.
commit ba00184446a00ec5475cc61ac8fc55d2f35272ec
Author: Jan Luebbe <jlu at pengutronix.de>
AuthorDate: Thu Nov 21 13:09:10 2019 +0100
opensc: use pcsc-lite instead of openct by default
OpenCT upstream maintenance seems to have stopped and OpenSC upstream
uses pcsc-lite by default in their configure script. Add PACKAGECONFIGs
for each and select pcsc by default.
As the openct package depends on pcsc-lite by itself, this avoids an
unnecessary package in the default case.
Signed-off-by: Jan Luebbe <jlu at pengutronix.de>
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
meta-oe/recipes-support/opensc/opensc_0.19.0.bb | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/meta-oe/recipes-support/opensc/opensc_0.19.0.bb b/meta-oe/recipes-support/opensc/opensc_0.19.0.bb
index bc1722e..440859a 100644
--- a/meta-oe/recipes-support/opensc/opensc_0.19.0.bb
+++ b/meta-oe/recipes-support/opensc/opensc_0.19.0.bb
@@ -16,20 +16,23 @@ SRCREV = "f1691fc91fc113191c3a8aaf5facd6983334ec47"
SRC_URI = "git://github.com/OpenSC/OpenSC \
file://0001-Remove-redundant-logging.patch \
"
-DEPENDS = "openct pcsc-lite virtual/libiconv openssl"
+DEPENDS = "virtual/libiconv openssl"
S = "${WORKDIR}/git"
inherit autotools pkgconfig bash-completion
EXTRA_OECONF = " \
--disable-static \
- --enable-openct \
- --disable-pcsc \
--disable-ctapi \
--disable-doc \
"
EXTRA_OEMAKE = "DESTDIR=${D}"
+PACKAGECONFIG ??= "pcsc"
+
+PACKAGECONFIG[openct] = "--enable-openct,--disable-openct,openct"
+PACKAGECONFIG[pcsc] = "--enable-pcsc,--disable-pcsc,pcsc-lite"
+
RDEPENDS_${PN} = "readline"
FILES_${PN} += "\
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list