2 DEPENDS = "matchbox-wm"
7 SRC_URI += "svn://bugcamp.net/bug/trunk/;module=com.buglabs.bug.theme/matchbox/${THEME_NAME} \
10 FILES_${PN} = "${datadir}/themes/${THEME_NAME} \
11 ${sysconfdir}/matchbox/session"
13 S = ${WORKDIR}/com.buglabs.bug.theme/matchbox/${THEME_NAME}
15 REQUIRES = "matchbox-sato"
18 install -m 0755 -d ${D}${datadir}/themes/${THEME_NAME}/matchbox
19 install -m 0755 -d ${D}${datadir}/themes/${THEME_NAME}/gtk-2.0
21 install -m 0644 ${S}/index.theme ${D}${datadir}/themes/${THEME_NAME}/
22 install -m 0644 ${S}/gtk-2.0/*.png ${D}${datadir}/themes/${THEME_NAME}/gtk-2.0/
23 install -m 0644 ${S}/gtk-2.0/gtkrc ${D}${datadir}/themes/${THEME_NAME}/gtk-2.0/
24 install -m 0644 ${S}/matchbox/*.png ${D}${datadir}/themes/${THEME_NAME}/matchbox/
25 install -m 0644 ${S}/matchbox/theme.xml ${D}${datadir}/themes/${THEME_NAME}/matchbox/
26 install -m 0755 -d ${D}${sysconfdir}/matchbox
27 install -m 0744 ${WORKDIR}/session ${D}${sysconfdir}/matchbox/session
30 pkg_postinst_${PN} () {
31 if [ "x$D" != "x" ]; then
35 . ${sysconfdir}/init.d/functions
37 gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type string --set /desktop/poky/interface/theme ${THEME_NAME}
38 gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type string --set /desktop/poky/interface/icon_theme Bug
39 gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type bool --set /desktop/poky/interface/touchscreen true
40 gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type string --set /desktop/poky/interface/font_name "Sans 9"