diff mbox series

[meta-oe] libsimplelog: A new logging library for C89-C++20

Message ID 20250415030838.9058-1-nguyenthaithuanalg@gmail.com
State Under Review
Headers show
Series [meta-oe] libsimplelog: A new logging library for C89-C++20 | expand

Commit Message

Thuận Nguyễn-Thái April 15, 2025, 3:08 a.m. UTC
- "simplelog-topic": A simple, stable, powerful of logging library.
- Desc: https://github.com/thuanalg/simplelog-topic

Signed-off-by: Thuan Nguyen Thai <nguyenthaithuanalg@gmail.com>
---
 .../libsimplelog/libsimplelog_git.bb          | 21 +++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 meta-oe/recipes-libsimplelog/libsimplelog/libsimplelog_git.bb

Comments

Khem Raj April 15, 2025, 4:16 p.m. UTC | #1
On Tue, Apr 15, 2025 at 3:08 AM Thuận Nguyễn-Thái via
lists.openembedded.org
<nguyenthaithuanalg=gmail.com@lists.openembedded.org> wrote:
>
> - "simplelog-topic": A simple, stable, powerful of logging library.
> - Desc: https://github.com/thuanalg/simplelog-topic
>
> Signed-off-by: Thuan Nguyen Thai <nguyenthaithuanalg@gmail.com>
> ---
>  .../libsimplelog/libsimplelog_git.bb          | 21 +++++++++++++++++++
>  1 file changed, 21 insertions(+)
>  create mode 100644 meta-oe/recipes-libsimplelog/libsimplelog/libsimplelog_git.bb
>
> diff --git a/meta-oe/recipes-libsimplelog/libsimplelog/libsimplelog_git.bb b/meta-oe/recipes-libsimplelog/libsimplelog/libsimplelog_git.bb
> new file mode 100644
> index 000000000..0415bf485
> --- /dev/null
> +++ b/meta-oe/recipes-libsimplelog/libsimplelog/libsimplelog_git.bb
> @@ -0,0 +1,21 @@
> +
> +SUMMARY = "simplelog-topc - Simple, STABLE, powerful of logging library in ANSI C/C++. Ready for billion records."
> +DESCRIPTION = "Async and Fast C/C++ multi-thread logger with topics. No external dependencies."
> +HOMEPAGE = "https://github.com/thuanalg/simplelog-topic"
> +LICENSE = "MIT"
> +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=22cdd382a6275cb4c2e75c517952ac7c"
> +
> +SRC_URI = "git://github.com/thuanalg/simplelog-topic.git;branch=main;protocol=https"
> +
> +# Modify these as desired
> +PV = "1.0+git"

latest release seems to be
https://github.com/thuanalg/simplelog-topic/releases/tag/v1.0.3
so either bring that via the SRCREV below or using 1..0.3+git is
perhaps better for PV

> +SRCREV = "ff30ba71807db1d7e1962dd014c2bb0a060572a3"
> +
> +S = "${WORKDIR}/git"
> +
> +inherit cmake
> +
> +# Specify any options you want to pass to cmake using EXTRA_OECMAKE:
> +EXTRA_OECMAKE += "-DUNIX_LINUX=1"
> +
> +
> --
> 2.47.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#116860): https://lists.openembedded.org/g/openembedded-devel/message/116860
> Mute This Topic: https://lists.openembedded.org/mt/112273596/1997914
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
diff mbox series

Patch

diff --git a/meta-oe/recipes-libsimplelog/libsimplelog/libsimplelog_git.bb b/meta-oe/recipes-libsimplelog/libsimplelog/libsimplelog_git.bb
new file mode 100644
index 000000000..0415bf485
--- /dev/null
+++ b/meta-oe/recipes-libsimplelog/libsimplelog/libsimplelog_git.bb
@@ -0,0 +1,21 @@ 
+
+SUMMARY = "simplelog-topc - Simple, STABLE, powerful of logging library in ANSI C/C++. Ready for billion records."
+DESCRIPTION = "Async and Fast C/C++ multi-thread logger with topics. No external dependencies."
+HOMEPAGE = "https://github.com/thuanalg/simplelog-topic"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=22cdd382a6275cb4c2e75c517952ac7c"
+
+SRC_URI = "git://github.com/thuanalg/simplelog-topic.git;branch=main;protocol=https"
+
+# Modify these as desired
+PV = "1.0+git"
+SRCREV = "ff30ba71807db1d7e1962dd014c2bb0a060572a3"
+
+S = "${WORKDIR}/git"
+
+inherit cmake
+
+# Specify any options you want to pass to cmake using EXTRA_OECMAKE:
+EXTRA_OECMAKE += "-DUNIX_LINUX=1"
+
+