From b96446842517a57cc204dc3958fe56b545a1f492 Mon Sep 17 00:00:00 2001 From: "julian_chu@openmoko.com" Date: Sun, 11 May 2008 23:32:35 +0000 Subject: Add Ninja Theme as default --- packages/openmoko-projects/etk-theme-ninja_svn.bb | 28 +++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 packages/openmoko-projects/etk-theme-ninja_svn.bb (limited to 'packages') 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 +} -- cgit v1.2.3