bb file for ninja

Jeremy jeremy at openmoko.com
Mon May 5 10:27:54 CEST 2008


Hi, Julian:
I resend you the bb file as attached file.
I modified it not to overwrite the theme file that etk-theme installs or 
under $HOME.
If we want to use another etk theme like ninja, we can copy it to where 
we want as we need.
This will not make conflict caused by package installing.

Thanks.
Jeremy

Koen Kooi wrote:
>
> Op 4 mei 2008, om 11:02 heeft Jeremy het volgende geschreven:
> > Hi, Julian:
> > Attached is the bb file for ninja, etk-theme-ninja_svn.bb
> > ninja is an ETK theme project that can be used for union the theme 
> of all Etk applications on a device.
> > etk-theme-ninja_svn.bb can be put at 
> openembedded/packages/openmoko-projects/ on OE branch org.openmoko.dev
>
> > You may improve the bb file if there is need.
> > If there is any problem, please feel free to let me know.
>
>
> > pkg_postinst_etk-theme-ninja () {
> > #!/bin/sh
> > if test "x$D" != "x"; then
> > exit 1
> > else
> > mkdir -p ~root/.e/etk/themes
> > cp ${datadir}/ninja/default.edj ~root/.e/etk/themes/default.edj
>
> A package never ever touches $HOME. Never.

-------------- next part --------------
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"

FILES_${PN} += "${datadir}/ninja/default.edj"



More information about the openmoko-devel mailing list