summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2026-01-06 16:20:47 +0100
committerMax Krummenacher <max.krummenacher@toradex.com>2026-01-07 10:09:01 +0100
commit48dfc5f5f33ca45ebb313cf821c988885656ad12 (patch)
tree13053166618e89513700e0baf20e5c15e34e7cb1
parent2dfa4420b4541a9ebd9b0f8db31512ed04ca188f (diff)
downloadmeta-freescale-48dfc5f5f33ca45ebb313cf821c988885656ad12.tar.gz
wayland-protocols: use upstream repo with NXP downstream patches
OE-core update wayland-utils to 1.3.0 which now requires wayland-protocols version >= 1.44. As the imx-nxp-bsp forked wayland protocols and does not provide a version later than 1.41 the build fails in do_configure of wayland-utils. Drop the wayland-protocol recipe of the downstream fork, extract the 3 relevant patches on top of upstream v1.41 and apply them in a bbappend on top of whatever OE-core provides for wayland-protocols. (6 downstream patches not relevant for the build are dropped) | ../sources/wayland-utils-1.3.0/wayland-info/meson.build:4:9: | ERROR: Dependency lookup for wayland-protocols with method 'pkgconfig' failed: | Invalid version, need 'wayland-protocols' ['>= 1.44'] found '1.41'. The `inherit allarch` from OE-core can not easily be overridden. I.e. just setting `PACKAGE_ARCH:imx-nxp-bsp = "${MACHINE_SOCARCH}"` was ignored and the packages were still allarch without the workaround. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> wayland-protocol: drop patches 0004-0009
-rw-r--r--conf/machine/include/imx-base.inc2
-rw-r--r--recipes-graphics/wayland/wayland-protocols/0001-unstable-Add-alpha-compositing-protocol.patch199
-rw-r--r--recipes-graphics/wayland/wayland-protocols/0002-unstable-Add-hdr10-metadata-protocol.patch135
-rw-r--r--recipes-graphics/wayland/wayland-protocols/0003-linux-dmabuf-support-passing-buffer-DTRC-meta-to-com.patch53
-rw-r--r--recipes-graphics/wayland/wayland-protocols_%.bbappend16
-rw-r--r--recipes-graphics/wayland/wayland-protocols_1.41.imx.bb31
6 files changed, 403 insertions, 33 deletions
diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc
index 4e0b2f927..df3773d2e 100644
--- a/conf/machine/include/imx-base.inc
+++ b/conf/machine/include/imx-base.inc
@@ -588,8 +588,6 @@ PREFERRED_VERSION_weston:mx6-nxp-bsp ??= "10.0.5.imx"
588PREFERRED_VERSION_weston:mx7-nxp-bsp ??= "10.0.5.imx" 588PREFERRED_VERSION_weston:mx7-nxp-bsp ??= "10.0.5.imx"
589PREFERRED_VERSION_weston:imx-mainline-bsp = "" 589PREFERRED_VERSION_weston:imx-mainline-bsp = ""
590 590
591PREFERRED_VERSION_wayland-protocols:imx-nxp-bsp ??= "1.41.imx"
592
593PREFERRED_VERSION_xwayland:imx-nxp-bsp ??= "24.1.6.imx" 591PREFERRED_VERSION_xwayland:imx-nxp-bsp ??= "24.1.6.imx"
594 592
595# Use i.MX libdrm Version 593# Use i.MX libdrm Version
diff --git a/recipes-graphics/wayland/wayland-protocols/0001-unstable-Add-alpha-compositing-protocol.patch b/recipes-graphics/wayland/wayland-protocols/0001-unstable-Add-alpha-compositing-protocol.patch
new file mode 100644
index 000000000..ed649e231
--- /dev/null
+++ b/recipes-graphics/wayland/wayland-protocols/0001-unstable-Add-alpha-compositing-protocol.patch
@@ -0,0 +1,199 @@
1From 50e14f75e9f42e7574a7f094d2e357124db9a588 Mon Sep 17 00:00:00 2001
2From: Haihua Hu <jared.hu@nxp.com>
3Date: Thu, 14 Jun 2018 13:54:08 +0800
4Subject: [PATCH 1/9] unstable: Add alpha-compositing protocol
5
6It's based on the Chromium Wayland protocol of the same name ([1])
7and Alexandros's modified version ([2])with a few changes
8made to the blending_equation enumeration.
9
10Add one more blending_equation "src_alpha / src_alpha"
11
12[1] https://chromium.googlesource.com/chromium/src/+/master/third_party/wayland-protocols/unstable/alpha-compositing/alpha-compositing-unstable-v1.xml
13[2] https://lists.freedesktop.org/archives/wayland-devel/2017-August/034741.html
14
15Upstream-Status: Pending
16Signed-off-by: Haihua Hu <jared.hu@nxp.com>
17
18Conflicts:
19 Makefile.am
20(cherry picked from commit ac5837440d587c88e7979b034ef54893dc45633f)
21(cherry picked from commit a521913cedf5d5f84a162c08768c52bfb841dc23)
22---
23 meson.build | 1 +
24 unstable/alpha-compositing/README | 6 +
25 .../alpha-compositing-unstable-v1.xml | 136 ++++++++++++++++++
26 3 files changed, 143 insertions(+)
27 create mode 100644 unstable/alpha-compositing/README
28 create mode 100644 unstable/alpha-compositing/alpha-compositing-unstable-v1.xml
29
30diff --git a/meson.build b/meson.build
31index a78d698a730b..99a555d53a09 100644
32--- a/meson.build
33+++ b/meson.build
34@@ -42,6 +42,7 @@ unstable_protocols = {
35 'xdg-output': ['v1'],
36 'xdg-shell': ['v5', 'v6'],
37 'xwayland-keyboard-grab': ['v1'],
38+ 'alpha-compositing': ['v1'],
39 }
40
41 staging_protocols = {
42diff --git a/unstable/alpha-compositing/README b/unstable/alpha-compositing/README
43new file mode 100644
44index 000000000000..d87415682961
45--- /dev/null
46+++ b/unstable/alpha-compositing/README
47@@ -0,0 +1,6 @@
48+Alpha compositing protocol
49+
50+Maintainers:
51+David Reveman <reveman at chromium.org>
52+Alexandros Frantzis <alexandros.frantzis at collabora.com>
53+Jared Hu <Jared Hu at nxp.com>
54diff --git a/unstable/alpha-compositing/alpha-compositing-unstable-v1.xml b/unstable/alpha-compositing/alpha-compositing-unstable-v1.xml
55new file mode 100644
56index 000000000000..0844b3fd4ecf
57--- /dev/null
58+++ b/unstable/alpha-compositing/alpha-compositing-unstable-v1.xml
59@@ -0,0 +1,136 @@
60+<?xml version="1.0" encoding="UTF-8"?>
61+<protocol name="alpha_compositing_unstable_v1">
62+
63+ <copyright>
64+ Copyright 2016 The Chromium Authors.
65+ Copyright 2017 Collabora Ltd
66+ Copyright 2018 NXP
67+
68+ Permission is hereby granted, free of charge, to any person obtaining a
69+ copy of this software and associated documentation files (the "Software"),
70+ to deal in the Software without restriction, including without limitation
71+ the rights to use, copy, modify, merge, publish, distribute, sublicense,
72+ and/or sell copies of the Software, and to permit persons to whom the
73+ Software is furnished to do so, subject to the following conditions:
74+
75+ The above copyright notice and this permission notice (including the next
76+ paragraph) shall be included in all copies or substantial portions of the
77+ Software.
78+
79+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
80+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
81+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
82+ THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
83+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
84+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
85+ DEALINGS IN THE SOFTWARE.
86+ </copyright>
87+
88+ <description summary="Protocol for more advanced compositing and blending">
89+ This protocol specifies a set of interfaces used to control the alpha
90+ compositing and blending of surface contents.
91+
92+ Warning! The protocol described in this file is experimental and backward
93+ incompatible changes may be made. Backward compatible changes may be added
94+ together with the corresponding interface version bump. Backward
95+ incompatible changes are done by bumping the version number in the protocol
96+ and interface names and resetting the interface version. Once the protocol
97+ is to be declared stable, the 'z' prefix and the version number in the
98+ protocol and interface names are removed and the interface version number is
99+ reset.
100+ </description>
101+
102+ <interface name="zwp_alpha_compositing_v1" version="1">
103+ <description summary="alpha_compositing">
104+ The global interface exposing compositing and blending capabilities is
105+ used to instantiate an interface extension for a wl_surface object.
106+ This extended interface will then allow the client to specify the
107+ blending equation and alpha value used for compositing the wl_surface.
108+ </description>
109+
110+ <request name="destroy" type="destructor">
111+ <description summary="unbind from the blending interface">
112+ Informs the server that the client will not be using this
113+ protocol object anymore. This does not affect any other objects,
114+ blending objects included.
115+ </description>
116+ </request>
117+
118+ <enum name="error">
119+ <entry name="blending_exists" value="0"
120+ summary="the surface already has a blending object associated"/>
121+ </enum>
122+
123+ <request name="get_blending">
124+ <description summary="extend surface interface for blending">
125+ Instantiate an interface extension for the given wl_surface to
126+ provide surface blending. If the given wl_surface already has
127+ a blending object associated, the blending_exists protocol error
128+ is raised.
129+ </description>
130+
131+ <arg name="id" type="new_id" interface="zwp_blending_v1"
132+ summary="the new blending interface id"/>
133+ <arg name="surface" type="object" interface="wl_surface"
134+ summary="the surface"/>
135+ </request>
136+ </interface>
137+
138+ <interface name="zwp_blending_v1" version="1">
139+ <description summary="blending interface to a wl_surface">
140+ An additional interface to a wl_surface object, which allows the
141+ client to specify the blending equation used for compositing and
142+ an alpha value applied to the whole surface.
143+
144+ When the blending object is created its blending equation is
145+ 'none' and its alpha is 1.0, i.e., it's inactive by default. Clients
146+ can activate it by setting the blending equation and alpha value.
147+
148+ If the wl_surface associated with the blending object is destroyed,
149+ the blending object becomes inert.
150+
151+ If the blending object is destroyed, the blending state is removed
152+ from the wl_surface. The change will be applied on the next
153+ wl_surface.commit.
154+ </description>
155+
156+ <request name="destroy" type="destructor">
157+ <description summary="remove blending from the surface">
158+ The associated wl_surface's blending state is removed.
159+ The change is applied on the next wl_surface.commit.
160+ </description>
161+ </request>
162+
163+ <enum name="blending_equation">
164+ <description summary="different blending equations for compositing">
165+ Blending equations that can be used when compositing a surface.
166+ </description>
167+ <entry name="none" value="0" summary="blending object is inactive"/>
168+ <entry name="opaque" value="1" summary="(one, zero)"/>
169+ <entry name="premultiplied" value="2" summary="(one, one_minus_src_alpha)"/>
170+ <entry name="straight" value="3" summary="(src_alpha, one_minus_src_alpha)" />
171+ <entry name="fromsource" value="4" summary="(src_alpha, src_alpha)" />
172+ </enum>
173+
174+ <request name="set_blending">
175+ <description summary="set the blending equation">
176+ Set the blending equation for compositing the wl_surface.
177+
178+ The blending equation state is double-buffered state,
179+ and will be applied on the next wl_surface.commit.
180+ </description>
181+ <arg name="equation" type="uint" summary="the new blending equation"/>
182+ </request>
183+
184+ <request name="set_alpha">
185+ <description summary="set the alpha value">
186+ Set the alpha value applied to the whole surface for compositing.
187+
188+ The alpha value state is double-buffered state,
189+ and will be applied on the next wl_surface.commit.
190+ </description>
191+ <arg name="value" type="fixed" summary="the new alpha value"/>
192+ </request>
193+ </interface>
194+
195+</protocol>
196\ No newline at end of file
197--
1982.42.0
199
diff --git a/recipes-graphics/wayland/wayland-protocols/0002-unstable-Add-hdr10-metadata-protocol.patch b/recipes-graphics/wayland/wayland-protocols/0002-unstable-Add-hdr10-metadata-protocol.patch
new file mode 100644
index 000000000..7711fed60
--- /dev/null
+++ b/recipes-graphics/wayland/wayland-protocols/0002-unstable-Add-hdr10-metadata-protocol.patch
@@ -0,0 +1,135 @@
1From b514647ccdd4e833b2d8fbba1a39547b80657987 Mon Sep 17 00:00:00 2001
2From: Haihua Hu <jared.hu@nxp.com>
3Date: Tue, 26 Jun 2018 15:30:18 +0800
4Subject: [PATCH 2/9] unstable: Add hdr10-metadata protocol
5
6this protocol is used to support hdr10 video playback.
7HDR10 metadata is passed to compositor via this interface
8
9Upstream-Status: Pending
10Signed-off-by: Haihua Hu <jared.hu@nxp.com>
11(cherry picked from commit 87ea413b40701fbb3d333264a1de3b168276bbcf)
12(cherry picked from commit 878f46b324fcefe5193d66c025c4c67bff09c253)
13---
14 meson.build | 1 +
15 unstable/hdr10-metadata/README | 4 +
16 .../hdr10-metadata-unstable-v1.xml | 84 +++++++++++++++++++
17 3 files changed, 89 insertions(+)
18 create mode 100644 unstable/hdr10-metadata/README
19 create mode 100644 unstable/hdr10-metadata/hdr10-metadata-unstable-v1.xml
20
21diff --git a/meson.build b/meson.build
22index 99a555d53a09..70b594d3b89c 100644
23--- a/meson.build
24+++ b/meson.build
25@@ -43,6 +43,7 @@ unstable_protocols = {
26 'xdg-shell': ['v5', 'v6'],
27 'xwayland-keyboard-grab': ['v1'],
28 'alpha-compositing': ['v1'],
29+ 'hdr10-metadata': ['v1'],
30 }
31
32 staging_protocols = {
33diff --git a/unstable/hdr10-metadata/README b/unstable/hdr10-metadata/README
34new file mode 100644
35index 000000000000..58a82f802d12
36--- /dev/null
37+++ b/unstable/hdr10-metadata/README
38@@ -0,0 +1,4 @@
39+hdr10 metadata protocol
40+
41+Maintainers:
42+Jared Hu <Jared Hu at nxp.com>
43diff --git a/unstable/hdr10-metadata/hdr10-metadata-unstable-v1.xml b/unstable/hdr10-metadata/hdr10-metadata-unstable-v1.xml
44new file mode 100644
45index 000000000000..5b1bac4aa29f
46--- /dev/null
47+++ b/unstable/hdr10-metadata/hdr10-metadata-unstable-v1.xml
48@@ -0,0 +1,84 @@
49+<?xml version="1.0" encoding="UTF-8"?>
50+<protocol name="hdr10_metadata_unstable_v1">
51+
52+ <copyright>
53+ Copyright 2018 NXP
54+
55+ Permission is hereby granted, free of charge, to any person obtaining a
56+ copy of this software and associated documentation files (the "Software"),
57+ to deal in the Software without restriction, including without limitation
58+ the rights to use, copy, modify, merge, publish, distribute, sublicense,
59+ and/or sell copies of the Software, and to permit persons to whom the
60+ Software is furnished to do so, subject to the following conditions:
61+
62+ The above copyright notice and this permission notice (including the next
63+ paragraph) shall be included in all copies or substantial portions of the
64+ Software.
65+
66+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
67+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
68+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
69+ THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
70+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
71+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
72+ DEALINGS IN THE SOFTWARE.
73+ </copyright>
74+
75+ <description summary="Protocol for sending hdr10 metadata to compositor">
76+ This protocol specifies a set of interfaces used to set and control
77+ hdr10 metadata of video contents.
78+
79+ Warning! The protocol described in this file is experimental and backward
80+ incompatible changes may be made. Backward compatible changes may be added
81+ together with the corresponding interface version bump. Backward
82+ incompatible changes are done by bumping the version number in the protocol
83+ and interface names and resetting the interface version. Once the protocol
84+ is to be declared stable, the 'z' prefix and the version number in the
85+ protocol and interface names are removed and the interface version number is
86+ reset.
87+ </description>
88+
89+ <interface name="zwp_hdr10_metadata_v1" version="1">
90+ <description summary="hdr10_metadata">
91+ The global interface exposing hdr10 metadata capabilities is
92+ used to instantiate an interface extension for compositor.
93+ This extended interface will then allow the client to pass hdr10 metadata
94+ to compositor and send to display driver if supported.
95+ </description>
96+
97+ <request name="destroy" type="destructor">
98+ <description summary="unbind from the hdr10 metadata interface">
99+ Informs the server that the client will not be using this
100+ protocol object anymore. This does not affect any other objects.
101+ </description>
102+ </request>
103+
104+ <enum name="error">
105+ <entry name="sending_meta_error" value="0"
106+ summary="error occurs when compositor handle metadata"/>
107+ </enum>
108+
109+ <request name="set_metadata">
110+ <description summary="interface of setting and controling hdr10 metadata">
111+ client can use this interface pass hdr10 metadata to server. Server need
112+ use the recived metadata to enable hdr mode.
113+ </description>
114+
115+ <arg name="eotf" type="uint" summary="supported eotf"/>
116+ <arg name="type" type="uint" summary="supported type"/>
117+ <arg name="display_primaries_red" type="uint"
118+ summary="display primaries of red, high 16bits for x, and low 16bits for y"/>
119+ <arg name="display_primaries_green" type="uint"
120+ summary="display primaries of green, high 16bits for x, and low 16bits for y"/>
121+ <arg name="display_primaries_blue" type="uint"
122+ summary="display primaries of blue, high 16bits for x, and low 16bits for y"/>
123+ <arg name="white_point" type="uint"
124+ summary="white point, high 16bits for x, and low 16bits for blue"/>
125+ <arg name="mastering_display_luminance" type="uint"
126+ summary="max and min mastering display luminance, high 16 bits for max, and low 16 bits for min"/>
127+ <arg name="max_cll" type="uint" summary="max content light level"/>
128+ <arg name="max_fall" type="uint" summary="max frame average light level"/>
129+ </request>
130+ </interface>
131+
132+</protocol>
133--
1342.42.0
135
diff --git a/recipes-graphics/wayland/wayland-protocols/0003-linux-dmabuf-support-passing-buffer-DTRC-meta-to-com.patch b/recipes-graphics/wayland/wayland-protocols/0003-linux-dmabuf-support-passing-buffer-DTRC-meta-to-com.patch
new file mode 100644
index 000000000..ab0838f64
--- /dev/null
+++ b/recipes-graphics/wayland/wayland-protocols/0003-linux-dmabuf-support-passing-buffer-DTRC-meta-to-com.patch
@@ -0,0 +1,53 @@
1From fd0b31e5f7d1785464cc4b83371efc6222437725 Mon Sep 17 00:00:00 2001
2From: Haihua Hu <jared.hu@nxp.com>
3Date: Wed, 5 Sep 2018 13:00:47 +0800
4Subject: [PATCH 3/9] linux-dmabuf: support passing buffer DTRC meta to
5 compositor
6
7DTRC meta is untilized to pass offset to DTRC in drm dcss driver
8to enable video tile compress
9
10Upstream-Status: Pending
11Signed-off-by: Haihua Hu <jared.hu@nxp.com>
12(cherry picked from commit 0f71ffe59cf4c3f050ff79ea18f96345fcf0061e)
13(cherry picked from commit bc76403e005be9162a09fe5bd3bdcd6b00cba7eb)
14---
15 .../linux-dmabuf/linux-dmabuf-unstable-v1.xml | 22 +++++++++++++++++++
16 1 file changed, 22 insertions(+)
17
18diff --git a/unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml b/unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml
19index 6f11e925b68e..48d7ea003835 100644
20--- a/unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml
21+++ b/unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml
22@@ -398,6 +398,28 @@
23 <arg name="format" type="uint" summary="DRM_FORMAT code"/>
24 <arg name="flags" type="uint" enum="flags" summary="see enum flags"/>
25 </request>
26+
27+ <request name="add_dtrc_meta">
28+ <description summary="add dtrc meta in this dmabuf">
29+ This request adds one dmabuf to the set in this
30+ zwp_linux_buffer_params_v1.
31+
32+ The 64-bit unsigned value combined from modifier_hi and modifier_lo
33+ is the dmabuf layout modifier. DRM AddFB2 ioctl calls this the
34+ fb modifier, which is defined in drm_mode.h of Linux UAPI.
35+ This is an opaque token. Drivers use this token to express tiling,
36+ compression, etc. driver-specific modifications to the base format
37+ defined by the DRM fourcc code.
38+
39+ This request raises the PLANE_IDX error if plane_idx is too large.
40+ The error PLANE_SET is raised if attempting to set a plane that
41+ was already set.
42+ </description>
43+ <arg name="rfc_chroma_offset" type="uint"
44+ summary="high 32 bits of DTRC offset"/>
45+ <arg name="rfc_luma_offset" type="uint"
46+ summary="low 32 bits of DTRC offset"/>
47+ </request>
48 </interface>
49
50 <interface name="zwp_linux_dmabuf_feedback_v1" version="5">
51--
522.42.0
53
diff --git a/recipes-graphics/wayland/wayland-protocols_%.bbappend b/recipes-graphics/wayland/wayland-protocols_%.bbappend
new file mode 100644
index 000000000..c82b46568
--- /dev/null
+++ b/recipes-graphics/wayland/wayland-protocols_%.bbappend
@@ -0,0 +1,16 @@
1FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}:"
2
3NXP_PATCHES = " \
4 file://0001-unstable-Add-alpha-compositing-protocol.patch \
5 file://0002-unstable-Add-hdr10-metadata-protocol.patch \
6 file://0003-linux-dmabuf-support-passing-buffer-DTRC-meta-to-com.patch \
7"
8
9SRC_URI:append:imx-nxp-bsp = " ${NXP_PATCHES}"
10
11# override the effect of "inherit allarch"
12python allarch_package_arch_handler:prepend:imx-nxp-bsp () {
13 return
14}
15
16PACKAGE_ARCH:imx-nxp-bsp = "${MACHINE_SOCARCH}"
diff --git a/recipes-graphics/wayland/wayland-protocols_1.41.imx.bb b/recipes-graphics/wayland/wayland-protocols_1.41.imx.bb
deleted file mode 100644
index 3350a4795..000000000
--- a/recipes-graphics/wayland/wayland-protocols_1.41.imx.bb
+++ /dev/null
@@ -1,31 +0,0 @@
1SUMMARY = "Collection of additional Wayland protocols"
2DESCRIPTION = "Wayland protocols that add functionality not \
3available in the Wayland core protocol. Such protocols either add \
4completely new functionality, or extend the functionality of some other \
5protocol either in Wayland core, or some other protocol in \
6wayland-protocols."
7HOMEPAGE = "http://wayland.freedesktop.org"
8LICENSE = "MIT"
9LIC_FILES_CHKSUM = "file://LICENSE;md5=c7b12b6702da38ca028ace54aae3d484 \
10 file://stable/presentation-time/presentation-time.xml;endline=26;md5=4646cd7d9edc9fa55db941f2d3a7dc53"
11
12SRC_URI = "${WAYLAND_PROTOCOLS_SRC};branch=${SRCBRANCH}"
13WAYLAND_PROTOCOLS_SRC ?= "git://github.com/nxp-imx/wayland-protocols-imx.git;protocol=https"
14SRCBRANCH = "wayland-protocols-imx-1.41"
15SRCREV = "7213a4e09837c77112bce2d241491600e00dd095"
16
17UPSTREAM_CHECK_URI = "https://gitlab.freedesktop.org/wayland/wayland-protocols/-/tags"
18UPSTREAM_CHECK_REGEX = "releases/(?P<pver>.+)"
19
20DEPENDS += "wayland-native"
21
22# NOTE: For i.MX drop allarch since the recipe is SOCARCH
23#inherit meson pkgconfig allarch
24inherit meson pkgconfig
25
26EXTRA_OEMESON += "-Dtests=false"
27
28BBCLASSEXTEND = "native nativesdk"
29
30PACKAGE_ARCH = "${MACHINE_SOCARCH}"
31COMPATIBLE_MACHINE = "(mx6-nxp-bsp|mx7-nxp-bsp|mx8-nxp-bsp|mx9-nxp-bsp)"