[vlc-commits] [Git][videolan/vlc][3.0.x] 2 commits: contrib: add utfcpp library

Steve Lhomme (@robUx4) gitlab at videolan.org
Sun Aug 9 07:28:01 UTC 2026



Steve Lhomme pushed to branch 3.0.x at VideoLAN / VLC


Commits:
aa39a64e by Steve Lhomme at 2026-08-09T06:12:51+00:00
contrib: add utfcpp library

It's used by libebml and taglib.

(cherry picked from commit 5d26404d8829553aa5996ef25cc7ca4158ba6abf)
Signed-off-by: Steve Lhomme <robux4 at ycbcr.xyz>

- - - - -
51ed1ad2 by Steve Lhomme at 2026-08-09T06:12:51+00:00
contrib: ebml: depend on utfcpp contrib

So it's not downloaded via CMake, which seems to fail in flatpack.

(cherry picked from commit 8126075bf9a56e6bbad88fa5ac407411168e0921)
Signed-off-by: Steve Lhomme <robux4 at ycbcr.xyz>

- - - - -


3 changed files:

- contrib/src/ebml/rules.mak
- + contrib/src/utfcpp/SHA512SUMS
- + contrib/src/utfcpp/rules.mak


Changes:

=====================================
contrib/src/ebml/rules.mak
=====================================
@@ -7,6 +7,8 @@ ifeq ($(call need_pkg,"libebml >= 1.3.8"),)
 PKGS_FOUND += ebml
 endif
 
+DEPS_ebml := utfcpp $(DEPS_utfcpp)
+
 $(TARBALLS)/libebml-$(EBML_VERSION).tar.xz:
 	$(call download_pkg,$(EBML_URL),ebml)
 


=====================================
contrib/src/utfcpp/SHA512SUMS
=====================================
@@ -0,0 +1 @@
+1ce12c8158a2f3bcddec104ceacedaea4031b4c88fc0fa1f1fae8dfa8df81c846861df9d01e8f294d79b9e4ab8c51bd1289f404eed24d07abc760688fee13090  utfcpp-3.2.5.tar.gz


=====================================
contrib/src/utfcpp/rules.mak
=====================================
@@ -0,0 +1,26 @@
+# utfcpp
+
+UTFCPP_VERSION := 3.2.5
+UTFCPP_URL := $(GITHUB)/nemtrif/utfcpp/archive/refs/tags/v$(UTFCPP_VERSION).tar.gz
+
+ifeq ($(call need_pkg,"utfcpp"),)
+PKGS_FOUND += utfcpp
+endif
+
+$(TARBALLS)/utfcpp-$(UTFCPP_VERSION).tar.gz:
+	$(call download_pkg,$(UTFCPP_URL),utfcpp)
+
+.sum-utfcpp: utfcpp-$(UTFCPP_VERSION).tar.gz
+
+utfcpp: utfcpp-$(UTFCPP_VERSION).tar.gz .sum-utfcpp
+	$(UNPACK)
+	$(MOVE)
+
+UTFCPP_CONF := -DUTF8_TESTS=OFF -DUTF8_SAMPLES=OFF
+
+.utfcpp: utfcpp toolchain.cmake
+	$(CMAKECLEAN)
+	$(HOSTVARS_CMAKE) $(CMAKE) $(UTFCPP_CONF)
+	+$(CMAKEBUILD)
+	$(CMAKEINSTALL)
+	touch $@



View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/eb671d6fb46d81ec7bfe6bd4ef26c5b19ddee6c9...51ed1ad2f7d9e4b7a487bedd53a64914cb5094fc

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/eb671d6fb46d81ec7bfe6bd4ef26c5b19ddee6c9...51ed1ad2f7d9e4b7a487bedd53a64914cb5094fc
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help




More information about the vlc-commits mailing list