summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics/wayland
diff options
context:
space:
mode:
authorMarkus Volk <f_l_k@t-online.de>2025-07-09 20:12:56 +0200
committerKhem Raj <raj.khem@gmail.com>2025-07-09 13:35:17 -0700
commit77a7925a84563a30d68a7acb022746f386b8b178 (patch)
treea68dd3e222936f8ca8850305cae5915fe6098a5e /meta-oe/recipes-graphics/wayland
parent95bec3d58ac813085b502e2b0d9eb7a13d09e827 (diff)
downloadmeta-openembedded-77a7925a84563a30d68a7acb022746f386b8b178.tar.gz
waylandpp: fix build with cmake 4
Add a backport patch that fixes build with cmake 4 Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-graphics/wayland')
-rw-r--r--meta-oe/recipes-graphics/wayland/waylandpp/4576426020932ebc481ae35c15f644af2f17e88a.patch23
-rw-r--r--meta-oe/recipes-graphics/wayland/waylandpp_1.0.0.bb7
2 files changed, 28 insertions, 2 deletions
diff --git a/meta-oe/recipes-graphics/wayland/waylandpp/4576426020932ebc481ae35c15f644af2f17e88a.patch b/meta-oe/recipes-graphics/wayland/waylandpp/4576426020932ebc481ae35c15f644af2f17e88a.patch
new file mode 100644
index 0000000000..5011f05f3d
--- /dev/null
+++ b/meta-oe/recipes-graphics/wayland/waylandpp/4576426020932ebc481ae35c15f644af2f17e88a.patch
@@ -0,0 +1,23 @@
1From 4576426020932ebc481ae35c15f644af2f17e88a Mon Sep 17 00:00:00 2001
2From: Alexey Sokolov <alexey@asokolov.org>
3Date: Sun, 4 May 2025 14:38:52 +0100
4Subject: [PATCH] Fix build with cmake 4
5
6Upstream-Status: Backport
7---
8 CMakeLists.txt | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
10
11diff --git a/CMakeLists.txt b/CMakeLists.txt
12index 866477b..8e9d2ad 100644
13--- a/CMakeLists.txt
14+++ b/CMakeLists.txt
15@@ -21,7 +21,7 @@
16 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
17 # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
18
19-cmake_minimum_required(VERSION 3.4)
20+cmake_minimum_required(VERSION 3.4...4.0)
21 project(waylandpp VERSION 1.0.0 LANGUAGES CXX)
22
23 # packages
diff --git a/meta-oe/recipes-graphics/wayland/waylandpp_1.0.0.bb b/meta-oe/recipes-graphics/wayland/waylandpp_1.0.0.bb
index bb909a313a..0e53807cc7 100644
--- a/meta-oe/recipes-graphics/wayland/waylandpp_1.0.0.bb
+++ b/meta-oe/recipes-graphics/wayland/waylandpp_1.0.0.bb
@@ -2,8 +2,11 @@ SUMMARY = " C++ binding for Wayland using the most modern C++ technology"
2LICENSE = "MIT" 2LICENSE = "MIT"
3LIC_FILES_CHKSUM = "file://LICENSE;md5=3aae28cc66d61975114c2b14df215407" 3LIC_FILES_CHKSUM = "file://LICENSE;md5=3aae28cc66d61975114c2b14df215407"
4 4
5SRC_URI = "git://github.com/NilsBrause/waylandpp.git;protocol=https;branch=master \ 5SRC_URI = " \
6 file://0001-include-missing-cstdint.patch" 6 git://github.com/NilsBrause/waylandpp.git;protocol=https;branch=master \
7 file://0001-include-missing-cstdint.patch \
8 file://4576426020932ebc481ae35c15f644af2f17e88a.patch \
9"
7 10
8DEPENDS = "pugixml" 11DEPENDS = "pugixml"
9DEPENDS:append:class-target = " waylandpp-native wayland virtual/egl virtual/libgles2" 12DEPENDS:append:class-target = " waylandpp-native wayland virtual/egl virtual/libgles2"