diff options
| -rw-r--r-- | meta-multimedia/recipes-multimedia/clight/libmodule/0001-Update-cmake_minimum_required-to-3.5.patch | 66 | ||||
| -rw-r--r-- | meta-multimedia/recipes-multimedia/clight/libmodule_5.0.1.bb | 18 |
2 files changed, 84 insertions, 0 deletions
diff --git a/meta-multimedia/recipes-multimedia/clight/libmodule/0001-Update-cmake_minimum_required-to-3.5.patch b/meta-multimedia/recipes-multimedia/clight/libmodule/0001-Update-cmake_minimum_required-to-3.5.patch new file mode 100644 index 0000000000..5e01864643 --- /dev/null +++ b/meta-multimedia/recipes-multimedia/clight/libmodule/0001-Update-cmake_minimum_required-to-3.5.patch | |||
| @@ -0,0 +1,66 @@ | |||
| 1 | From 858aa0dcd8cba8288db3f10b1e6622ac79ae63e3 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: LI Qingwu <Qing-wu.Li@leica-geosystems.com.cn> | ||
| 3 | Date: Thu, 14 Aug 2025 14:51:55 +0800 | ||
| 4 | Subject: [PATCH] Update cmake_minimum_required to 3.5 | ||
| 5 | |||
| 6 | This supports compilation with cmake-4.0.0. | ||
| 7 | |||
| 8 | Fixes: | ||
| 9 | |||
| 10 | Update the VERSION argument <min> value. Or, use the <min>...<max> syntax | ||
| 11 | to tell CMake that the project requires at least <min> but has been updated | ||
| 12 | to work with policies introduced by <max> or earlier. | ||
| 13 | Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway. | ||
| 14 | |||
| 15 | Upstream-Status: Submitted [https://github.com/FedeDP/libmodule/pull/21] | ||
| 16 | Signed-off-by: LI Qingwu <Qing-wu.Li@leica-geosystems.com.cn> | ||
| 17 | --- | ||
| 18 | CMakeLists.txt | 2 +- | ||
| 19 | Samples/CMakeLists.txt | 2 +- | ||
| 20 | docs/CMakeLists.txt | 2 +- | ||
| 21 | tests/CMakeLists.txt | 2 +- | ||
| 22 | 4 files changed, 4 insertions(+), 4 deletions(-) | ||
| 23 | |||
| 24 | diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
| 25 | index 349c2be..a3301ba 100644 | ||
| 26 | --- a/CMakeLists.txt | ||
| 27 | +++ b/CMakeLists.txt | ||
| 28 | @@ -1,4 +1,4 @@ | ||
| 29 | -cmake_minimum_required (VERSION 3.3.2) | ||
| 30 | +cmake_minimum_required (VERSION 3.5) | ||
| 31 | |||
| 32 | project(libmodule VERSION 5.0.1 LANGUAGES C CXX) | ||
| 33 | |||
| 34 | diff --git a/Samples/CMakeLists.txt b/Samples/CMakeLists.txt | ||
| 35 | index 9b369e3..2bc32c0 100644 | ||
| 36 | --- a/Samples/CMakeLists.txt | ||
| 37 | +++ b/Samples/CMakeLists.txt | ||
| 38 | @@ -1,4 +1,4 @@ | ||
| 39 | -cmake_minimum_required(VERSION 3.0) | ||
| 40 | +cmake_minimum_required(VERSION 3.5) | ||
| 41 | |||
| 42 | file(GLOB EASY_SRC Easy/*.c) | ||
| 43 | file(GLOB MULTICTX_SRC MultiCtx/*.c) | ||
| 44 | diff --git a/docs/CMakeLists.txt b/docs/CMakeLists.txt | ||
| 45 | index b39f0e8..2e26c94 100644 | ||
| 46 | --- a/docs/CMakeLists.txt | ||
| 47 | +++ b/docs/CMakeLists.txt | ||
| 48 | @@ -1,4 +1,4 @@ | ||
| 49 | -cmake_minimum_required(VERSION 3.0) | ||
| 50 | +cmake_minimum_required(VERSION 3.5) | ||
| 51 | |||
| 52 | set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake") | ||
| 53 | |||
| 54 | diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt | ||
| 55 | index e5ffbf4..225a3a8 100644 | ||
| 56 | --- a/tests/CMakeLists.txt | ||
| 57 | +++ b/tests/CMakeLists.txt | ||
| 58 | @@ -1,4 +1,4 @@ | ||
| 59 | -cmake_minimum_required(VERSION 3.0) | ||
| 60 | +cmake_minimum_required(VERSION 3.5) | ||
| 61 | |||
| 62 | set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake") | ||
| 63 | |||
| 64 | -- | ||
| 65 | 2.43.0 | ||
| 66 | |||
diff --git a/meta-multimedia/recipes-multimedia/clight/libmodule_5.0.1.bb b/meta-multimedia/recipes-multimedia/clight/libmodule_5.0.1.bb new file mode 100644 index 0000000000..7fed48f2f7 --- /dev/null +++ b/meta-multimedia/recipes-multimedia/clight/libmodule_5.0.1.bb | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | SUMMARY = "Small and simple C actor library for modular projects" | ||
| 2 | HOMEPAGE = "https://github.com/FedeDP/libmodule" | ||
| 3 | SECTION = "libs" | ||
| 4 | |||
| 5 | LICENSE = "MIT" | ||
| 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=4f3c068505fd5a09e90662bfca90ad04" | ||
| 7 | |||
| 8 | SRCREV = "3f60063e98631ce3fd25f70428b67ef15025597f" | ||
| 9 | SRC_URI = "git://github.com/FedeDP/${BPN};protocol=https;branch=master;tag=${PV} \ | ||
| 10 | file://0001-Update-cmake_minimum_required-to-3.5.patch \ | ||
| 11 | " | ||
| 12 | |||
| 13 | inherit cmake pkgconfig | ||
| 14 | |||
| 15 | FILES:${PN} += " \ | ||
| 16 | ${libdir}/* \ | ||
| 17 | ${datadir}/* \ | ||
| 18 | " | ||
