aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/freesmartphone/aurora_git.bb
blob: 083ac00d1a4b00554f7fe6cde08d3485eb6fbaba (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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
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 = "a659aabe331ec2cf94753da9789b7a5b933bcafa"
PV = "0.1.0+gitr${SRCPV}"
PR = "r7"

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

DEPENDS = " \
  python \
  libfsobasics \
  libfso-glib \
  qt4-embedded \
"

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

inherit autotools python-dir update-rc.d vala

QT_DIR_NAME = "qtopia"
EXTRA_OECONF_append = "--enable-qws-support --with-qt-basedir=${QT_DIR_NAME}"

INITSCRIPT_PACKAGES = "${PN} ${PN}-systemmanager"

INITSCRIPT_NAME_${PN} = "aurora-daemon"
INITSCRIPT_PARAMS_${PN} = "defaults 90"

INITSCRIPT_NAME_${PN}-systemmanager = "aurora-systemmanager"
INITSCRIPT_PARAMS_${PN}-systemmanager = "defaults 85"

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

PACKAGES = "${PN}-dbg ${PN}"

FILES_${PN}-dbg += "${libdir}/${QT_DIR_NAME}/imports/Aurora/*/.debug"

FILES_${PN} += " \
  ${PYTHON_SITEPACKAGES_DIR}/aurora \
  ${libdir}/${QT_DIR_NAME}/imports/Aurora \
"