aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/obsolete/etk-theme-ninja_svn.bb
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2010-08-19 10:57:17 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2010-08-19 11:02:54 +0200
commitf52e3db148600cb61791c53e35b1828e6fd1d44a (patch)
treee60a97d846266ae5759cffd25da0aea9c02a8497 /recipes/obsolete/etk-theme-ninja_svn.bb
parenta34dcc7ba69d0dc3e35e7568c40fb02720969697 (diff)
downloadopenembedded-f52e3db148600cb61791c53e35b1828e6fd1d44a.tar.gz
openembedded-f52e3db148600cb61791c53e35b1828e6fd1d44a.tar.bz2
openembedded-f52e3db148600cb61791c53e35b1828e6fd1d44a.zip
etk-theme-ninja: move to obsolete
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes/obsolete/etk-theme-ninja_svn.bb')
-rw-r--r--recipes/obsolete/etk-theme-ninja_svn.bb28
1 files changed, 28 insertions, 0 deletions
diff --git a/recipes/obsolete/etk-theme-ninja_svn.bb b/recipes/obsolete/etk-theme-ninja_svn.bb
new file mode 100644
index 0000000000..24c2ddf42f
--- /dev/null
+++ b/recipes/obsolete/etk-theme-ninja_svn.bb
@@ -0,0 +1,28 @@
+DESCRIPTION = "Ninja - Etk theme"
+HOMEPAGE = "http://ninja.projects.openmoko.org/"
+SECTION = "openmoko/misc"
+LICENSE = "GPL"
+DEPENDS = "edje"
+SRCREV = "5"
+PV = "0.0.1+svnr${SRCPV}"
+PR = "r1"
+SRC_URI = "svn://svn.projects.openmoko.org/svnroot/ninja;module=trunk;proto=http"
+
+S = "${WORKDIR}/trunk"
+
+inherit autotools pkgconfig
+
+EXTRA_OECONF = "--with-edje-cc=${STAGING_BINDIR_NATIVE}/edje_cc"
+
+PACKAGE_ARCH = "all"
+# All of this package is just data, doesn't need dev,dbg package
+PACKAGES = "${PN}"
+
+FILES_${PN} += "${datadir}/ninja/default.edj"
+
+pkg_postinst_${PN} () {
+ update-alternatives --install ${datadir}/etk/themes/default.edj etk-default.edj ${datadir}/ninja/default.edj 50
+}
+pkg_postrm_${PN} () {
+ update-alternatives --remove etk-default.edj ${datadir}/ninja/default.edj
+}