From 7f934c85b0bc4b9bf9760b369b9874584c3519fb Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Fri, 30 Apr 2010 09:57:43 +0200 Subject: shr-settings: add elementary.sh Signed-off-by: Martin Jansa --- recipes/shr/shr-settings/elementary.sh | 4 ++++ recipes/shr/shr-settings_git.bb | 12 ++++++++++-- 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 recipes/shr/shr-settings/elementary.sh diff --git a/recipes/shr/shr-settings/elementary.sh b/recipes/shr/shr-settings/elementary.sh new file mode 100644 index 0000000000..e215cbdfea --- /dev/null +++ b/recipes/shr/shr-settings/elementary.sh @@ -0,0 +1,4 @@ +export ELM_ENGINE=x11 +export ELM_THEME=gry +export ELM_SCALE=2 +export ELM_FINGER_SIZE=70 diff --git a/recipes/shr/shr-settings_git.bb b/recipes/shr/shr-settings_git.bb index 2da6b75631..ebf78a61c1 100644 --- a/recipes/shr/shr-settings_git.bb +++ b/recipes/shr/shr-settings_git.bb @@ -7,7 +7,7 @@ SECTION = "x11/application" SRCREV = "dec4e519308b87b4acf23c605d7f2a75b75e7ba6" PE = "1" PV = "0.1.1+gitr${SRCPV}" -PR = "r9" +PR = "r10" inherit setuptools @@ -21,15 +21,23 @@ RRECOMMENDS_${PN} = "\ ${PN}-backup-configuration \ " +do_install_append() { + install -d ${D}/${sysconfdir}/profile.d/ + install -m 0755 "${WORKDIR}/elementary.sh" "${D}/${sysconfdir}/profile.d/elementary.sh" +} + PACKAGE_ARCH_${PN}-addons-illume = "all" PACKAGE_ARCH_${PN}-backup-configuration = "all" -SRC_URI = "git://git.shr-project.org/repo/shr-settings.git;protocol=http;branch=master" +SRC_URI = "git://git.shr-project.org/repo/shr-settings.git;protocol=http;branch=master \ + file://elementary.sh" S = "${WORKDIR}/git" +FILES_${PN} += "${sysconfdir}/profile.d/elementary.sh" FILES_${PN} += "${prefix}/share/pixmaps" FILES_${PN} += "${prefix}/share/applications" FILES_${PN}-addons-illume = "${prefix}/share/applications/shr-settings-addons-illume" FILES_${PN}-backup-configuration = "${sysconfdir}/shr-settings/" +CONFFILES_${PN} = "${sysconfdir}/profile.d/elementary.sh" CONFFILES_${PN}-backup-configuration = "\ ${sysconfdir}/shr-settings/backup.conf \ ${sysconfdir}/shr-settings/backup.blacklist \ -- cgit v1.2.3