summaryrefslogtreecommitdiff
path: root/packages/openmoko-projects/etk-theme-ninja_svn.bb
blob: a4fb2f3054d681a8d9cbe3952eb94ea2c52813d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
DESCRIPTION = "Ninja - Etk theme"
HOMEPAGE = "http://ninja.projects.openmoko.org/"
SECTION = "openmoko/misc"
LICENSE = "GPL"
DEPENDS = "edje"
PV = "0.0.1+svnr${SRCREV}"
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
}