aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/freesmartphone/aurora_git.bb
blob: a120835385d9728e62608c236448ba684fdee015 (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
DESCRIPTION = "Aurora is the new phone UI for the FreeSmartphone framework. It is \
clean and simple and is build on top of the powerful Declarative component of the Qt framework."
AUTHOR = "Simon Busch <morphis@gravedo.de>"
HOMEPAGE = "http://www.freesmartphone.org"
SECTION = "fso"
LICENSE = "GPLv2"
SRCREV = "fcd4e097beca8fcedeb4acbf68fd2078b7901f77"
PV = "0.1.0+gitr${SRCPV}"
PR = "r5"

SRC_URI = "\
  ${FREESMARTPHONE_GIT}/aurora.git;protocol=git;branch=master \
  file://aurora-daemon \
"
S = "${WORKDIR}/git/aurora"

DEPENDS = "shiboken-native libshiboken python"

RDEPENDS_${PN} = "\
  python-logging \
  python-textutils \
  python-dbus \
  python-pyside-embedded \
  python-pygobject \
  python-phoneutils \
"

inherit autotools python-dir update-rc.d

EXTRA_OECONF_append = "--enable-qws-support"

INITSCRIPT_NAME = "aurora-daemon"
INITSCRIPT_PARAMS = "defaults 90"

do_install_append() {
  install -d ${D}${sysconfdir}/init.d/
  install -m 0755 ${WORKDIR}/${INITSCRIPT_NAME} ${D}${sysconfdir}/init.d/
}

PACKAGES = "${PN}-dbg ${PN}"
FILES_${PN}-dbg += "${libdir}/qt4/imports/Aurora/*/.debug"
FILES_${PN} += " \
  ${PYTHON_SITEPACKAGES_DIR}/aurora \
  ${libdir}/qt4/imports/Aurora \
"