mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 14:54:33 +04:00
libid3tag: require cmake >= 3.10 due to removed legacy support
Link: https://github.com/openwrt/packages/issues/27607
Link: 1b48ebd31c
Signed-off-by: Marcin Maj <marcinmajsc@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
20
libs/libid3tag/patches/001-cmake-version.patch
Normal file
20
libs/libid3tag/patches/001-cmake-version.patch
Normal file
@@ -0,0 +1,20 @@
|
||||
From eee94b22508a066f7b9bc1ae05d2d85982e73959 Mon Sep 17 00:00:00 2001
|
||||
From: heitbaum <heitbaum@noreply.codeberg.org>
|
||||
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)
|
||||
Reference in New Issue
Block a user