kumquat-buildroot/package/swaybg/swaybg.mk
James Knight 135bc0b079 package/swaybg: new package
Provides the `swaybg` utility, which is commonly used with `sway` to
manage background images/color configuration for the compositor.

Signed-off-by: James Knight <james.d.knight@live.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2023-07-31 23:15:23 +02:00

29 lines
651 B
Makefile

################################################################################
#
# swaybg
#
################################################################################
SWAYBG_VERSION = 1.2.0
SWAYBG_SITE = https://github.com/swaywm/swaybg/releases/download/v$(SWAYBG_VERSION)
SWAYBG_LICENSE = MIT
SWAYBG_LICENSE_FILES = LICENSE
SWAYBG_DEPENDENCIES = \
cairo \
wayland \
wayland-protocols
SWAYBG_CONF_OPTS = \
-Dman-pages=disabled \
-Dwerror=false
ifeq ($(BR2_PACKAGE_GDK_PIXBUF),y)
SWAYBG_CONF_OPTS += -Dgdk-pixbuf=enabled
SWAYBG_DEPENDENCIES += gdk-pixbuf
else
SWAYBG_CONF_OPTS += -Dgdk-pixbuf=disabled
endif
$(eval $(meson-package))