swaybg: initial package 1.1

This commit is contained in:
SupervisedThinking 2022-01-14 22:21:46 +01:00
parent 5d8f7e4641
commit 5bca66f22a

View File

@ -0,0 +1,19 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2021-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="swaybg"
PKG_VERSION="1.1"
PKG_SHA256="958f425310514ae2aae064595c3e7efba2187b0d2947136c49188558fdb367b1"
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")
}