# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: team/gnome <pabloyoyoista@postmarketos.org>
pkgname=gnome-backgrounds
pkgver=48.2.1
pkgrel=0
pkgdesc="Default wallpaper set for GNOME"
url="https://gitlab.gnome.org/GNOME/gnome-backgrounds"
# s390x: blocked by libjxl-pixbuf-loader
arch="noarch !s390x"
license="GPL-2.0-or-later AND CC-BY-2.0 AND CC-BY-SA-2.0 AND CC-BY-SA-3.0"
depends="libjxl-pixbuf-loader"
makedepends="meson gettext-dev"
options="!check" # no tests for wallpapers
source="https://download.gnome.org/sources/gnome-backgrounds/${pkgver%%.*}/gnome-backgrounds-$pkgver.tar.xz"

build() {
	abuild-meson output .
	meson compile -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
c06afc19e01950dd50cffd0d94a73cb0b49fe7f5e44af77e72110bd0f1b1c4b3deaa1e410fbfb51808845cbaa1b57c1ab50a7d8a4a200c28c36521ea5608d5b3  gnome-backgrounds-48.2.1.tar.xz
"
