diff options
Diffstat (limited to 'packages/openmoko-base/openmoko-session_svn.bb')
-rw-r--r-- | packages/openmoko-base/openmoko-session_svn.bb | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/packages/openmoko-base/openmoko-session_svn.bb b/packages/openmoko-base/openmoko-session_svn.bb new file mode 100644 index 0000000000..6cf588d9dc --- /dev/null +++ b/packages/openmoko-base/openmoko-session_svn.bb @@ -0,0 +1,29 @@ +DESCRIPTION = "Matchbox session files for OpenMoko" +SECTION = "openmoko/base" +RDEPENDS = "matchbox matchbox-applet-startup-monitor gtk-theme-clearlooks" +PV = "0.0+svn${SRCDATE}" +PR = "r1" + +inherit openmoko-base + +SRC_URI = "${OPENMOKO_MIRROR}/src/target/${OPENMOKO_RELEASE};module=etc;proto=https \ + file://session" +S = "${WORKDIR}" + +do_install() { + cp -R ${S}/etc ${D}/etc + rm -fR ${D}/etc/.svn + rm -fR ${D}/etc/matchbox/.svn + chmod -R 755 ${D}/etc + # DEMO only! + install -m 0755 ${WORKDIR}/session ${D}/etc/matchbox/session +} + +pkg_postinst_openmoko-session () { +#!/bin/sh -e +if [ "x$D" != "x" ]; then + exit 1 +fi + +gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type string --set /desktop/openmoko/interface/theme Clearlooks +} |