From 7edd553fbc959e200428d4f58f7d69e336988c88 Mon Sep 17 00:00:00 2001 From: Ayoub Zaki Date: Mon, 3 Feb 2025 17:14:40 +0100 Subject: bmap-writer: Upgrade to 1.0.2 * switch to libtinyxml2 * add streaming helper Signed-off-by: Khem Raj --- .../bmap-writer/bmap-writer_1.0.2.bb | 20 ++++++++++++++++++++ .../recipes-support/bmap-writer/bmap-writer_git.bb | 22 ---------------------- 2 files changed, 20 insertions(+), 22 deletions(-) create mode 100644 meta-oe/recipes-support/bmap-writer/bmap-writer_1.0.2.bb delete mode 100644 meta-oe/recipes-support/bmap-writer/bmap-writer_git.bb diff --git a/meta-oe/recipes-support/bmap-writer/bmap-writer_1.0.2.bb b/meta-oe/recipes-support/bmap-writer/bmap-writer_1.0.2.bb new file mode 100644 index 0000000000..4f4f58def3 --- /dev/null +++ b/meta-oe/recipes-support/bmap-writer/bmap-writer_1.0.2.bb @@ -0,0 +1,20 @@ +SUMMARY = "bmaptool alternative written in C++" +DESCRIPTION = "bmap-writer is a command-line utility designed to efficiently write disk images \ +to storage devices using block mapping (BMAP). It serves as \ +a lightweight alternative to the Yocto BMAP tool, \ +bmap-writer is C++ based does not require Python and focuses solely on writing an image." +HOMEPAGE = "https://github.com/embetrix/bmap-writer" +SECTION = "console/utils" +LICENSE = "GPL-3.0-only" +LIC_FILES_CHKSUM = "file://LICENSE;md5=e49f4652534af377a713df3d9dec60cb" + +SRC_URI = "git://github.com/embetrix/${BPN};branch=master;protocol=https" +SRCREV = "7489280a7a1247f23543343aba4e95bf2f2e8fa6" +S = "${WORKDIR}/git" + +DEPENDS = "libtinyxml2 libarchive" +inherit cmake pkgconfig + +FILES:${PN} = "${bindir}" + +BBCLASSEXTEND = "native nativesdk" diff --git a/meta-oe/recipes-support/bmap-writer/bmap-writer_git.bb b/meta-oe/recipes-support/bmap-writer/bmap-writer_git.bb deleted file mode 100644 index 3e8bd67e67..0000000000 --- a/meta-oe/recipes-support/bmap-writer/bmap-writer_git.bb +++ /dev/null @@ -1,22 +0,0 @@ -SUMMARY = "bmaptool alternative written in C++" -DESCRIPTION = "bmap-writer is a command-line utility designed to efficiently write disk images \ -to storage devices using block mapping (BMAP). It serves as \ -a lightweight alternative to the Yocto BMAP tool, \ -bmap-writer is C++ based does not require Python and focuses solely on writing an image." -HOMEPAGE = "https://github.com/embetrix/bmap-writer" -SECTION = "console/utils" -LICENSE = "GPL-3.0-only" -LIC_FILES_CHKSUM = "file://LICENSE;md5=e49f4652534af377a713df3d9dec60cb" - -SRC_URI = "git://github.com/embetrix/${BPN};branch=master;protocol=https" -SRCREV = "fcc14ed4fc9083a4e7fc25045b99cb7323bae4fe" -S = "${WORKDIR}/git" - -DEPENDS = "libxml2 libarchive" -inherit cmake pkgconfig - -EXTRA_OEMAKE += 'LIBXML2_HEADER_PATH="${STAGING_INCDIR}/libxml2"' - -FILES:${PN} = "${bindir}/bmap-writer" - -BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf