Module: meta-angstrom
Branch: master
Commit: a67abc89af751e2141cddfaf60d1af682148e2c1

Author: Koen Kooi <k...@dominion.thruhere.net>
Date:   Tue Jul 26 07:26:22 2011 +0200

angstrom-clearlooks-theme-enable: recipe for globally enable clearlooks

Signed-off-by: Koen Kooi <k...@dominion.thruhere.net>

---

 .../angstrom/angstrom-clearlooks-theme-enable.bb   |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/recipes-angstrom/angstrom/angstrom-clearlooks-theme-enable.bb 
b/recipes-angstrom/angstrom/angstrom-clearlooks-theme-enable.bb
new file mode 100644
index 0000000..422f647
--- /dev/null
+++ b/recipes-angstrom/angstrom/angstrom-clearlooks-theme-enable.bb
@@ -0,0 +1,18 @@
+DESCRIPTION = "Enable clearlooks theme in gtkrc"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = 
"file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
+
+inherit allarch
+
+RDEPENDS_${PN} = "gtk-theme-clearlooks"
+
+ALLOW_EMPTY_${PN} = "1"
+
+pkg_postinst() {
+#!/bin/sh
+mkdir -p $D${sysconfdir}/gtk-2.0
+touch $D${sysconfdir}/gtk-2.0/gtkrc
+sed -i /gtk-theme-name/d $D${sysconfdir}/gtk-2.0/gtkrc
+echo 'gtk-theme-name = "Clearlooks"' >> $D${sysconfdir}/gtk-2.0/gtkrc
+}
+


_______________________________________________
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel

Reply via email to