diff --git a/DEVELOPERS b/DEVELOPERS index 3780204227..05a8d26988 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1465,6 +1465,7 @@ F: package/gtkmm3/ F: package/libpqxx/ F: package/pangomm/ F: package/rpm/ +F: package/swaybg/ F: package/yad/ N: Jan Heylen diff --git a/package/Config.in b/package/Config.in index a60a1a8858..1d30465434 100644 --- a/package/Config.in +++ b/package/Config.in @@ -329,6 +329,7 @@ comment "Graphic applications" source "package/rrdtool/Config.in" source "package/stellarium/Config.in" source "package/sway/Config.in" + source "package/swaybg/Config.in" source "package/tesseract-ocr/Config.in" source "package/tinifier/Config.in" diff --git a/package/swaybg/Config.in b/package/swaybg/Config.in new file mode 100644 index 0000000000..63aa8cdb6a --- /dev/null +++ b/package/swaybg/Config.in @@ -0,0 +1,13 @@ +config BR2_PACKAGE_SWAYBG + bool "swaybg" + default y if BR2_PACKAGE_SWAY + depends on !BR2_STATIC_LIBS # wayland -> dlfcn.h + depends on BR2_TOOLCHAIN_HAS_THREADS # wayland + select BR2_PACKAGE_CAIRO + select BR2_PACKAGE_CAIRO_PNG + select BR2_PACKAGE_WAYLAND + select BR2_PACKAGE_WAYLAND_PROTOCOLS + help + Wallpaper tool for Wayland compositors. + + https://github.com/swaywm/swaybg diff --git a/package/swaybg/swaybg.hash b/package/swaybg/swaybg.hash new file mode 100644 index 0000000000..62bf048d61 --- /dev/null +++ b/package/swaybg/swaybg.hash @@ -0,0 +1,3 @@ +# Locally computed, tarball verified with GPG signature +sha256 c0205b34f1fad94553b6cb2c2b983cc33186018026058cad0b841a00bc3087e3 swaybg-1.2.0.tar.gz +sha256 95224d118a325daf31828afcca98cd958d53f0a7cdd856b50b1be8ac44832faf LICENSE diff --git a/package/swaybg/swaybg.mk b/package/swaybg/swaybg.mk new file mode 100644 index 0000000000..90a8cb5d80 --- /dev/null +++ b/package/swaybg/swaybg.mk @@ -0,0 +1,28 @@ +################################################################################ +# +# 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))