From d49082500e1990020cc3b73c6148b9918aa650a6 Mon Sep 17 00:00:00 2001 From: Markus Volk Date: Mon, 11 Jul 2022 11:10:37 +0200 Subject: [PATCH] nwg-shell-wallpapers: add recipe --- .../nwg-shell/nwg-shell-wallpapers_git.bb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 recipes-gtk/nwg-shell/nwg-shell-wallpapers_git.bb diff --git a/recipes-gtk/nwg-shell/nwg-shell-wallpapers_git.bb b/recipes-gtk/nwg-shell/nwg-shell-wallpapers_git.bb new file mode 100644 index 0000000..df19ac6 --- /dev/null +++ b/recipes-gtk/nwg-shell/nwg-shell-wallpapers_git.bb @@ -0,0 +1,18 @@ +SUMMARY = "A selection of wallpapers contributed to the nwg-shell project." +LICENSE = "CC0-1.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=65d3616852dbf7b1a6d4b53b00626032" + +SRC_URI = "git://github.com/nwg-piotr/nwg-shell-wallpapers.git;protocol=https;nobranch=1" + +S = "${WORKDIR}/git" +PV = "1.0" +SRCREV = "ee904a7beb1e8b7750f50072601fddb3507b0657" + +do_install() { + install -d ${D}${datadir}/backgrounds/sway + for file in ${S}/wallpapers/*; do + install -m 0644 "$file" ${D}${datadir}/backgrounds/sway + done +} + +FILES:${PN} = "${datadir}"