The documentation states:
This is a header-only library and the supported way of deploying it is:

Download a release from <https://github.com/nemtrif/utfcpp/releases> into a temporary directory Unzip the release Copy the content of utfcpp/source file into the directory where you keep include files for your project The CMakeList.txt file was originally made for testing purposes only, but unfortunately over time I accepted contributions that added install target. /This is not a supported way of installing the utfcpp library/ and I am considering removing the CMakeList.txt in a future release.

This statement doesn't make a lot of sense to me but maybe it would be a good idea to install the files manually instead of using cmake?


On Tue, Jan 2 2024 at 01:52:14 PM +01:00:00, Markus Volk <[email protected]> wrote:
utfcpp will be a required dependency for the upcoming taglib-2.0 update.

Signed-off-by: Markus Volk <[email protected] <mailto:[email protected]>>
---
 meta/conf/distro/include/maintainers.inc     |  1 +
 meta/recipes-devtools/utfcpp/utfcpp_4.0.4.bb | 13 +++++++++++++
 2 files changed, 14 insertions(+)
 create mode 100644 meta/recipes-devtools/utfcpp/utfcpp_4.0.4.bb

diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc
index 8dc63b138e..f0a39beffd 100644
--- a/meta/conf/distro/include/maintainers.inc
+++ b/meta/conf/distro/include/maintainers.inc
@@ -824,6 +824,7 @@ RECIPE_MAINTAINER:pn-unzip = "Denys Dmytriyenko <[email protected]>" RECIPE_MAINTAINER:pn-update-rc.d = "Ross Burton <[email protected] <mailto:[email protected]>>" RECIPE_MAINTAINER:pn-usbinit = "Alexander Kanavin <[email protected] <mailto:[email protected]>>" RECIPE_MAINTAINER:pn-usbutils = "Alexander Kanavin <[email protected] <mailto:[email protected]>>" +RECIPE_MAINTAINER:pn-utfcpp = "Markus Volk <[email protected] <mailto:[email protected]>>" RECIPE_MAINTAINER:pn-util-linux = "Chen Qi <[email protected] <mailto:[email protected]>>" RECIPE_MAINTAINER:pn-util-linux-libuuid = "Chen Qi <[email protected] <mailto:[email protected]>>" RECIPE_MAINTAINER:pn-util-macros = "Unassigned <[email protected] <mailto:[email protected]>>" diff --git a/meta/recipes-devtools/utfcpp/utfcpp_4.0.4.bb b/meta/recipes-devtools/utfcpp/utfcpp_4.0.4.bb
new file mode 100644
index 0000000000..9cbea94c63
--- /dev/null
+++ b/meta/recipes-devtools/utfcpp/utfcpp_4.0.4.bb
@@ -0,0 +1,13 @@
+SUMMARY = "UTF-8 with C++ in a Portable Way."
+HOMEPAGE = "<https://github.com/nemtrif/utfcpp>"
+LICENSE = "BSL-1.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=e4224ccaecb14d942c71d31bef20d78c" <file://license;md5=e4224ccaecb14d942c71d31bef20d78c/>
+
+SRC_URI = "git://github.com/nemtrif/utfcpp.git;protocol=https;branch=master"
+
+SRCREV = "aed58281cf45838bdb7296e3109bd5a633d677ed"
+S = "${WORKDIR}/git"
+
+inherit cmake
+
+FILES:${PN}-dev += "${datadir}/utf8cpp/cmake"
--
2.43.0





-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#193232): 
https://lists.openembedded.org/g/openembedded-core/message/193232
Mute This Topic: https://lists.openembedded.org/mt/103480458/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to