mirror of
https://github.com/Freescale/meta-freescale-distro.git
synced 2025-10-22 06:53:15 +02:00
libxdg-shell: Fix build for Whinlatter
- Replace WORKDIR with UNPACKDIR - Add patch to specify a CMake minimum version Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
This commit is contained in:
parent
18981fdd8b
commit
8001652aa3
|
@ -1,12 +1,14 @@
|
|||
SUMMARY = "Provides XDG shell header and glue code library"
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://${WORKDIR}/git/License.md;md5=9d58a2573275ce8c35d79576835dbeb8"
|
||||
LIC_FILES_CHKSUM = "file://${UNPACKDIR}/${BP}/License.md;md5=9d58a2573275ce8c35d79576835dbeb8"
|
||||
|
||||
DEPENDS = "wayland-native wayland wayland-protocols"
|
||||
|
||||
require imx-gpu-sdk-src.inc
|
||||
|
||||
S = "${WORKDIR}/git/ThirdParty/Recipe/xdg-shell"
|
||||
SRC_URI += "file://0001-xdg-shell-Add-CMake-minimum.patch"
|
||||
|
||||
S = "${UNPACKDIR}/${BP}/ThirdParty/Recipe/xdg-shell"
|
||||
|
||||
inherit cmake pkgconfig
|
||||
|
||||
|
|
|
@ -0,0 +1,38 @@
|
|||
From 6e38ee09378bfa7edc97528967f0dd0bd810f2c6 Mon Sep 17 00:00:00 2001
|
||||
From: Tom Hochstein <tom.hochstein@nxp.com>
|
||||
Date: Thu, 9 Oct 2025 08:29:44 -0500
|
||||
Subject: [PATCH] xdg-shell: Add CMake minimum
|
||||
|
||||
The build is broken:
|
||||
```
|
||||
| CMake Error in CMakeLists.txt:
|
||||
| No cmake_minimum_required command is present. A line of code such as
|
||||
|
|
||||
| cmake_minimum_required(VERSION 4.1)
|
||||
|
|
||||
| should be added at the top of the file. The version specified may be lower
|
||||
| if you wish to support older CMake versions for this project. For more
|
||||
| information run "cmake --help-policy CMP0000".
|
||||
```
|
||||
|
||||
Upstream-Status: Pending
|
||||
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
||||
---
|
||||
CMakeLists.txt | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 8d39c6c5..5cb52e32 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -1,5 +1,7 @@
|
||||
# Generate the client header and glue library from xdg-shell.xml
|
||||
|
||||
+cmake_minimum_required(VERSION 3.5)
|
||||
+
|
||||
include(FindPkgConfig)
|
||||
|
||||
if (NOT DEFINED WAYLAND_PROTOCOLS_DIR)
|
||||
--
|
||||
2.34.1
|
||||
|
Loading…
Reference in New Issue
Block a user