| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- ################################################################################
- #
- # sway
- #
- ################################################################################
- SWAY_VERSION = 1.11
- 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_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))
|