[oe-commits] Julien 'Ainulindale' Cassignol : etk-theme-shr: New bb recipe to handle the default SHR etk theme.

GIT User account git at amethyst.openembedded.net
Sun May 24 11:59:35 UTC 2009


Module: openembedded.git
Branch: shr/import
Commit: 6ff5560b440b0a05b0e1b626942394dc638ef3cc
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=6ff5560b440b0a05b0e1b626942394dc638ef3cc

Author: Julien 'Ainulindale' Cassignol <ainulindale at gmail.com>
Date:   Sun May 24 15:49:58 2009 +0200

etk-theme-shr: New bb recipe to handle the default SHR etk theme.
This fixes the commit issue of the default theme removal from the images directory.

---

 conf/distro/include/shr-autorev.inc |    2 ++
 recipes/shr/etk-theme-shr_git.bb    |   22 ++++++++++++++++++++++
 2 files changed, 24 insertions(+), 0 deletions(-)

diff --git a/conf/distro/include/shr-autorev.inc b/conf/distro/include/shr-autorev.inc
index e3d6288..b1346da 100644
--- a/conf/distro/include/shr-autorev.inc
+++ b/conf/distro/include/shr-autorev.inc
@@ -77,6 +77,7 @@ SRCREV_pn-e-wm-config-illume-shr = "${AUTOREV}"
 SRCREV_pn-e-wm-sysactions-shr = "${AUTOREV}"
 SRCREV_pn-e-wm-theme-illume-shr = "${AUTOREV}"
 SRCREV_pn-e-wm-menu-shr = "${AUTOREV}"
+SRCREV_pn-etk-theme-shr = "${AUTOREV}"
 
 SRCREV_pn-navit = "2198"
 SRCREV_pn-python-elementary = "39834"
@@ -94,3 +95,4 @@ PREFERRED_VERSION_calc = "0.0.1"
 #pin shr-config due to gnome bug 579803 (requires vala > 0.7.1)
 SRCREV_pn-shr-config = "9b59390d265805b68ea10136fa03fa67713f1275"
 SRCREV_pn-libeflvala = "${AUTOREV}"
+
diff --git a/recipes/shr/etk-theme-shr_git.bb b/recipes/shr/etk-theme-shr_git.bb
new file mode 100644
index 0000000..8b06197
--- /dev/null
+++ b/recipes/shr/etk-theme-shr_git.bb
@@ -0,0 +1,22 @@
+DESCRIPTION = "etk SHR theme"
+SECTION = "e/utils"
+DEPENDS = "edje"
+LICENSE = "MIT BSD"
+PV = "1.1-${EFL_SRCREV}-gitr${SRCPV}"
+
+SRC_URI = "git://git.shr-project.org/repo/shr-themes.git;protocol=http;branch=master"
+
+S = "${WORKDIR}/git/etk/${PN}"
+
+do_compile() {
+	edje_cc -id ${S}/. -fd ${S}/. ${S}/default.edc -o ${S}/default.edj
+}
+
+do_install() {
+        install -d ${D}${datadir}/etk/themes/
+        install -m 0644 ${S}/default.edj ${D}${datadir}/etk/themes/
+}
+
+FILES_${PN} = "${datadir}/etk/themes/default.edj"
+
+





More information about the Openembedded-commits mailing list