diff options
| author | Sathishkumar Duraisamy <sathishkumar.d.cbe@gmail.com> | 2025-05-16 10:24:43 +0530 |
|---|---|---|
| committer | Sathishkumar Duraisamy <sathishkumar.d.cbe@gmail.com> | 2025-05-17 11:25:45 +0530 |
| commit | 6bf60e1c07b37959d3d9cde311e8c7bdb8679663 (patch) | |
| tree | 5f519ade5d0de0f0a87bcb42c30b37e9b26d830c | |
| parent | 11d825bf85835b4e6a2465eea8ed85299165baf0 (diff) | |
| download | meta-freescale-6bf60e1c07b37959d3d9cde311e8c7bdb8679663.tar.gz | |
weston: Updated to version 14.0.1 based on LF6.12.3_1.1.0
Signed-off-by: Sathishkumar Duraisamy <sathishkumar.d.cbe@gmail.com>
| -rw-r--r-- | recipes-graphics/wayland/weston_14.0.1.imx.bb (renamed from recipes-graphics/wayland/weston_12.0.4.imx.bb) | 34 |
1 files changed, 16 insertions, 18 deletions
diff --git a/recipes-graphics/wayland/weston_12.0.4.imx.bb b/recipes-graphics/wayland/weston_14.0.1.imx.bb index c988561eb..f66974700 100644 --- a/recipes-graphics/wayland/weston_12.0.4.imx.bb +++ b/recipes-graphics/wayland/weston_14.0.1.imx.bb | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | # recipe. The second section customizes the recipe for i.MX. | 3 | # recipe. The second section customizes the recipe for i.MX. |
| 4 | 4 | ||
| 5 | ########### OE-core copy ################## | 5 | ########### OE-core copy ################## |
| 6 | # Upstream hash: 92a460b55e7290ec0006365219189761f7226f7c | 6 | # Upstream hash: 23271a1f908a223b4eb56d6034cbb1ac23da14fe |
| 7 | 7 | ||
| 8 | SUMMARY = "Weston, a Wayland compositor" | 8 | SUMMARY = "Weston, a Wayland compositor" |
| 9 | DESCRIPTION = "Weston is the reference implementation of a Wayland compositor" | 9 | DESCRIPTION = "Weston is the reference implementation of a Wayland compositor" |
| @@ -14,17 +14,17 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d79ee9e66bb0f95d3386a7acae780b70 \ | |||
| 14 | " | 14 | " |
| 15 | 15 | ||
| 16 | SRC_URI = "https://gitlab.freedesktop.org/wayland/weston/-/releases/${PV}/downloads/${BPN}-${PV}.tar.xz \ | 16 | SRC_URI = "https://gitlab.freedesktop.org/wayland/weston/-/releases/${PV}/downloads/${BPN}-${PV}.tar.xz \ |
| 17 | file://0001-libweston-tools-Include-libgen.h-for-basename-signat.patch \ | ||
| 17 | file://weston.png \ | 18 | file://weston.png \ |
| 18 | file://weston.desktop \ | 19 | file://weston.desktop \ |
| 19 | file://xwayland.weston-start \ | 20 | file://xwayland.weston-start \ |
| 20 | file://systemd-notify.weston-start \ | 21 | file://systemd-notify.weston-start \ |
| 21 | file://0001-libweston-tools-Include-libgen.h-for-basename-signat.patch \ | ||
| 22 | " | 22 | " |
| 23 | 23 | ||
| 24 | SRC_URI[sha256sum] = "eb686a7cf00992a23b17f192fca9a887313e92c346ee35d8575196983d656b4a" | 24 | SRC_URI[sha256sum] = "27f68d96e3b97d98daadef13a202356524924fa381418fa6716b9136ef099093" |
| 25 | 25 | ||
| 26 | UPSTREAM_CHECK_URI = "https://wayland.freedesktop.org/releases.html" | 26 | UPSTREAM_CHECK_URI = "https://gitlab.freedesktop.org/wayland/weston/-/tags" |
| 27 | UPSTREAM_CHECK_REGEX = "weston-(?P<pver>\d+\.\d+\.(?!9\d+)\d+)" | 27 | UPSTREAM_CHECK_REGEX = "releases/(?P<pver>\d+\.\d+\.(?!9\d+)\d+)" |
| 28 | 28 | ||
| 29 | inherit meson pkgconfig useradd | 29 | inherit meson pkgconfig useradd |
| 30 | 30 | ||
| @@ -45,7 +45,6 @@ PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'kms wayla | |||
| 45 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11 wayland', 'xwayland', '', d)} \ | 45 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11 wayland', 'xwayland', '', d)} \ |
| 46 | ${@bb.utils.filter('DISTRO_FEATURES', 'systemd x11', d)} \ | 46 | ${@bb.utils.filter('DISTRO_FEATURES', 'systemd x11', d)} \ |
| 47 | ${@bb.utils.contains_any('DISTRO_FEATURES', 'wayland x11', '', 'headless', d)} \ | 47 | ${@bb.utils.contains_any('DISTRO_FEATURES', 'wayland x11', '', 'headless', d)} \ |
| 48 | launcher-libseat \ | ||
| 49 | image-jpeg \ | 48 | image-jpeg \ |
| 50 | screenshare \ | 49 | screenshare \ |
| 51 | shell-desktop \ | 50 | shell-desktop \ |
| @@ -61,7 +60,7 @@ SIMPLECLIENTS ?= "all" | |||
| 61 | # Compositor choices | 60 | # Compositor choices |
| 62 | # | 61 | # |
| 63 | # Weston on KMS | 62 | # Weston on KMS |
| 64 | PACKAGECONFIG[kms] = "-Dbackend-drm=true,-Dbackend-drm=false,drm udev virtual/egl virtual/libgles2 virtual/libgbm mtdev" | 63 | PACKAGECONFIG[kms] = "-Dbackend-drm=true,-Dbackend-drm=false,drm udev seatd virtual/egl virtual/libgles2 virtual/libgbm mtdev" |
| 65 | # Weston on Wayland (nested Weston) | 64 | # Weston on Wayland (nested Weston) |
| 66 | PACKAGECONFIG[wayland] = "-Dbackend-wayland=true,-Dbackend-wayland=false,virtual/egl virtual/libgles2" | 65 | PACKAGECONFIG[wayland] = "-Dbackend-wayland=true,-Dbackend-wayland=false,virtual/egl virtual/libgles2" |
| 67 | # Weston on X11 | 66 | # Weston on X11 |
| @@ -69,7 +68,7 @@ PACKAGECONFIG[x11] = "-Dbackend-x11=true,-Dbackend-x11=false,virtual/libx11 libx | |||
| 69 | # Headless Weston | 68 | # Headless Weston |
| 70 | PACKAGECONFIG[headless] = "-Dbackend-headless=true,-Dbackend-headless=false" | 69 | PACKAGECONFIG[headless] = "-Dbackend-headless=true,-Dbackend-headless=false" |
| 71 | # Weston on RDP | 70 | # Weston on RDP |
| 72 | PACKAGECONFIG[rdp] = "-Dbackend-rdp=true,-Dbackend-rdp=false,freerdp" | 71 | PACKAGECONFIG[rdp] = "-Dbackend-rdp=true,-Dbackend-rdp=false,freerdp,freerdp" |
| 73 | # VA-API desktop recorder | 72 | # VA-API desktop recorder |
| 74 | PACKAGECONFIG[vaapi] = "-Dbackend-drm-screencast-vaapi=true,-Dbackend-drm-screencast-vaapi=false,libva" | 73 | PACKAGECONFIG[vaapi] = "-Dbackend-drm-screencast-vaapi=true,-Dbackend-drm-screencast-vaapi=false,libva" |
| 75 | # Weston with EGL support | 74 | # Weston with EGL support |
| @@ -100,10 +99,6 @@ PACKAGECONFIG[shell-ivi] = "-Dshell-ivi=true,-Dshell-ivi=false" | |||
| 100 | PACKAGECONFIG[shell-kiosk] = "-Dshell-kiosk=true,-Dshell-kiosk=false" | 99 | PACKAGECONFIG[shell-kiosk] = "-Dshell-kiosk=true,-Dshell-kiosk=false" |
| 101 | # JPEG image loading support | 100 | # JPEG image loading support |
| 102 | PACKAGECONFIG[image-jpeg] = "-Dimage-jpeg=true,-Dimage-jpeg=false, jpeg" | 101 | PACKAGECONFIG[image-jpeg] = "-Dimage-jpeg=true,-Dimage-jpeg=false, jpeg" |
| 103 | # support libseat based launch | ||
| 104 | PACKAGECONFIG[launcher-libseat] = "-Dlauncher-libseat=true,-Dlauncher-libseat=false,seatd" | ||
| 105 | # deprecated and superseded by libseat launcher | ||
| 106 | PACKAGECONFIG[launcher-logind] = "-Ddeprecated-launcher-logind=true,-Ddeprecated-launcher-logind=false," | ||
| 107 | # screencasting via PipeWire | 102 | # screencasting via PipeWire |
| 108 | PACKAGECONFIG[pipewire] = "-Dbackend-pipewire=true,-Dbackend-pipewire=false,pipewire" | 103 | PACKAGECONFIG[pipewire] = "-Dbackend-pipewire=true,-Dbackend-pipewire=false,pipewire" |
| 109 | # VNC remote screensharing | 104 | # VNC remote screensharing |
| @@ -167,14 +162,17 @@ LIC_FILES_CHKSUM += "file://LICENSE;md5=d79ee9e66bb0f95d3386a7acae780b70" | |||
| 167 | 162 | ||
| 168 | DEFAULT_PREFERENCE = "-1" | 163 | DEFAULT_PREFERENCE = "-1" |
| 169 | 164 | ||
| 165 | DEPENDS:append = " libdisplay-info" | ||
| 166 | |||
| 170 | SRC_URI:remove = "https://gitlab.freedesktop.org/wayland/weston/-/releases/${PV}/downloads/${BPN}-${PV}.tar.xz" | 167 | SRC_URI:remove = "https://gitlab.freedesktop.org/wayland/weston/-/releases/${PV}/downloads/${BPN}-${PV}.tar.xz" |
| 171 | SRC_URI:prepend = "${WESTON_SRC};branch=${SRCBRANCH} " | 168 | SRC_URI:prepend = "${WESTON_SRC};branch=${SRCBRANCH} " |
| 172 | WESTON_SRC ?= "git://github.com/nxp-imx/weston-imx.git;protocol=https" | 169 | WESTON_SRC ?= "git://github.com/nxp-imx/weston-imx.git;protocol=https" |
| 173 | SRC_URI += "file://0001-Revert-protocol-no-found-wayland-scanner-with-Yocto-.patch" | 170 | SRCBRANCH = "weston-imx-14.0.1" |
| 174 | SRCBRANCH = "weston-imx-12.0.4" | 171 | SRCREV = "0fd5d3ab75346e525b565039a7b8bf5d9008be78" |
| 175 | SRCREV = "de7f8df4b4275e9bb345cacab6962d1a490d9eab" | ||
| 176 | S = "${WORKDIR}/git" | 172 | S = "${WORKDIR}/git" |
| 177 | 173 | ||
| 174 | SRC_URI:remove = "file://0001-libweston-tools-Include-libgen.h-for-basename-signat.patch" | ||
| 175 | |||
| 178 | PACKAGECONFIG_IMX_REMOVALS ?= "wayland x11" | 176 | PACKAGECONFIG_IMX_REMOVALS ?= "wayland x11" |
| 179 | PACKAGECONFIG:remove = "${PACKAGECONFIG_IMX_REMOVALS}" | 177 | PACKAGECONFIG:remove = "${PACKAGECONFIG_IMX_REMOVALS}" |
| 180 | 178 | ||
| @@ -183,12 +181,12 @@ PACKAGECONFIG_G2D ??= "" | |||
| 183 | PACKAGECONFIG_G2D:imxgpu2d ??= "imxg2d" | 181 | PACKAGECONFIG_G2D:imxgpu2d ??= "imxg2d" |
| 184 | PACKAGECONFIG_G2D:mx93-nxp-bsp ??= "imxg2d" | 182 | PACKAGECONFIG_G2D:mx93-nxp-bsp ??= "imxg2d" |
| 185 | 183 | ||
| 184 | # Remove no longer supported colord | ||
| 185 | PACKAGECONFIG[colord] = "" | ||
| 186 | |||
| 186 | # Weston with i.MX G2D renderer | 187 | # Weston with i.MX G2D renderer |
| 187 | PACKAGECONFIG[imxg2d] = "-Drenderer-g2d=true,-Drenderer-g2d=false,virtual/libg2d" | 188 | PACKAGECONFIG[imxg2d] = "-Drenderer-g2d=true,-Drenderer-g2d=false,virtual/libg2d" |
| 188 | 189 | ||
| 189 | # Weston on RDP, fix for base recipe | ||
| 190 | PACKAGECONFIG[rdp] = "-Dbackend-rdp=true,-Dbackend-rdp=false,freerdp,freerdp" | ||
| 191 | |||
| 192 | # links with imx-gpu libs which are pre-built for glibc | 190 | # links with imx-gpu libs which are pre-built for glibc |
| 193 | # gcompat will address it during runtime | 191 | # gcompat will address it during runtime |
| 194 | LDFLAGS:append:imxgpu:libc-musl = " -Wl,--allow-shlib-undefined" | 192 | LDFLAGS:append:imxgpu:libc-musl = " -Wl,--allow-shlib-undefined" |
