wl: added tools & drivers opts

This commit is contained in:
SupervisedThinking 2022-01-16 00:37:35 +01:00
parent bda3abe850
commit b4bd50432f

View File

@ -14,3 +14,13 @@ PKG_LONGDESC="Wayland is intended as a simpler replacement for X, easier to deve
if [ -n "${WINDOWMANAGER}" -a "${WINDOWMANAGER}" != "no" ]; then
PKG_DEPENDS_TARGET+=" ${WINDOWMANAGER}"
fi
# Tools for wlroots based compositors
if [ "${WINDOWMANAGER}" = "sway" ]; then
PKG_DEPENDS_TARGET+=" wlr-randr"
fi
# NVIDIA drivers for Linux
if listcontains "${GRAPHIC_DRIVERS}" "nvidia-ng"; then
PKG_DEPENDS_TARGET+=" nvidia"
fi