mirror of
https://codeberg.org/flk/meta-wayland.git
synced 2024-11-20 12:28:25 +01:00
63 lines
1.7 KiB
BlitzBasic
63 lines
1.7 KiB
BlitzBasic
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://github.com/swaywm/wlroots"
|
|
BUGTRACKER = "https://github.com/swaywm/wlroots/issues"
|
|
SECTION = "graphics"
|
|
LICENSE = "MIT"
|
|
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=7578fad101710ea2d289ff5411f1b818"
|
|
|
|
REQUIRED_DISTRO_FEATURES = "wayland"
|
|
|
|
DEPENDS += " \
|
|
libdrm \
|
|
libxkbcommon \
|
|
pixman \
|
|
seatd \
|
|
virtual/libgbm \
|
|
wayland \
|
|
wayland-native \
|
|
wayland-protocols \
|
|
"
|
|
|
|
PACKAGECONFIG[libinput] = ",,libinput"
|
|
PACKAGECONFIG[gles] = ",,virtual/egl virtual/libgles2"
|
|
PACKAGECONFIG[systemd] = ",,systemd"
|
|
PACKAGECONFIG[sysvinit] = ",,eudev"
|
|
PACKAGECONFIG[vulkan] = ",,vulkan-loader vulkan-headers glslang glslang-native"
|
|
PACKAGECONFIG[x11] = ",,xcb-util-renderutil"
|
|
PACKAGECONFIG[xwayland] = "-Dxwayland=enabled,-Dxwayland=disabled,xserver-xorg xcb-util-wm"
|
|
PACKAGECONFIG[examples] = "-Dexamples=true,-Dexamples=false"
|
|
|
|
PACKAGECONFIG ?= " \
|
|
${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \
|
|
${@bb.utils.filter('DISTRO_FEATURES', 'sysvinit', d)} \
|
|
${@bb.utils.filter('DISTRO_FEATURES', 'vulkan', d)} \
|
|
${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)} \
|
|
"
|
|
|
|
SRC_URI = "git://github.com/swaywm/wlroots.git;branch=master;protocol=https"
|
|
SRCREV = "ebe3cfaceb77ca3b446fa52af6aedc89c98770e5"
|
|
PV = "0.14.1+${SRCREV}"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
inherit meson pkgconfig features_check
|
|
|
|
EXTRA_OEMESON += "--buildtype release"
|
|
|
|
FILES:${PN} = " \
|
|
${bindir} \
|
|
${libdir} \
|
|
"
|
|
|
|
FILES:${PN}-dev = " \
|
|
${includedir} \
|
|
${libdir}/libwlroots.so \
|
|
"
|
|
|
|
BBCLASSEXTEND = ""
|
|
|