From 12d6e418ff6940aee9bcb678cff6640f9e84eb83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Thu, 28 Apr 2022 22:29:24 +0200 Subject: [PATCH] mint-backgrounds-una: initial add 1.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Andreas Müller --- conf/layer.conf | 3 +++ licenses/Unsplash | 8 +++++++ .../mint-backgrounds-una_1.1.bb | 23 +++++++++++++++++++ .../packagegroups/cinnamon-base.bb | 1 + 4 files changed, 35 insertions(+) create mode 100644 licenses/Unsplash create mode 100644 recipes-mint/mint-backgrounds/mint-backgrounds-una_1.1.bb diff --git a/conf/layer.conf b/conf/layer.conf index e3ba7c6..3b6893c 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -10,3 +10,6 @@ BBFILE_PRIORITY_meta-gnome-forks = "10" LAYERDEPENDS_meta-gnome-forks = "core openembedded-layer gnome-layer" LAYERSERIES_COMPAT_meta-gnome-forks = "gatesgarth honister kirkstone" + +LICENSE_PATH += "${LAYERDIR}/licenses" + diff --git a/licenses/Unsplash b/licenses/Unsplash new file mode 100644 index 0000000..367bb3c --- /dev/null +++ b/licenses/Unsplash @@ -0,0 +1,8 @@ +Taken from https://unsplash.com/license + +Unsplash grants you an irrevocable, nonexclusive, worldwide copyright license +to download, copy, modify, distribute, perform, and use photos from Unsplash +for free, including for commercial purposes, without permission from or +attributing the photographer or Unsplash. This license does not include the +right to compile photos from Unsplash to replicate a similar or competing +service. diff --git a/recipes-mint/mint-backgrounds/mint-backgrounds-una_1.1.bb b/recipes-mint/mint-backgrounds/mint-backgrounds-una_1.1.bb new file mode 100644 index 0000000..adebb18 --- /dev/null +++ b/recipes-mint/mint-backgrounds/mint-backgrounds-una_1.1.bb @@ -0,0 +1,23 @@ +SUMMARY = "Linux Mint 20.3 Una backgrounds" +LICENSE = "Unsplash" +LIC_FILES_CHKSUM = "file://backgrounds/linuxmint-una/Credits;md5=b57930efd035b5a6e206ed403c305d89" + +SRC_URI = "http://packages.linuxmint.com/pool/main/m/${BPN}/${BPN}_${PV}.tar.gz" +SRC_URI[sha256sum] = "42a8af8c7f18bb83743ba31ee6c2d74ba9328bbac2d28399a7218991400a6e9c" +S = "${WORKDIR}/${BPN}" + +inherit allarch + +do_configure[noexec] = "1" +do_compile[noexec] = "1" + +do_install() { + install -d ${D}${datadir} + cp -r ${S}/backgrounds ${D}/${datadir} + cp -r ${S}/cinnamon-background-properties ${D}/${datadir} +} + +FILES:${PN} = " \ + ${datadir}/backgrounds \ + ${datadir}/cinnamon-background-properties \ +" diff --git a/recipes-support/packagegroups/cinnamon-base.bb b/recipes-support/packagegroups/cinnamon-base.bb index 206c599..7e01244 100644 --- a/recipes-support/packagegroups/cinnamon-base.bb +++ b/recipes-support/packagegroups/cinnamon-base.bb @@ -8,6 +8,7 @@ PACKAGE_ARCH = "${TUNE_PKGARCH}" inherit packagegroup RDEPENDS:${PN} = " \ + mint-backgrounds-una \ mint-themes \ mint-x-icons \ mint-y-icons \