trustfence-stm-signtools: include external libraries in the package itself

The signing tools have a dependency of libQt5Core.so.5, which implies that this
library must to be installed on the native PC. This commit includes all the
required shared libraries for the signing tools inside the own package to avoid
external dependencies. With this change there is not needed any more the qtbase
dependency at build time.
Package version has been bumped to 1.2.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
This commit is contained in:
Arturo Buzarra 2024-03-27 10:51:35 +01:00
parent b84de064c0
commit cfd40ca02f
4 changed files with 8 additions and 13 deletions

View File

@ -1,9 +0,0 @@
# Copyright (C) 2023 Digi International.
require trustfence-stm-signtools.inc
inherit nativesdk
# STM signing tools binaries depend on libQt5Core.so.5
RDEPENDS:${PN} += " \
nativesdk-qtbase \
"

View File

@ -0,0 +1,4 @@
# Copyright (C) 2023,2024 Digi International.
require trustfence-stm-signtools.inc
inherit nativesdk

View File

@ -1,17 +1,17 @@
# Copyright (C) 2023 Digi International. # Copyright (C) 2023,2024 Digi International.
SUMMARY = "STM key generation and signing tools" SUMMARY = "STM key generation and signing tools"
SECTION = "console/tools" SECTION = "console/tools"
LICENSE = "Proprietary" LICENSE = "Proprietary"
LIC_FILES_CHKSUM = "file://en.SLA0048.txt;md5=108361d167deef887d204830aba9cf94" LIC_FILES_CHKSUM = "file://licenses/en.SLA0048.txt;md5=108361d167deef887d204830aba9cf94"
PKGNAME = "trustfence-stm-signtools" PKGNAME = "trustfence-stm-signtools"
# tarball # tarball
SRC_URI = "${DIGI_PKG_SRC}/${PKGNAME}-${PV}.tar.gz" SRC_URI = "${DIGI_PKG_SRC}/${PKGNAME}-${PV}.tar.gz"
SRC_URI[md5sum] = "38ce0cd682350b15e773e725ee842da4" SRC_URI[md5sum] = "995b612c1da7e3d9b9b402ede578f41d"
SRC_URI[sha256sum] = "cc349bdcaa764d5af25b12ee9e0c143f93dc80d531f42f8a57a735e170cd378b" SRC_URI[sha256sum] = "b3c975c12f71acda356e086c1440398ca95256e104fd4813ef6a720237f6dd72"
inherit bin_package inherit bin_package