Initial Commit
- initial default booting image
This commit is contained in:
56
package/sway/sway.mk
Normal file
56
package/sway/sway.mk
Normal file
@@ -0,0 +1,56 @@
|
||||
################################################################################
|
||||
#
|
||||
# sway
|
||||
#
|
||||
################################################################################
|
||||
|
||||
SWAY_VERSION = 1.12
|
||||
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 pcre2 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))
|
||||
Reference in New Issue
Block a user