exquisite-theme-angstrom: add angstrom theme as a quick hack
authorKoen Kooi <koen@openembedded.org>
Thu, 16 Apr 2009 10:04:22 +0000 (12:04 +0200)
committerKoen Kooi <koen@openembedded.org>
Thu, 16 Apr 2009 10:04:22 +0000 (12:04 +0200)
recipes/angstrom/exquisite-theme-angstrom.bb [new file with mode: 0644]
recipes/angstrom/exquisite-theme-angstrom/exq-logo.png [new file with mode: 0644]
recipes/angstrom/exquisite-theme-angstrom/exq-logoglow.png [new file with mode: 0644]

diff --git a/recipes/angstrom/exquisite-theme-angstrom.bb b/recipes/angstrom/exquisite-theme-angstrom.bb
new file mode 100644 (file)
index 0000000..9716214
--- /dev/null
@@ -0,0 +1,41 @@
+DDESCRIPTION = "Angstrom theme for exquisite"
+HOMEPAGE = "http://www.enlightenment.org"
+LICENSE = "MIT/BSD"
+SECTION = "x11"
+
+DEPENDS = "edje-native"
+RRECOMMENDS_${PN} = "exquisite"
+
+SRCREV = "${EFL_SRCREV}"
+PV = "1.0+svnr${SRCREV}"
+PR = "r1"
+
+inherit update-alternatives
+
+ALTERNATIVE_NAME = "exquisite-config"
+ALTERNATIVE_LINK = "${sysconfdir}/exquisite/config"
+ALTERNATIVE_PATH = "${sysconfdir}/exquisite/config-angstrom"
+ALTERNATIVE_PRIORITY = "20"
+
+SRC_URI = "svn://svn.enlightenment.org/svn/e/trunk;module=THEMES/b_and_w;proto=http \
+           file://exq-logo.png \
+           file://exq-logoglow.png \
+"
+
+S = "${WORKDIR}/THEMES/b_and_w"
+
+do_compile() {
+   cp ${WORKDIR}/*png ${S}/
+   edje_cc exquisite.edc angstrom.edj
+}
+
+do_install() {
+    install -d ${D}${sysconfdir}/exquisite
+    install -d ${D}${datadir}/exquisite/data/themes
+    install -m 0644 ${S}/angstrom.edj ${D}${datadir}/exquisite/data/themes/
+    echo 'THEME="-t angstrom"' > ${D}${sysconfdir}/exquisite/config-angstrom
+}
+
+PACKAGE_ARCH = "all"
+CONFFILES_${PN} = "${sysconfdir}/exquisite/config-angstrom"
+FILES_${PN} = "${sysconfdir}/exquisite ${datadir}/exquisite/data/themes"
diff --git a/recipes/angstrom/exquisite-theme-angstrom/exq-logo.png b/recipes/angstrom/exquisite-theme-angstrom/exq-logo.png
new file mode 100644 (file)
index 0000000..2d79a1c
Binary files /dev/null and b/recipes/angstrom/exquisite-theme-angstrom/exq-logo.png differ
diff --git a/recipes/angstrom/exquisite-theme-angstrom/exq-logoglow.png b/recipes/angstrom/exquisite-theme-angstrom/exq-logoglow.png
new file mode 100644 (file)
index 0000000..d4edf84
Binary files /dev/null and b/recipes/angstrom/exquisite-theme-angstrom/exq-logoglow.png differ