4163b67c37
Add a config option to build sway with swaynag support. Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
63 lines
1.4 KiB
Makefile
63 lines
1.4 KiB
Makefile
################################################################################
|
|
#
|
|
# sway
|
|
#
|
|
################################################################################
|
|
|
|
SWAY_VERSION = 1.8.1
|
|
SWAY_SITE = https://github.com/swaywm/sway/releases/download/$(SWAY_VERSION)
|
|
SWAY_LICENSE = MIT
|
|
SWAY_LICENSE_FILES = LICENSE
|
|
SWAY_DEPENDENCIES = systemd host-pkgconf wlroots json-c pcre cairo pango
|
|
SWAY_CONF_OPTS = \
|
|
-Dwerror=false \
|
|
-Dzsh-completions=false \
|
|
-Dfish-completions=false \
|
|
-Dman-pages=disabled \
|
|
-Dsd-bus-provider=libsystemd
|
|
|
|
ifeq ($(BR2_PACKAGE_WLROOTS_X11),y)
|
|
SWAY_CONF_OPTS += -Dxwayland=enabled
|
|
else
|
|
SWAY_CONF_OPTS += -Dxwayland=disabled
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_GDK_PIXBUF),y)
|
|
SWAY_CONF_OPTS += -Dgdk-pixbuf=enabled
|
|
SWAY_DEPENDENCIES += gdk-pixbuf
|
|
else
|
|
SWAY_CONF_OPTS += -Dgdk-pixbuf=disabled
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_BASH_COMPLETION),y)
|
|
SWAY_CONF_OPTS += -Dbash-completions=true
|
|
else
|
|
SWAY_CONF_OPTS += -Dbash-completions=false
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_SWAYBG),y)
|
|
SWAY_CONF_OPTS += -Ddefault-wallpaper=true
|
|
else
|
|
SWAY_CONF_OPTS += -Ddefault-wallpaper=false
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_SWAY_SWAYBAR),y)
|
|
SWAY_CONF_OPTS += -Dswaybar=true
|
|
else
|
|
SWAY_CONF_OPTS += -Dswaybar=false
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_SWAY_SWAYNAG),y)
|
|
SWAY_CONF_OPTS += -Dswaynag=true
|
|
else
|
|
SWAY_CONF_OPTS += -Dswaynag=false
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_SWAY_SWAYBAR_TRAY),y)
|
|
SWAY_CONF_OPTS += -Dtray=enabled
|
|
else
|
|
SWAY_CONF_OPTS += -Dtray=disabled
|
|
endif
|
|
|
|
$(eval $(meson-package))
|