From 3d7ae9d664d65ad3bad8c615b7c18e4bc6462af8 Mon Sep 17 00:00:00 2001 From: Florian Boor Date: Sun, 7 Jul 2019 01:36:29 +0200 Subject: [PATCH] dotsplash: Support writing custom parameters to config file Default to new theme Update to lastest git --- recipes-bsp/dotsplash/dotsplash_git.bb | 10 +++++++--- recipes-bsp/dotsplash/files/dotsplash-default | 2 +- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/recipes-bsp/dotsplash/dotsplash_git.bb b/recipes-bsp/dotsplash/dotsplash_git.bb index 83a904a..5f7df44 100644 --- a/recipes-bsp/dotsplash/dotsplash_git.bb +++ b/recipes-bsp/dotsplash/dotsplash_git.bb @@ -1,7 +1,7 @@ SUMMARY = "./dotsplash - a tiny and customizable splash screen" LICENSE = "GPLv2" PV = "1.0+git${SRCPV}" -SRCREV = "a2e7023dc7063145d568b9d0ec8c211daceb2dde" +SRCREV = "7179a8b40c25cfd53c5eeac462086a6386d9a1af" LIC_FILES_CHKSUM = "file://COPYING;md5=39bba7d2cf0ba1036f2a6e2be52fe3f0" @@ -13,6 +13,10 @@ SRC_URI = "git://git@gitlab.kernelconcepts.de:2224/danb/dotsplash.git;protocol=s inherit pkgconfig update-rc.d meson +DOTSPLASH_THEME ?= "kc-800" +DOTSPLASH_THEME_lamobo-r1 ?= "kc-fullhd" + +DOTSPLASH_PARAMS ?= "-s 15 --theme ${DOTSPLASH_THEME}" S = "${WORKDIR}/git" @@ -23,6 +27,7 @@ do_install_append() { install -d ${D}${sysconfdir}/init.d/ install -m 0755 ${WORKDIR}/dotsplash-init ${D}${sysconfdir}/init.d/dotsplash.sh install -d ${D}${sysconfdir}/default/ + sed -i 's/@PARAMS@/${DOTSPLASH_PARAMS}/g' ${WORKDIR}/dotsplash-default install -m 0644 ${WORKDIR}/dotsplash-default ${D}${sysconfdir}/default/dotsplash install -m 0755 ${WORKDIR}/splashfuncs ${D}${sysconfdir}/default/splashfuncs cd ${D}/${bindir} @@ -41,5 +46,4 @@ python populate_packages_prepend () { extra_depends='', allow_dirs=True, prepend=True) } -PACKAGES_DYNAMIC += "^dotsplash-theme-.*" - \ No newline at end of file +PACKAGES_DYNAMIC += "^dotsplash-theme-.*" \ No newline at end of file diff --git a/recipes-bsp/dotsplash/files/dotsplash-default b/recipes-bsp/dotsplash/files/dotsplash-default index 0e2d8fd..e62f142 100644 --- a/recipes-bsp/dotsplash/files/dotsplash-default +++ b/recipes-bsp/dotsplash/files/dotsplash-default @@ -1,2 +1,2 @@ # Parameters to pass to dotplash -PARAMS=" -a 0 --theme mucross" +PARAMS="@PARAMS@" -- 2.39.5