2006-12-20 16:05:28 +00:00
|
|
|
DESCRIPTION = "Custom MB session files for poky"
|
|
|
|
LICENSE = "GPL"
|
|
|
|
SECTION = "x11"
|
2007-11-16 15:53:14 +00:00
|
|
|
RDEPENDS = "formfactor gtk-sato-engine matchbox-theme-sato gtk-theme-sato matchbox-panel-2 matchbox-desktop-sato"
|
2007-07-05 13:30:44 +00:00
|
|
|
RCONFLICTS = "matchbox-common"
|
2007-11-16 15:53:14 +00:00
|
|
|
PR = "r17"
|
2006-12-20 16:05:28 +00:00
|
|
|
|
2007-07-05 13:30:44 +00:00
|
|
|
SRC_URI = "file://etc file://matchbox-session"
|
2006-12-20 16:05:28 +00:00
|
|
|
S = ${WORKDIR}
|
|
|
|
|
|
|
|
do_install() {
|
2007-07-05 13:30:44 +00:00
|
|
|
install -d ${D}/${bindir}
|
|
|
|
install -m 0755 ${S}/matchbox-session ${D}/${bindir}
|
2006-12-20 16:05:28 +00:00
|
|
|
cp -R ${S}/etc ${D}/etc
|
|
|
|
rm -fR ${D}/etc/.svn
|
|
|
|
rm -fR ${D}/etc/matchbox/.svn
|
|
|
|
chmod -R 755 ${D}/etc
|
|
|
|
}
|
|
|
|
|
2007-01-24 14:30:56 +00:00
|
|
|
pkg_postinst_matchbox-sato () {
|
2006-12-20 16:05:28 +00:00
|
|
|
#!/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/poky/interface/theme Sato
|
2007-04-10 13:41:51 +00:00
|
|
|
gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type string --set /desktop/poky/interface/icon_theme Sato
|
2007-04-10 14:02:46 +00:00
|
|
|
gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type string --set /desktop/poky/interface/font_name "Sans 9"
|
2006-12-20 16:05:28 +00:00
|
|
|
}
|