1
0
mirror of https://github.com/lxsang/meta-rpi-diya.git synced 2024-11-08 06:28:23 +01:00

add labwc and foot from meta-wayland

This commit is contained in:
DanyLE 2023-07-26 12:08:14 +02:00
parent 718db6d18d
commit d74f0eae3e
3 changed files with 2 additions and 87 deletions

View File

@ -51,7 +51,8 @@ IMAGE_INSTALL:append = "libcurl \
raspi-gpio \
rsync \
coreutils \
wayland wayland-protocols hwdata \
wayland wayland-protocols \
labwc foot \
qtbase \
qtdeclarative \
qtquickcontrols2 \

View File

@ -1,39 +0,0 @@
DESCRIPTION = "lawc waylad compositor"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6"
#FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
DEPENDS = "wayland wayland-protocols fontconfig seatd liberation-fonts libxkbcommon libdrm eudev pixman mesa cairo"
SRCREV = "${AUTOREV}"
# SRCREV = "27d2d9f0c76b5805ff43578272e809aeb665a498"
SRC_URI = "git://github.com/labwc/labwc.git;protocol=https;branch=master;"
REQUIRED_DISTRO_FEATURES = "wayland"
DEPENDS += " \
libxml2 \
glib-2.0 \
cairo \
pango \
wayland \
wayland-native \
wayland-protocols \
libdrm \
libxkbcommon \
libinput \
wl-roots \
"
S = "${WORKDIR}/git"
inherit meson
do_install:append () {
# remove files not needed
rm -rf ${D}/usr/local/include
rm -rf ${D}/usr/local/lib
rm -rf ${D}/usr/local/share
}

View File

@ -1,47 +0,0 @@
SUMMARY = "A modular Wayland compositor library"
DESCRIPTION = "Pluggable, composable, unopinionated modules for building a \
Wayland compositor; or about 50,000 lines of code you were \
going to write anyway."
HOMEPAGE = "https://gitlab.freedesktop.org/wlroots"
BUGTRACKER = "https://gitlab.freedesktop.org/wlroots/wlroots/-/issues"
SECTION = "graphics"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
REQUIRED_DISTRO_FEATURES = "wayland"
DEPENDS += " \
hwdata-native \
libdrm \
libxkbcommon \
libliftoff \
pixman \
seatd \
wayland \
wayland-native \
wayland-protocols \
"
PACKAGECONFIG[opengl] = ",,virtual/egl virtual/libgles2"
PACKAGECONFIG[gbm] = ",,virtual/libgbm"
PACKAGECONFIG[libinput] = ",,libinput"
PACKAGECONFIG[systemd] = ",,systemd"
PACKAGECONFIG[sysvinit] = ",,eudev elogind"
PACKAGECONFIG[vulkan] = ",,vulkan-loader vulkan-headers glslang-native"
PACKAGECONFIG[x11] = ",,xcb-util-renderutil"
PACKAGECONFIG[xwayland] = "-Dxwayland=enabled,-Dxwayland=disabled,xwayland xcb-util-wm,xwayland"
PACKAGECONFIG ?= " \
${@bb.utils.filter('DISTRO_FEATURES', 'systemd sysvinit vulkan x11 xwayland opengl', d)} \
libinput \
"
SRC_URI = "git://gitlab.freedesktop.org/wlroots/wlroots.git;branch=0.16;protocol=https"
SRCREV = "0a32b5a74db06a27bee55a47205951bb277a9657"
S = "${WORKDIR}/git"
PV = "0.16.2"
inherit meson pkgconfig features_check
EXTRA_OEMESON += "--buildtype release"