[oe-commits] Thomas Zimmermann : midori: add shr config for midori

git version control git at git.openembedded.org
Fri Nov 20 12:47:19 UTC 2009


Module: openembedded.git
Branch: martin_jansa/srcpv
Commit: 1f373d7669b5f8be062be7207a25d81759838f85
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=1f373d7669b5f8be062be7207a25d81759838f85

Author: Thomas Zimmermann <ml at vdm-design.de>
Date:   Thu Nov 19 19:04:20 2009 +0000

midori: add shr config for midori

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 recipes/gtk-webcore/midori_0.2.1.bb |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/recipes/gtk-webcore/midori_0.2.1.bb b/recipes/gtk-webcore/midori_0.2.1.bb
index 7439a85..3eaf0f0 100644
--- a/recipes/gtk-webcore/midori_0.2.1.bb
+++ b/recipes/gtk-webcore/midori_0.2.1.bb
@@ -5,6 +5,10 @@ DEPENDS += "python-native python-docutils-native"
 SRC_URI = "http://archive.xfce.org/src/apps/midori/0.2/midori-${PV}.tar.bz2 \
            file://waf"
 
+SRC_URI_append_shr = " file://config "
+
+PR = "r1"
+
 do_configure() {
 	cp -f ${WORKDIR}/waf ${S}/
 	sed -i -e 's:, shell=False::g' wscript 
@@ -27,5 +31,8 @@ do_configure() {
 	echo "LINK_CC = '${CXX}'" >>  ./_build_/c4che/default.cache.py
 }
 
-
+do_install_append_shr() {
+	install -d ${D}${sysconfdir}/xdg/midori
+	install -m 0644 ${WORKDIR}/config ${D}${sysconfdir}/xdg/midori
+}
 





More information about the Openembedded-commits mailing list