libid3tag: require cmake >= 3.10 due to removed legacy support
authorMarcin Maj <[email protected]>
Fri, 7 Nov 2025 06:29:05 +0000 (07:29 +0100)
committerHannu Nyman <[email protected]>
Sat, 8 Nov 2025 16:17:17 +0000 (18:17 +0200)
Link: https://github.com/openwrt/packages/issues/27607
Link: https://github.com/openwrt/openwrt/commit/1b48ebd31c28f5b2ad3f964c25f34d33badbb979
Signed-off-by: Marcin Maj <[email protected]>
libs/libid3tag/Makefile
libs/libid3tag/patches/001-cmake-version.patch [new file with mode: 0644]

index e7d3e070b7be7f7d0bcdbab89569aff780b5f562..49b1e459051975f691daf7ef77ec3e52e233c7c3 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=libid3tag
 PKG_VERSION:=0.16.3
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL:=https://codeberg.org/tenacityteam/libid3tag.git
diff --git a/libs/libid3tag/patches/001-cmake-version.patch b/libs/libid3tag/patches/001-cmake-version.patch
new file mode 100644 (file)
index 0000000..3ab1eed
--- /dev/null
@@ -0,0 +1,20 @@
+From eee94b22508a066f7b9bc1ae05d2d85982e73959 Mon Sep 17 00:00:00 2001
+From: heitbaum <[email protected]>
+Date: Thu, 1 May 2025 05:34:30 +0000
+Subject: [PATCH] Allow build with CMake 4.0.0
+
+CMake 4.0.0 deprecates CMake syntax < 3.10. Update to using a minimum of 3.10.
+
+ref: https://cmake.org/cmake/help/latest/command/cmake_minimum_required.html
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required(VERSION 3.1.0)
++cmake_minimum_required(VERSION 3.10)
+ project(id3tag VERSION 0.16.3)
+ option(BUILD_SHARED_LIBS "Build dynamic library" ON)