diff options
Diffstat (limited to 'recipes-graphics/wayland/wayland_1.22.0.imx.bb')
-rw-r--r-- | recipes-graphics/wayland/wayland_1.22.0.imx.bb | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/recipes-graphics/wayland/wayland_1.22.0.imx.bb b/recipes-graphics/wayland/wayland_1.22.0.imx.bb deleted file mode 100644 index eb1066c8..00000000 --- a/recipes-graphics/wayland/wayland_1.22.0.imx.bb +++ /dev/null | |||
@@ -1,67 +0,0 @@ | |||
1 | SUMMARY = "Wayland, a protocol between a compositor and clients" | ||
2 | DESCRIPTION = "Wayland is a protocol for a compositor to talk to its clients \ | ||
3 | as well as a C library implementation of that protocol. The compositor can be \ | ||
4 | a standalone display server running on Linux kernel modesetting and evdev \ | ||
5 | input devices, an X application, or a wayland client itself. The clients can \ | ||
6 | be traditional applications, X servers (rootless or fullscreen) or other \ | ||
7 | display servers." | ||
8 | HOMEPAGE = "http://wayland.freedesktop.org" | ||
9 | LICENSE = "MIT" | ||
10 | LIC_FILES_CHKSUM = "file://COPYING;md5=b31d8f53b6aaf2b4985d7dd7810a70d1 \ | ||
11 | file://src/wayland-server.c;endline=24;md5=b8e046164a766bb1ede8ba38e9dcd7ce" | ||
12 | |||
13 | DEPENDS = "expat libffi wayland-native" | ||
14 | |||
15 | SRC_URI = "https://gitlab.freedesktop.org/wayland/wayland/-/releases/1.22.0/downloads/${BP_ORIGINAL}.tar.xz \ | ||
16 | file://run-ptest \ | ||
17 | file://0001-build-Fix-strndup-detection-on-MinGW.patch \ | ||
18 | " | ||
19 | SRC_URI[sha256sum] = "1540af1ea698a471c2d8e9d288332c7e0fd360c8f1d12936ebb7e7cbc2425842" | ||
20 | BP_ORIGINAL = "${BPN}-1.22.0" | ||
21 | S = "${WORKDIR}/${BP_ORIGINAL}" | ||
22 | |||
23 | UPSTREAM_CHECK_URI = "https://wayland.freedesktop.org/releases.html" | ||
24 | UPSTREAM_CHECK_REGEX = "wayland-(?P<pver>\d+\.\d+\.(?!9\d+)\d+)" | ||
25 | |||
26 | inherit meson pkgconfig ptest | ||
27 | |||
28 | PACKAGECONFIG ??= "dtd-validation" | ||
29 | PACKAGECONFIG[dtd-validation] = "-Ddtd_validation=true,-Ddtd_validation=false,libxml2,," | ||
30 | |||
31 | EXTRA_OEMESON = "-Ddocumentation=false" | ||
32 | EXTRA_OEMESON:class-native = "-Ddocumentation=false" | ||
33 | |||
34 | # Wayland installs a M4 macro for other projects to use, which uses the target | ||
35 | # pkg-config to find files. Replace pkg-config with pkg-config-native. | ||
36 | do_install:append:class-native() { | ||
37 | sed -e 's,PKG_CHECK_MODULES(.*),,g' \ | ||
38 | -e 's,$PKG_CONFIG,pkg-config-native,g' \ | ||
39 | -i ${D}/${datadir}/aclocal/wayland-scanner.m4 | ||
40 | } | ||
41 | |||
42 | do_install_ptest() { | ||
43 | mkdir -p ${D}${PTEST_PATH}/tests/data | ||
44 | cp -rf ${B}/tests/*-test ${B}/tests/*-checker ${D}${PTEST_PATH}/tests | ||
45 | cp -rf ${B}/tests/*-checker ${D}${PTEST_PATH} | ||
46 | cp -rf ${S}/tests/scanner-test.sh ${D}${PTEST_PATH}/tests | ||
47 | cp -rf ${S}/tests/data/* ${D}${PTEST_PATH}/tests/data/ | ||
48 | cp -rf ${S}/egl/wayland-egl-symbols-check ${D}${PTEST_PATH}/tests/ | ||
49 | } | ||
50 | |||
51 | sysroot_stage_all:append:class-target () { | ||
52 | rm ${SYSROOT_DESTDIR}/${datadir}/aclocal/wayland-scanner.m4 | ||
53 | cp ${STAGING_DATADIR_NATIVE}/aclocal/wayland-scanner.m4 ${SYSROOT_DESTDIR}/${datadir}/aclocal/ | ||
54 | } | ||
55 | |||
56 | PACKAGES =+ "${PN}-tools" | ||
57 | |||
58 | FILES:${PN}-tools = "${bindir}/wayland-scanner" | ||
59 | FILES:${PN}-dev += "${datadir}/${BPN}/wayland-scanner.mk" | ||
60 | |||
61 | BBCLASSEXTEND = "native nativesdk" | ||
62 | |||
63 | RDEPENDS:${PN}-ptest += "binutils sed ${PN}-tools" | ||
64 | |||
65 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" | ||
66 | |||
67 | DEFAULT_PREFERENCE = "-1" | ||