forked from brl/citadel
Bruce Leidl
3db0a6b032
poky: Upgrade to Yocto 4.1 Langdale meta-citadel/recipes-kernel: citadel-kernel 5.19.9 -> 6.0.8 meta-citadel/recipes-sway: sway 1.5.1 -> 1.7 (meta-wayland) wlroots 0.12.0 -> 0.15.1 (meta-wayland) meta-gnome/recipes-connectivity: iwd 1.27 -> 1.30 (meta-oe) modemmanager 1.18.2 -> 1.18.6 (meta-oe) networkmanager 1.36.2 -> 1.40.0 (meta-oe) meta-gnome/recipes-freedesktop: libgusb 0.3.7 -> 0.3.10 (meta-oe) meta-gnome/recipes-gnome: adwaita-icon-theme 42 -> 43 (oe-core) geocode-glib 3.26.2 -> 3.26.4 (meta-oe) gjs 1.72.0 -> 1.73.2 (meta-oe) gnome-bluetooth 42.0 -> 42.4 (meta-oe) gnome-control-center 42.1 -> 43.0 gnome-desktop 42.1 -> 43.rc gnome-settings-daemon 42.1 -> 43.0 gnome-shell 42.1 -> 43.0 gsettings-desktop-schema 41.0 -> 43.0 gtk4 4.6.4 -> 4.6.7 (meta-oe) gvfs 1.50.0 -> 1.50.2 (meta-oe) libadwaita 1.1.1 -> 1.2.0 (meta-oe) libgee 0.20.4 -> 0.20.6 (meta-oe) mutter 42.1 -> 43.0 rest 0.8.1 -> 0.9.0 (meta-oe) meta-gnome/recipes-support: ell 0.50 -> 0.53 (poky) exiv2 0.26 -> 0.27.3 (meta-oe) graphene 1.10.2 -> 1.10.8 (meta-oe) gsound 1.0.2 -> 1.0.3 (meta-oe) icu_71.1 (removed from meta-gnome because this version is in poky) jansson 2.12 -> 2.14 (meta-oe) lcms 2.9 -> 2.14 (meta-oe) libdvdread 6.1.1 -> 6.1.3 (meta-oe) libndp 1.6 -> 1.8 (meta-oe) mozjs 91.8.0 -> 102.3.0 power-profiles-daemon 0.12 (new-recipe)
62 lines
2.5 KiB
BlitzBasic
62 lines
2.5 KiB
BlitzBasic
SUMMARY = "Wayland, a protocol between a compositor and clients"
|
|
DESCRIPTION = "Wayland is a protocol for a compositor to talk to its clients \
|
|
as well as a C library implementation of that protocol. The compositor can be \
|
|
a standalone display server running on Linux kernel modesetting and evdev \
|
|
input devices, an X application, or a wayland client itself. The clients can \
|
|
be traditional applications, X servers (rootless or fullscreen) or other \
|
|
display servers."
|
|
HOMEPAGE = "http://wayland.freedesktop.org"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=b31d8f53b6aaf2b4985d7dd7810a70d1 \
|
|
file://src/wayland-server.c;endline=24;md5=b8e046164a766bb1ede8ba38e9dcd7ce"
|
|
|
|
DEPENDS = "expat libffi wayland-native"
|
|
|
|
SRC_URI = "https://gitlab.freedesktop.org/wayland/wayland/-/releases/${PV}/downloads/${BPN}-${PV}.tar.xz \
|
|
file://run-ptest \
|
|
file://0001-build-Fix-strndup-detection-on-MinGW.patch \
|
|
"
|
|
SRC_URI[sha256sum] = "6dc64d7fc16837a693a51cfdb2e568db538bfdc9f457d4656285bb9594ef11ac"
|
|
|
|
UPSTREAM_CHECK_URI = "https://wayland.freedesktop.org/releases.html"
|
|
UPSTREAM_CHECK_REGEX = "wayland-(?P<pver>\d+\.\d+\.(?!9\d+)\d+)"
|
|
|
|
inherit meson pkgconfig ptest
|
|
|
|
PACKAGECONFIG ??= "dtd-validation"
|
|
PACKAGECONFIG[dtd-validation] = "-Ddtd_validation=true,-Ddtd_validation=false,libxml2,,"
|
|
|
|
EXTRA_OEMESON = "-Ddocumentation=false"
|
|
EXTRA_OEMESON:class-native = "-Ddocumentation=false"
|
|
|
|
# Wayland installs a M4 macro for other projects to use, which uses the target
|
|
# pkg-config to find files. Replace pkg-config with pkg-config-native.
|
|
do_install:append:class-native() {
|
|
sed -e 's,PKG_CHECK_MODULES(.*),,g' \
|
|
-e 's,$PKG_CONFIG,pkg-config-native,g' \
|
|
-i ${D}/${datadir}/aclocal/wayland-scanner.m4
|
|
}
|
|
|
|
do_install_ptest() {
|
|
mkdir -p ${D}${PTEST_PATH}/tests/data
|
|
cp -rf ${B}/tests/*-test ${B}/tests/*-checker ${D}${PTEST_PATH}/tests
|
|
cp -rf ${B}/tests/*-checker ${D}${PTEST_PATH}
|
|
cp -rf ${S}/tests/scanner-test.sh ${D}${PTEST_PATH}/tests
|
|
cp -rf ${S}/tests/data/* ${D}${PTEST_PATH}/tests/data/
|
|
cp -rf ${S}/egl/wayland-egl-symbols-check ${D}${PTEST_PATH}/tests/
|
|
}
|
|
|
|
sysroot_stage_all:append:class-target () {
|
|
rm ${SYSROOT_DESTDIR}/${datadir}/aclocal/wayland-scanner.m4
|
|
cp ${STAGING_DATADIR_NATIVE}/aclocal/wayland-scanner.m4 ${SYSROOT_DESTDIR}/${datadir}/aclocal/
|
|
}
|
|
|
|
PACKAGES =+ "${PN}-tools"
|
|
|
|
FILES:${PN}-tools = "${bindir}/wayland-scanner"
|
|
FILES:${PN}-dev += "${datadir}/${BPN}/wayland-scanner.mk"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|
|
|
|
RDEPENDS:${PN}-ptest += "binutils sed ${PN}-tools"
|