diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2023-05-18 09:55:20 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-18 09:55:20 -0300 |
commit | 671eccefdc2ee9d35d259d037a28c23a4edf5e43 (patch) | |
tree | 903d93ad9c949a4aa17b77f610dd2ed5ce18b2eb /recipes-graphics/xwayland/xwayland_23.1.1.imx.bb | |
parent | cb365fdc9b2740508bac95e13a0f91d70fbbea45 (diff) | |
parent | 016e9bcbf71218a210c7173c33cdbff1ec3d8d2f (diff) | |
download | meta-freescale-671eccefdc2ee9d35d259d037a28c23a4edf5e43.tar.gz |
Merge pull request #1537 from thochstein/xwayland
weston upgrade, xwayland compatibility update
Diffstat (limited to 'recipes-graphics/xwayland/xwayland_23.1.1.imx.bb')
-rw-r--r-- | recipes-graphics/xwayland/xwayland_23.1.1.imx.bb | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/recipes-graphics/xwayland/xwayland_23.1.1.imx.bb b/recipes-graphics/xwayland/xwayland_23.1.1.imx.bb new file mode 100644 index 00000000..a9705a23 --- /dev/null +++ b/recipes-graphics/xwayland/xwayland_23.1.1.imx.bb | |||
@@ -0,0 +1,53 @@ | |||
1 | # This recipe copy helps keep meta-freescale master branch compatible | ||
2 | # with Yocto langdale. | ||
3 | # (From OE-Core rev: 35fdbd0ea81650a0421d50fb53989d96c5956331) | ||
4 | |||
5 | SUMMARY = "XWayland is an X Server that runs under Wayland." | ||
6 | DESCRIPTION = "XWayland is an X Server running as a Wayland client, \ | ||
7 | and thus is capable of displaying native X11 client applications in a \ | ||
8 | Wayland compositor environment. The goal of XWayland is to facilitate \ | ||
9 | the transition from X Window System to Wayland environments, providing \ | ||
10 | a way to run unported applications in the meantime." | ||
11 | HOMEPAGE = "https://fedoraproject.org/wiki/Changes/XwaylandStandalone" | ||
12 | |||
13 | DEFAULT_PREFERENCE = "-1" | ||
14 | |||
15 | LICENSE = "MIT" | ||
16 | LIC_FILES_CHKSUM = "file://COPYING;md5=5df87950af51ac2c5822094553ea1880" | ||
17 | |||
18 | SRC_URI = "https://www.x.org/archive/individual/xserver/${BP_ORIGINAL}.tar.xz" | ||
19 | BP_ORIGINAL = "${BPN}-23.1.1" | ||
20 | SRC_URI[sha256sum] = "fb9461f5cb9fea5e07e91882311b0c88b43e8843b017ebac05eb5af69aa34c15" | ||
21 | S = "${WORKDIR}/${BP_ORIGINAL}" | ||
22 | |||
23 | UPSTREAM_CHECK_REGEX = "xwayland-(?P<pver>\d+(\.(?!90\d)\d+)+)\.tar" | ||
24 | |||
25 | inherit meson features_check pkgconfig | ||
26 | REQUIRED_DISTRO_FEATURES = "x11 opengl" | ||
27 | |||
28 | DEPENDS += "xorgproto xtrans pixman libxkbfile libxfont2 wayland wayland-native wayland-protocols libdrm libepoxy libxcvt" | ||
29 | |||
30 | OPENGL_PKGCONFIGS = "glx glamor dri3" | ||
31 | PACKAGECONFIG ??= "${XORG_CRYPTO} \ | ||
32 | ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', '${OPENGL_PKGCONFIGS}', '', d)} \ | ||
33 | " | ||
34 | PACKAGECONFIG[dri3] = "-Ddri3=true,-Ddri3=false,libxshmfence" | ||
35 | PACKAGECONFIG[glx] = "-Dglx=true,-Dglx=false,virtual/libgl virtual/libx11" | ||
36 | PACKAGECONFIG[glamor] = "-Dglamor=true,-Dglamor=false,libepoxy virtual/libgbm,libegl" | ||
37 | PACKAGECONFIG[unwind] = "-Dlibunwind=true,-Dlibunwind=false,libunwind" | ||
38 | PACKAGECONFIG[xinerama] = "-Dxinerama=true,-Dxinerama=false" | ||
39 | |||
40 | # Xorg requires a SHA1 implementation, pick one | ||
41 | XORG_CRYPTO ??= "openssl" | ||
42 | PACKAGECONFIG[openssl] = "-Dsha1=libcrypto,,openssl" | ||
43 | PACKAGECONFIG[nettle] = "-Dsha1=libnettle,,nettle" | ||
44 | PACKAGECONFIG[gcrypt] = "-Dsha1=libgcrypt,,libgcrypt" | ||
45 | |||
46 | do_install:append() { | ||
47 | # remove files not needed and clashing with xserver-xorg | ||
48 | rm -rf ${D}/${libdir}/xorg/ | ||
49 | } | ||
50 | |||
51 | FILES:${PN} += "${libdir}/xorg/protocol.txt" | ||
52 | |||
53 | RDEPENDS:${PN} += "xkbcomp" | ||