2022-07-11 10:58:58 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
# Copyright (C) 2021-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
|
|
|
|
PKG_NAME="swaybg"
|
2023-08-24 09:53:35 +00:00
|
|
|
PKG_VERSION="1.2.0"
|
|
|
|
PKG_SHA256="cfeab55b983da24352407279556c035b495890422578812d9a9c0bba1dc3ce75"
|
2022-07-11 10:58:58 +00:00
|
|
|
PKG_LICENSE="MIT"
|
|
|
|
PKG_SITE="https://swaywm.org/"
|
|
|
|
PKG_URL="https://github.com/swaywm/swaybg/archive/v${PKG_VERSION}.tar.gz"
|
|
|
|
PKG_DEPENDS_TARGET="toolchain wayland wayland-protocols cairo pango gdk-pixbuf"
|
|
|
|
PKG_LONGDESC="Wallpaper tool for Wayland compositors"
|
|
|
|
|
|
|
|
PKG_MESON_OPTS_TARGET="-Dgdk-pixbuf=enabled \
|
|
|
|
-Dman-pages=disabled"
|
|
|
|
|
|
|
|
pre_configure_target() {
|
|
|
|
# swaybg does not build without -Wno flags as all warnings being treated as errors
|
|
|
|
export TARGET_CFLAGS=$(echo "${TARGET_CFLAGS} -Wno-maybe-uninitialized")
|
|
|
|
}
|