kumquat-buildroot/package/sway/sway.mk
Adrian Perez de Castro 0645cb39e0 package/sway: bump to version 1.8.1
Update Sway to version 1.8.1, which brings a new release series to
Buildroot and can be built with wlroots 0.16.x

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2023-11-01 12:25:53 +01:00

38 lines
960 B
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 \
-Ddefault-wallpaper=false \
-Dzsh-completions=false \
-Dbash-completions=false \
-Dfish-completions=false \
-Dswaybar=false \
-Dswaynag=false \
-Dtray=disabled \
-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
$(eval $(meson-package))