diff options
author | julian_chu@openmoko.com <julian_chu@openmoko.com> | 2008-05-11 23:32:35 +0000 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2008-10-26 15:52:09 +0100 |
commit | b96446842517a57cc204dc3958fe56b545a1f492 (patch) | |
tree | 48be7ce501ddd1df369de828d35f10b11bef843a /packages/openmoko-projects/etk-theme-ninja_svn.bb | |
parent | 4c0ee5b029940a12c923809ec1e7d05735364e94 (diff) |
Add Ninja Theme as default
Diffstat (limited to 'packages/openmoko-projects/etk-theme-ninja_svn.bb')
-rw-r--r-- | packages/openmoko-projects/etk-theme-ninja_svn.bb | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/packages/openmoko-projects/etk-theme-ninja_svn.bb b/packages/openmoko-projects/etk-theme-ninja_svn.bb new file mode 100644 index 0000000000..3dfe562cfa --- /dev/null +++ b/packages/openmoko-projects/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" +PV = "0.0.1+svnr${SRCREV}" + +SRC_URI = "svn://svn.projects.openmoko.org/svnroot/ninja;module=trunk;proto=https" + +SRCREV = "${AUTOREV}" +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 +} |