2021-06-02 16:13:46 +02:00
|
|
|
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 \
|
|
|
|
libinput \
|
|
|
|
libxkbcommon \
|
|
|
|
pixman \
|
|
|
|
seatd \
|
|
|
|
virtual/libgbm \
|
|
|
|
wayland \
|
|
|
|
wayland-native \
|
|
|
|
wayland-protocols \
|
|
|
|
"
|
|
|
|
|
|
|
|
PACKAGECONFIG[gles2] = "-Drenderers=gles2"
|
|
|
|
PACKAGECONFIG[x11-backend] = "-Dx11-backend=enabled,-Dx11-backend=disabled,xcb-util-renderutil"
|
|
|
|
PACKAGECONFIG[xwayland] = "-Dxwayland=enabled,-Dxwayland=disabled,xserver-xorg xcb-util-wm"
|
|
|
|
|
|
|
|
PACKAGECONFIG ?= " \
|
|
|
|
gles2 \
|
|
|
|
"
|
|
|
|
|
|
|
|
SRC_URI = "git://github.com/swaywm/wlroots.git;protocol=https"
|
2021-06-26 16:34:52 +02:00
|
|
|
SRCREV = "${PV}"
|
|
|
|
PV = "0.14.0"
|
2021-06-02 16:13:46 +02:00
|
|
|
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
|
|
|
|
inherit meson pkgconfig features_check
|
|
|
|
|
|
|
|
EXTRA_OEMESON += "--buildtype release"
|
|
|
|
|
2021-08-07 06:23:26 +02:00
|
|
|
FILES:${PN} = "${bindir} \
|
2021-06-02 16:13:46 +02:00
|
|
|
${libdir} \
|
|
|
|
"
|
|
|
|
|
2021-08-07 06:23:26 +02:00
|
|
|
FILES:${PN}-dev = "${includedir} \
|
2021-06-02 16:13:46 +02:00
|
|
|
${libdir}/libwlroots.so \
|
|
|
|
"
|
|
|
|
|
|
|
|
BBCLASSEXTEND = ""
|
|
|
|
|