mirror of
https://codeberg.org/flk/meta-wayland.git
synced 2024-12-27 05:58:22 +01:00
wlroots/sway: update
A vulkan renderer has been added to wlroots. Vulkan support is not ready for panfrost yet, but it is at least buildable and other platforms may benefit from it. Adjust the Recipe to automatically build the renderer if vulkan is in DISTRO_FEATURES.
This commit is contained in:
parent
a3f1aad93e
commit
b6fec358ff
@ -40,7 +40,7 @@ SRC_URI = " \
|
|||||||
git://github.com/swaywm/sway.git;protocol=https;branch=master \
|
git://github.com/swaywm/sway.git;protocol=https;branch=master \
|
||||||
"
|
"
|
||||||
|
|
||||||
SRCREV = "8aae6a8eab95bf39f37a8a8048cbb1e1954484d3"
|
SRCREV = "215787e8b28d4e52d97bdcadd4b64305c7a62ac5"
|
||||||
PV = "1.6.1+${SRCREV}"
|
PV = "1.6.1+${SRCREV}"
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
|
@ -17,23 +17,30 @@ DEPENDS += " \
|
|||||||
libxkbcommon \
|
libxkbcommon \
|
||||||
pixman \
|
pixman \
|
||||||
seatd \
|
seatd \
|
||||||
|
virtual/egl \
|
||||||
virtual/libgbm \
|
virtual/libgbm \
|
||||||
|
virtual/libgles2 \
|
||||||
wayland \
|
wayland \
|
||||||
wayland-native \
|
wayland-native \
|
||||||
wayland-protocols \
|
wayland-protocols \
|
||||||
"
|
"
|
||||||
|
|
||||||
PACKAGECONFIG[gles2] = "-Drenderers=gles2"
|
PACKAGECONFIG[systemd] = ",,systemd"
|
||||||
PACKAGECONFIG[x11] = "-Dbackends=x11,,xcb-util-renderutil"
|
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[xwayland] = "-Dxwayland=enabled,-Dxwayland=disabled,xserver-xorg xcb-util-wm"
|
||||||
PACKAGECONFIG[examples] = "-Dexamples=true,-Dexamples=false"
|
PACKAGECONFIG[examples] = "-Dexamples=true,-Dexamples=false"
|
||||||
|
|
||||||
PACKAGECONFIG ?= " \
|
PACKAGECONFIG ?= " \
|
||||||
gles2 \
|
${@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"
|
SRC_URI = "git://github.com/swaywm/wlroots.git;branch=master;protocol=https"
|
||||||
SRCREV = "13cdb84ee8df248db3b303fd4d1c0e3e75db2794"
|
SRCREV = "36cf38742734b003b2abbcd1de910771a8454ef1"
|
||||||
PV = "0.14.1+${SRCREV}"
|
PV = "0.14.1+${SRCREV}"
|
||||||
|
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
@ -42,12 +49,14 @@ inherit meson pkgconfig features_check
|
|||||||
|
|
||||||
EXTRA_OEMESON += "--buildtype release"
|
EXTRA_OEMESON += "--buildtype release"
|
||||||
|
|
||||||
FILES:${PN} = "${bindir} \
|
FILES:${PN} = " \
|
||||||
${libdir} \
|
${bindir} \
|
||||||
"
|
${libdir} \
|
||||||
|
"
|
||||||
|
|
||||||
FILES:${PN}-dev = "${includedir} \
|
FILES:${PN}-dev = " \
|
||||||
${libdir}/libwlroots.so \
|
${includedir} \
|
||||||
|
${libdir}/libwlroots.so \
|
||||||
"
|
"
|
||||||
|
|
||||||
BBCLASSEXTEND = ""
|
BBCLASSEXTEND = ""
|
||||||
|
Loading…
Reference in New Issue
Block a user