sway: make swaybg mandatory

Sways default config makes use of swaybg. Add it as RDEPEND and install default
wallpapers. Most people will expect to have a way to use wallpapers so in order
not to configure things to death this feels like a sane default setting.
This commit is contained in:
Markus Volk 2021-06-06 16:14:15 +02:00
parent da93699e35
commit 8044de610c

View File

@ -24,6 +24,8 @@ DEPENDS += " \
wayland-native \ wayland-native \
wayland-protocols \ wayland-protocols \
" "
# sways default config makes use of it
RDEPENDS_${PN} = "swaybg"
SRC_URI = " \ SRC_URI = " \
git://github.com/swaywm/sway.git;protocol=https \ git://github.com/swaywm/sway.git;protocol=https \
@ -45,6 +47,7 @@ PACKAGECONFIG[xwayland] = "-Dxwayland=enabled,-Dxwayland=disabled,libxcb"
PACKAGECONFIG ?= " \ PACKAGECONFIG ?= " \
${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \ ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \
${@bb.utils.filter('DISTRO_FEATURES', 'sysvinit', d)} \ ${@bb.utils.filter('DISTRO_FEATURES', 'sysvinit', d)} \
default-wallpaper \
gdk-pixbuf \ gdk-pixbuf \
" "